@angular/compiler-cli package was not properly installed; cannot find module @angular/compiler

Repro steps.
ng serve

The log given by the failure.

\The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler'
Error: The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler'
    at Object.<anonymous> (C:\Users\praha\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\index.js:14:11)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\praha\AppData\Roaming\npm\node_modules\@angular\cli\tasks\eject.js:10:19)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)

Desired functionality.
Start server
Mention any other details that might be useful.

tried uninstalling angular package and reinstalling it
running node version 6.11
it says typescript is required, but doesn't install it
on meeting dependencies separately also, it doesn't download @angular/compiler

Fixed by https://github.com/angular/angular-cli/pull/7033.
We had a bug where ng new didn't wait for the packages to install. Newer versions don't suffer from this. Removing node_modules and running npm install should clear it.

@moezkorkmaz you're experiencing something different. This issue was about @angular/compiler-cli not being in installed, but yours is about @angular/cli not being in the dependencies. Please open a new issue for yours.

Had this same issue. Deleted /node_modules and re-ran npm install with no success.
Any other ideas?

"dependencies": {
    "@angular/animations": "^4.3.2",
    "@angular/cdk": "^2.0.0-beta.8",
    "@angular/common": "4.3.2",
    "@angular/compiler": "4.3.2",
    "@angular/core": "4.3.2",
    "@angular/forms": "4.3.2",
    "@angular/http": "^4.3.2",
    "@angular/material": "^2.0.0-beta.8",
    "@angular/platform-browser": "4.3.2",
    "@angular/platform-browser-dynamic": "4.3.2",
    "@angular/router": "4.3.2",
    "core-js": "^2.4.1",
    "hammerjs": "^2.0.8",
    "rxjs": "^5.1.0",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "@angular/cli": "1.2.1",
    "@angular/compiler-cli": "4.3.2",
    "@angular/language-service": "^4.0.0",
    "@types/jasmine": "~2.5.53",
    "@types/jasminewd2": "~2.0.2",
    "@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.3.3"
  }

Node Version: 8.1.2
CLI version: 1.2.1
NPM Version: 5.0.3

My exp in case:
I have installed the proper version of Ang cli.
package.json   ->"devDependencies": {  "@angular/cli": "1.2.6",
And still I had the same error.
However probably because I use λcmder.exe on Windows platform , a RESTART was needed.
After this everything work properly with no other action required.

I have a similar issue I believe when I run ng build I get this error:
The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli' Error: The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli'     at Object.<anonymous> (/Users/jmurphy/Documents/workspace/fp/node_modules/@ngtools/webpack/src/index.js:14:11)     at Module._compile (module.js:569:30)     at Object.Module._extensions..js (module.js:580:10)     at Module.load (module.js:503:32)     at tryModuleLoad (module.js:466:12)     at Function.Module._load (module.js:458:3)     at Module.require (module.js:513:17)     at require (internal/module.js:11:18)     at Object.<anonymous> (/Users/jmurphy/Documents/workspace/fp/node_modules/@angular/cli/tasks/eject.js:10:19)     at Module._compile (module.js:569:30)     at Object.Module._extensions..js (module.js:580:10)     at Module.load (module.js:503:32)     at tryModuleLoad (module.js:466:12)     at Function.Module._load (module.js:458:3)     at Module.require (module.js:513:17)     at require (internal/module.js:11:18)
I tried deleting node_modules and reinstalling without any luck

I just changed to "@angular/compiler-cli": "^4.3.2" from "@angular/compiler-cli": "^4.0.0" in devDependencies in package.json file.
It worked for me

Yeah I am getting the same error.
@angular/compiler-cli is updated locally and globally and I tried with a new app.
And removed the node modules file.

I was also facing the same problem,
But after restarting my system it all working fine.

restarting means ? so you are saying ng serve command is working fine???

sneh pandya

I confirm, restart worked well for me as well

Restarting the system also works for fine.

When i run npm install in my new project to get dependencies there are no errors. Packages are added successfully. But when i run ng serve i am getting below error:

F:\my-apps\material-dashboard-angular>ng serve
The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli'
Error: The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module '@angular/compiler-cli'
at Object. (F:\my-apps\material-dashboard-angular\node_modules@ngtools\webpack\src\index.js:14:11)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)
at Object. (F:\my-apps\material-dashboard-angular\node_modules@angular\cli\tasks\eject.js:10:19)
at Module._compile (module.js:573:30)
at Object.Module._extensions..js (module.js:584:10)
at Module.load (module.js:507:32)
at tryModuleLoad (module.js:470:12)
at Function.Module._load (module.js:462:3)
at Module.require (module.js:517:17)
at require (internal/module.js:11:18)

I have done the same on my own laptop & it worked fine there. But when i am doing the same steps on my companies system i am getting this error. I am using net setter to avoid proxy error. I have tried this with both System administrator login & my own login. I have also changed Environment Variable setting to set PATH value to nodejs folder; npm folder.
Can anyone help me out with this. I am stuck in this since a week & have gone through a lot of blogs but of no help. Any help s deeply appreciated. Thanks in advance.

I think you ran ng build command that is why its showing this error, delete dist folder and try run ng serve

That is because when uploading the project to github does not upload with the folder "node_modules"(177,1 MB) -> Can not find module '@ angular / compiler-cli'. When you clone it does not bring you this folder and gives that error. The solution is to generate a new project and take this folder or take it from another project that we have.

I managed to get mine fixed by first running the npm install "whatever-it-says-i-am-missing" and then i ran npm update and i got a new hint from cli to change my environment configurations.

But I think first one needs to delete the node_modules directory, run npm install then do the above step.

first : npm install -g @angular/cli
2     : ng new "your project name"
3    : ng serve : erro >>> do not wrray
4    : npm install @angular/compiler-cli
5    : npm install typescript
6    : npm install @angular/cli
it is work !!

I get the same error. I did the following steps but nothing worked:-

all above steps
reinstall nodejs
install angular cli

Error

ERROR in Error: Could not resolve "/home/dahdoul/" from "/home/dahdoul/".
at _resolveModule (/home/dahdoul/#Projects/myapp/node_modules/@angular/compiler-cli/src/ngtools_impl.js:79:15)
at Object.listLazyRoutesOfModule (/home/dahdoul/#Projects/myapp/node_modules/@angular/compiler-cli/src/ngtools_impl.js:47:26)
at Function.NgTools_InternalApi_NG_2.listLazyRoutes (/home/dahdoul/#Projects/myapp/node_modules/@angular/compiler-cli/src/ngtools_api.js:91:39)
at AotPlugin._getLazyRoutesFromNgtools (/home/dahdoul/#Projects/myapp/node_modules/@ngtools/webpack/src/plugin.js:207:44)
at _donePromise.Promise.resolve.then.then.then.then.then (/home/dahdoul/#Projects/myapp/node_modules/@ngtools/webpack/src/plugin.js:443:24)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

Angular cli version

@angular/cli: 1.4.1
node: 8.4.0
os: linux x64
@angular/animations: 4.3.6
@angular/common: 4.3.6
@angular/compiler: 4.3.6
@angular/core: 4.3.6
@angular/forms: 4.3.6
@angular/http: 4.3.6
@angular/platform-browser: 4.3.6
@angular/platform-browser-dynamic: 4.3.6
@angular/router: 4.3.6
@angular/cli: 1.4.1
@angular/compiler-cli: 4.3.6
@angular/language-service: 4.3.6
typescript: 2.3.4

I had a similar issue: when I ran ng-serve I got the same error that informed me that angular cli is not properly installed. My issue was that the project's devDependencies weren't installing. I had the global NODE_ENV variable set to production from a different project, which forces npm to ignore devDependencies when installing.
After changing that variable's value and running npm i, everything is working as expected.
Hope this helps anyone else!

I had also similar issue, I have followed the steps
First,  npm install -g @angular/cli
create new project with ng new hero-app
After the go inside the project folder and run server ng serve
and open browser and run http://localhost:4200
This is work for me.. Hope same thing work for you as well

Hi All,
I am getting below "error message" in "eclipse terminal" when i type "ng help"
The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module 'rxjs/symbol/observable'
Can any one suggest me what to do now , how to overcome this issue.
I am using below data
1.Node -- v6.11.3
2.i am installed anuglar cli using "npm install -g angular-cli" command
3.i created "angular project" in "eclipse" and now i entered "ng help" command in "eclipse terminal" it is displaying
The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module 'rxjs/symbol/observable'
Error: The "@angular/compiler-cli" package was not properly installed. Error: Error: Cannot find module 'rxjs/symbol/observable'
at Object. (C:\Users\agudla\AppData\Roaming\npm\node_modules\angular-cli\node_modules@ngtools\webpack\src\index.js:14:11)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\agudla\AppData\Roaming\npm\node_modules\angular-cli\models\webpack-configs\typescript.js:3:17)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (C:\Users\agudla\AppDa

I came across the same error.When I checked my code there is some error with my .angular-cli.json code.The error is I forgot to close the braces.

I was getting the same error and was able to solve it by reinstalling angular-cli locally.
npm i @angular/cli

To resolve the issue, you need to navigate to the correct folder.
eg: cd   sampleapplication

The biggest mistake which people do, is that they are not in the project folder , ng serve in that case fails, because it fails to find angular project. So make sure you are in right folder

Thanks for your replies.
ng help is working for me now ,
i move to the correct project folder and run the command

If this problem occurs in an Angular 4.4+ environment, it can help if you reinstall @angular/compiler npm install --save-dev @angular/compiler
My environment that works:
@angular/cli: 1.4.9
node: 8.1.4
os: darwin x64
@angular/common: 4.4.6
@angular/core: 4.4.6
@angular/forms: 4.4.6
@angular/http: 4.4.6
@angular/platform-browser: 4.4.6
@angular/platform-browser-dynamic: 4.4.6
@angular/router: 4.4.6
@angular/cli: 1.4.9
@angular/compiler: 4.4.6
@angular/compiler-cli: 4.4.6
typescript: 2.3.4

Restarting did solve my issue

first : npm install -g @angular/cli
2 : ng new "your project name"
3 : ng serve : erro >>> do not wrray
4 : npm install @angular/compiler-cli
5 : npm install typescript
6 : npm install @angular/cli
did all the steps above as suggested by @omanigaming
npm install was not installing all the packages so ran 'npm install --force' and it worked.
Thanks :)

for me I installed 'angular2-highcharts' and my project was getting the same issue.  I uninstalled and it worked again. So maybe check your last npm install before it stopped working

Hi i am also getting this error
this is my package.json file
{
"name": "@coreui/angular",
"version": "1.0.0",
"description": "",
"author": "",
"url": "http://coreui.io",
"copyright": "Copyright 2017 creativeLabs Łukasz Holeczek",
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
},
"private": true,
"dependencies": {
"@angular-devkit/schematics": "0.0.40",
"@angular/animations": "^4.4.5",
"@angular/common": "4.4.3",
"@angular/compiler": "4.4.3",
"@angular/core": "4.4.3",
"@angular/forms": "4.4.3",
"@angular/http": "4.4.3",
"@angular/platform-browser": "4.4.3",
"@angular/platform-browser-dynamic": "4.4.3",
"@angular/router": "4.4.3",
"@angular/upgrade": "4.4.3",
"angular2-datatable": "^0.6.0",
"angular2-serverpagination-datatable": "^1.5.4",
"angular2-toaster": "^4.0.1",
"chart.js": "2.7.0",
"core-js": "2.5.1",
"font-awesome": "^4.7.0",
"moment": "2.18.1",
"ng2-charts": "1.6.0",
"ng2-validation": "^4.2.0",
"ngx-bootstrap": "1.9.3",
"rxjs": "5.4.3",
"simple-line-icons": "^2.4.1",
"toastr-ng2": "^4.1.1",
"ts-helpers": "1.1.2",
"zone.js": "0.8.17"
},
"devDependencies": {
"@angular/cli": "^1.6.0",
"@angular/compiler-cli": "4.4.3",
"@types/jasmine": "2.6.0",
"@types/node": "8.0.28",
"codelyzer": "3.2.0",
"jasmine-core": "2.8.0",
"jasmine-spec-reporter": "4.2.1",
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-cli": "1.0.1",
"karma-coverage-istanbul-reporter": "1.3.0",
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"protractor": "5.1.2",
"ts-node": "3.3.0",
"tslint": "5.7.0",
"typescript": "^2.6.2"
},
"engines": {
"node": ">= 6.9.0",
"npm": ">= 3.0.0"
}
}

If you're still facing this issue, do the following (inside the project folder):

Delete your node_modules dir
Delete your package.json
Run npm install
Run npm link
Done

Hope it helps

Hi there. I follow asfo steps and that work for me. Now I am going to build great ng app. :)

This is why 3 years ago I migrated mostly to react... (Happened to me today)

same error, help please

try this

npm uninstall angular-cli
npm install @angular/cli --save-dev

If you're still facing this issue, do the following (inside the project folder):
* Delete your `node_modules` dir

* Delete your `package-lock.json`

* Run `npm install`

* Run `npm link`

* Done

Hope it helps

Thank you npm link is the key to solve this issue.

I too spent many hours trying to resolve the issue of "npm start" not working. One of the many errors I received was (Data path ".builders['app-shell']" should have required property 'class'). The toughest error I encountered was the one regarding ELIFECYCLE and described here (https://github.com/facebook/create-react-app/issues/5980).
After many failed tries of others' suggestions, the instructions from this link (https://update.angular.io/#7.0:8.0) ended up finally solving my problem.


Options to fade between skeleton and actual content

Hello!
Thanks so much for a great looking library! I was wondering if it were possible to add options around transitioning between the skeletonized content and the actual once it was made available, such as a crossfade between the two.
Thanks for your time!

Hello :)
In the readme there is the following example maybe this helps:
Animating the transition between skeleton and content (Slivers are not supported)

you can animate the transition between skeleton and content by setting enableSwitchAnimation to true, animation can be customized by providing a SwitchAnimationConfig.

SwitchAnimationConfig({
    this.duration = const Duration(milliseconds: 300),
    this.switchInCurve = Curves.linear,
    this.switchOutCurve = Curves.linear,
    this.transitionBuilder = AnimatedSwitcher.defaultTransitionBuilder,
    this.reverseDuration,
});

Ah great, thank you so much!


How to get  intermediate output not only the last features

#coding:utf8
import torch
from efficientnet_pytorch import EfficientNet
import torch.nn as nn
class myModel():
def init(self):
base_model = EfficientNet.from_pretrained(model_name="efficientnet-b5", weights_path="efficientnet-b5-b6417697.pth")
#self.model = nn.Sequential(*list(base_model.children())[:2], *list(base_model.children())[2][:38])
self.model = nn.Sequential(*list(base_model.children())[:6])
self.model.eval()
#print(self.model)
def forword(self, x):
	x = self.model.forward(x)
	print(x.shape)

if name=="main":
model = myModel()
x = torch.randn(1,3,32,32)
model.forword(x)
I get the error: TypeError: forward() takes 1 positional argument but 2 were given
when I set the self.model = nn.Sequential(*list(base_model.children())[:2], *list(base_model.children())[2][:38])
It works !
Why and how to fix it...
Thank you very much ...

If you need to prune just the last layers to use it as features extractor this seems a duplicate of this issue.
If you need a more customised model look at:

This SO answer of mine for a short case explanation
This  (basically explains how you can override some layers with identity and so how to "delete" some layers)
This if you want to extend the model

Use EfficientNet.extract_endpoints(). It returns the intermediate values of the neural network before each reduction in image size (224 × 224 → 112 × 112, etc.).


widget should work more like select when drop-down is closed and user types a letter

Steps to reproduce the issue

Tab into field.
Type a letter where a value begins with that letter

Expected behavior and actual behavior
When I follow those steps, I see...
Nothing happens.
I was expecting...
Value should change to the next choice matching first letter.  I'm happy to do full search when the drop down is open, but when closed, it should be able to move to next value matching the letter.  Also down-arrow and up-arrow keys should move between values even when drop down is closed.
Environment
Browsers

[X] Google Chrome
[ ] Mozilla Firefox
[ ] Internet Explorer

Operating System

[X] Windows
[ ] Mac OS X
[ ] Linux
[ ] Mobile

Libraries

jQuery version: 2.0.2
Select2 version: 4.0.3

Isolating the problem

[ ] This bug happens on the examples page
[ ] The bug happens consistently across all tested browsers
[ ] This bug happens when using Select2 without other pluigns
[ ] I can reproduce this bug in a jsbin

I think this is a nice feature!
Not sure if this should be default behavior or an option, but I have made some changes to support it. See https://github.com/gertjanketelaars/select2/commits/patch4586_open_on_key.
Is this the right approach? If so I can make a pull-request.
This issue seems a duplicate of #4514.

+1

Looks like this (sort of) functionality was lost between V3 and V4
I've put together 2 fiddles to show the differences when tabbing into a select and then typing.
V3 behaves far more like a native select than V4 does
V3.5 Stable
Select2 latest version

actually, this still worked in v4.0.2

Does not work for me with v4.0.3, tested on Chrome, Firefox, Safari. One needs to hit enter or spacebar to open the select2 dropdown and start typing/searching.

Seeing the same thing - any chance of an update given that this looked like a regression in 4.0.3?

I'm not sure, but I think #5130 might address this issue.


RGB difference

Hello,  @yjxiong @wanglimin
I noticed that you have experiment with adding stacked RGB difference as a input modality.
Can you tell me how to stacked RGB difference?
For new_length, modality, scale_ratios, what should I set?
Best regards

I have got RGB difference between consecutive frames.
I training it with pre-train model, but accuracy is small than your accuracy (new_length = 1, modality = RGB, scale_ratios = 1,.875,.75,.66).
And I training this model from scratch with new_length 10 (stacked 10 difference frames), the accuracy is worse(new_length = 10, modality = RGB, scale_ratios = 1,.875,.75,.66).
Whether new_length is not good or something wrong has happened?
When you stacked multi-frame as a input modality, how did you solve this matter without pre-train model? Just from scratch?
Best Regards

How can I extract the RGB difference？

@2502572025 Can you tell me how to stacked RGB difference between consecutive frames?

For RGB diff you can refer to TSN-Pytorch.


pass document instead of editor to getVariables()

VS Code can save documents that are not the active editor (i.e. mass search/replace). Since the active editor was being used to determine the file info for replacements on save, files were getting updated with the wrong file info. This fixes the problem by passing the document object instead of the editor object to the getVariables() function. This way, the variable values are derived from the document being saved instead of the active editor.
Fixes #21

Thanks David for doing this.
I have released your other PR for Y2Y spaces in v1.18.0 now on the marketplace, but this one will require more review and testing over the next couple of days.
Regards
David

Thanks for your work on this @dlech. It is now live on the VS marketplace as v1.19.
Regards
David


feat: deprecate Connect4

Is your feature request related to a problem? Please describe
Connect4 will be removed in a future release (v0.2).
Describe the solution you'd like
Raise a deprecated warning when using Connect4 as it will be removed soon.
Remark
Bug in the reset function: action_mask = jnp.ones((BOARD_WIDTH,), dtype=jnp.int8) should be changed to action_mask = jnp.ones((BOARD_WIDTH,), dtype=bool).

Fixed in #67


Show keybings on prompt commands

I believe it is because package.json not contains contributes.keybindings

Hi, thanks for the hint. I was aware of that setting but I didn't want to clutter up the user's key-bindings or maybe even overwrite some. But on the other hand...this is what the contribution point is meant for ;)
I'll look into it for the next version

The keybinding contributions were added in version 0.3.0

close.


[Bug]: Teachability Not Working

Describe the bug
Switched from the original TeachableAgent contribution to the teachability for any agent functionality and I can't seem to resolve the path "autogen.agentchat.contrib.capabilities.teachability" as the capabilities folder is not found in the 0.2.4 build.
Steps to reproduce
pip install pyautogen[teachable]
import autogen
from autogen.agentchat.contrib.capabilities.teachability import Teachability
Expected Behavior
Teachability should be imported
Screenshots and logs
No response
Additional Information
Autogen 0.2.4
Colab Notebook
Python 3.10.12

You say that the capabilities folder is not found. Is that mentioned in an error message? Did you clone the repo and check directly?

This line:
from autogen.agentchat.contrib.capabilities.teachability import Teachability
throws the error. Essentially, I can see all of the contrib folder elements but capabilities is not dereferenced. I see it in the repo and the version of autopen seems valid. I have not cloned the repo and built autopen myself, but certainly can try. Everything looks correct, but I won't dereference "capabilities".

Ok, I'll double check by trying the pip package instead of cloning. This will probably be fixed by #1177.

Thanks! Let me just compliment you on this feature. I tested the previous version in my project and it worked very well.

I verified that the contrib/capabilities folder is missing from the pyautogen==0.2.4 package, and adding the folder manually under site-packages after a pip install fixes the problem. Per #1177, this should be fixed in the next pip version 0.2.5. Until then, a workaround is to clone the repo and install locally from the autogen dir:
pip install -e .[teachable]

Fixed now in pyautogen==0.2.5. Thanks for the issue @kb1flr !


fix: Select widget isOptionSelected > TypeError: Cannot read properties of null (reading 'value')

This PR fixes an issue reported by a sentry in which the select widget was crashing due to null selected option.
Description
Fixes #20875
Type of change

Bug fix

How Has This Been Tested?

Not sure how to reproduce it so just added the null check.

Test Plan
Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=d805088


SINGA-274 Create Debian packages

Script for building binary Debian packages for SINGA 1.0.0 with C++ and with Python for amd64 architecture.

@moazreyad Thanks.

It would be better to avoid duplicating the source code in the git repo. Otherwise, we have to update the copied version every time we update the original source code. The build.sh file could be updated to do this copy. Then we can call Jenkins to execute the build.sh to generate new packages when new commits are merged.
Move the debian folder into tool, just like mesos, docker and jenkins?

Script updated to build and copy files. It is also moved to 'tool' folder.


Add support for signing or checksums of elements to confirm validity

Requested at the meeting on 4 May 2022. Related to #27
Be able to determine if the data associated with features has changed (implement digital signing or checksums).
Noting that data may be stored in databases and reconstituted. There are ways to do this nevertheless (if useful).
For instance the proposed JWS/CT (JSON Web Signature/Clear Text) specification combines JWS with canonical formatting of JSON (producing JSON in a perfectly standardised format that allows comparison).
Before we implement this (it would be easy to specify, more work to build into implementations), we should discuss the use cases further.

I suppose this would really be beneficial if there was a single repository of maps where everyone had access to them....... I suspect we are still a couple of years away from such a repository


request to stop an unknown node

This didn't cause a test to fail but it's fishy
https://app.circleci.com/pipelines/github/hyperledger/besu/8759/workflows/2f1b9283-44cb-4878-855f-d22ea6a445e8/jobs/45070/artifacts
Parallel Run 3
acceptance-tests-logs/AllTestsMissingExtraLoggingConf.log
node1 | 2021-05-11 15:12:07.955+00:00 | main | INFO  | Runner | Ethereum main loop is up.
15:12:08.075 | Test worker | INFO  | BesuNode | Ports for node node1: {discovery=59561, json-rpc=45505, p2p=36049, ws-rpc=42907}
15:12:08.624 | Test worker | INFO  | PrivacyCluster | Awaiting peer discovery for node node1
node1 | 2021-05-11 15:12:11.600+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #1 / 0 tx / 0 om / 0 (0.0%) gas / (0x303e72236be6802cdff5368e2514270537670509bd112d46c9715bcf8e150612) in 3.795s
node1 | 2021-05-11 15:12:12.391+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #2 / 1 tx / 0 om / 23,176 (0.0%) gas / (0x5d2a6c2ed520a28dc4405ebbf23d37c0d061bb54fceea18ba4397839f2df9e8b) in 0.798s
node1 | 2021-05-11 15:12:12.430+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #3 / 0 tx / 0 om / 0 (0.0%) gas / (0x8852da43975a0f941b7a22a5806d29fd5546a51b176c807076619bb097c9e67e) in 0.033s
node1 | 2021-05-11 15:12:12.818+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | No sync target, waiting for peers: 0
node1 | 2021-05-11 15:12:13.409+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #4 / 0 tx / 0 om / 0 (0.0%) gas / (0xa072dd90528b70a3169d4a1c76feea1e9cff97c1a661c467c0ef489f988db291) in 0.990s
node1 | 2021-05-11 15:12:13.461+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #5 / 1 tx / 0 om / 23,176 (0.0%) gas / (0xf99b5d4b1165f4679388751af4279740e721cf1efe5ead43f9bd78fb419a07ae) in 0.052s
node1 | 2021-05-11 15:12:13.699+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #6 / 0 tx / 0 om / 0 (0.0%) gas / (0x0c6794f53f3f2936af4f5c16830c0c16f3267b90511c4f9dab6cb948b5a5aeed) in 0.238s
node1 | 2021-05-11 15:12:13.765+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #7 / 0 tx / 0 om / 0 (0.0%) gas / (0x3121ae234c99c133891203e0ff7bfb8d001439b2e2540b51eca2116a7334c38b) in 0.066s
node1 | 2021-05-11 15:12:14.382+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #8 / 0 tx / 0 om / 0 (0.0%) gas / (0x4eee27874e5024a2591604786a80abd6c2a2706de9036025216c5e51933b132a) in 0.617s
node1 | 2021-05-11 15:12:14.913+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #9 / 1 tx / 0 om / 23,176 (0.0%) gas / (0xa3239e6b7b295c23bb8906604d3c7c0714285c28a4c3ffa223d5f77f27746544) in 0.532s
node1 | 2021-05-11 15:12:15.093+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #10 / 0 tx / 0 om / 0 (0.0%) gas / (0xd3fe140aa34885db9fe2641a804762d34e5a13c1e2ddb9637ba1917df3a21c59) in 0.179s
node1 | 2021-05-11 15:12:15.803+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #11 / 1 tx / 0 om / 23,176 (0.0%) gas / (0x3ee726baee3e55431c301b9fa736f2257b56d827b0bd1b192462f976c991d4d3) in 0.715s
node1 | 2021-05-11 15:12:16.390+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #12 / 0 tx / 0 om / 0 (0.0%) gas / (0x5901bb328e4a5a5a6c19e725862aff6174bc665a31186d8940bbb56406ade1bb) in 0.588s
node1 | 2021-05-11 15:12:16.521+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #13 / 1 tx / 0 om / 23,176 (0.0%) gas / (0x1a1ac51b344d87845061d3ec0eacce383a58bdaa519c6be4d642509a002ff5b6) in 0.131s
node1 | 2021-05-11 15:12:16.797+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #14 / 0 tx / 0 om / 0 (0.0%) gas / (0x6f9e5f0d0c6f9fcc846fa9ca8f42858a118be1a42eb0e473d58af27e2b83ac58) in 0.280s
node1 | 2021-05-11 15:12:17.819+00:00 | EthScheduler-Timer-0 | INFO  | FullSyncTargetManager | No sync target, waiting for peers: 0
node1 | 2021-05-11 15:12:18.944+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #15 / 0 tx / 0 om / 0 (0.0%) gas / (0xfc3b56386ad899e64216618d02f6d2d91b363a8cb925344564acb36badd78e44) in 2.147s
node1 | 2021-05-11 15:12:19.481+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #16 / 1 tx / 0 om / 23,176 (0.0%) gas / (0x5709ca99b626cdd300eb4e6fa5b38d5da068765f0a45f889e598fb3781387d9a) in 0.537s
node1 | 2021-05-11 15:12:19.556+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #17 / 0 tx / 0 om / 0 (0.0%) gas / (0x0a277c7194a2449ef1b764338f02a84b20f1784172007bc1710d0df980241db1) in 0.077s
node1 | 2021-05-11 15:12:19.584+00:00 | pool-7-thread-2 | INFO  | BlockMiner | Produced #18 / 0 tx / 0 om / 0 (0.0%) gas / (0xe353788004bf9b733351c789abab43e9db80f29cb933030c2c64fd302c7b3ecb) in 0.028s
node1 | 2021-05-11 15:12:20.096+00:00 | pool-7-thread-1 | INFO  | BlockMiner | Produced #19 / 0 tx / 0 om / 0 (0.0%) gas / (0x41c12b01b153aba37a1872477044e9f2ceb75538d2bfa226c58478326dcb328b) in 0.513s
15:12:20.232 | Test worker | INFO  | ProcessBesuNodeRunner | Killing node1 process, pid 5126
15:12:20.484 | Test worker | ERROR | ProcessBesuNodeRunner | There was a request to stop an unknown node: node1
15:12:20.485 | Test worker | INFO  | BesuNode | Failed to clean up temporary file: /tmp/acctest14563203806125725117
java.nio.file.FileSystemException: /tmp/acctest14563203806125725117: failed to delete one or more files; see suppressed exceptions for details

@macfarla - POW test? still flaking on latest?


when editing do not include context in title

in Edit screen, it may be better to omit contexts from the title, this way if the user wants to edit the title they don't have to navigate before the @xxxxxx to do so (contexts are listed under contexts anyway).

I see it different.
I would like to create a todo by simply typing it in. By typing @ or +, the tags will be added automatically to the corresponding field below.

In that case, I see the usefulness.

In that case, I see the usefulness.

In that case, I see the usefulness.


Is there a grafana dashboard example for this exporter?

Any help will be appriciated.

https://grafana.com/grafana/dashboards/10703

https://grafana.com/grafana/dashboards/10703

It's helpful to me, thx


Logging support

Proper logging based on Python logging module

@mstrzys , any objections against merging this PR?

Looks fine from my side and can be merged.


Model Preview Fix

This PR fixes a bug that occurred when the user would select multiple shapes from the qml without clicking the scene or pressing Escape.  The fix simply clears any pre-existing visualized models so they do not persist in the scene after they are done being used.
Signed-off-by: John Shepherd<EMAIL_ADDRESS>

The bug that was occurring:

The fix:


exception in server tick loop

this one is for single player crash-2023-12-28_12.51.31-server.txt
this one is from my server if there is any difference
crash-2023-12-28_18.59.10-server.txt
without the mod i can't load minecraft with immersive portals and create at all, but when i have it installed i can load minecraft but not get into a world.
i have like 130+ mods so idk if those are causing it or not.
heres the list of all em just in case:
Reforgium (by Asek3)
JourneyMap (by techbrew)
Eureka!
It's not something this mod could fix.

Thanks. good to know.

forgot to post it on here earlier, but serene seasons is incompatible with immersive portals for some reason. just wanted to leave this here just incase someone runs into similar issues.


Linker issue with LTO symbols when using XCode 15.0.1 (or later)

Describe the bug
Using a Mac with XCode 15.0, configuring the CMake build and running cmake --build . --config Release (internally, this uses a the Makefile generator) gives this error:
...
[ 93%] Built target bindiff
0  0x109dabf43  __assert_rtn + 64
1  0x109d53a20  mach_o::Symbol ld::Layout::symbolForAtom<ld::LinkedAtomPlacement const>(ld::Atom const*, CString, ld::LinkedAtomPlacement const&, ld::DylibMapping const*, unsigned long long) const + 2384
2  0x109d4d44b  void dispatchForEach<ld::AtomAndName const, void ld::buildSymbolTable<ld::LinkedAtomPlacement>(ld::SymbolTableLayout&, ld::Layout const&, ld::Options const&, ld::AtomSymbolPartition const&, ld::LinkedAtomPlacement const&, ld::DylibMapping const*, unsigned long long, bool, bool)::'lambda1'(unsigned long, ld::AtomAndName const&)>(std::__1::span<ld::LinkedAtomPlacement,<PHONE_NUMBER>3709551615ul>, unsigned long, void ld::buildSymbolTable<ld::LinkedAtomPlacement>(ld::SymbolTableLayout&, ld::Layout const&, ld::Options const&, ld::AtomSymbolPartition const&, ld::LinkedAtomPlacement const&, ld::DylibMapping const*, unsigned long long, bool, bool)::'lambda1'(unsigned long, ld::AtomAndName const&))::'lambda'(unsigned long)::operator()(unsigned long) const + 187
3  0x109d5895b  ld::LayoutExecutable::writeToFile(char const*) + 9099
4  0x109cfaf9f  main + 12831
ld: Assertion failed: (0 && "lto symbol should not be in layout"), function symbolForAtom, file Layout.cpp, line 1381.
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [call_graph_test] Error 1
make[1]: *** [CMakeFiles/call_graph_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
ld: warning: ignoring duplicate libraries: '../_deps/absl-build/absl/time/libabsl_time.a'
ld: warning: ignoring duplicate libraries: '../_deps/absl-build/absl/time/libabsl_time.a'
ld: warning: ignoring duplicate libraries: '../_deps/absl-build/absl/time/libabsl_time.a'
[ 93%] Built target change_classifier_test
ld: warning: ignoring duplicate libraries: '../_deps/absl-build/absl/time/libabsl_time.a'
[ 94%] Built target bindiff8_ida.dylib
[ 97%] Built target bindiff8_ida64.dylib
make: *** [all] Error 2

To Reproduce
Steps to reproduce the behavior:

See above, configure CMake and run cmake --build . --config Release

Expected behavior
Release binaries of BinDiff being built.
Screenshots
N/A
Environment (please complete the following information):

OS and version: macOS Sonoma, XCode 15.0
Locale: US English
Disassembler and version: N/A

Additional context
As a workaround, the "classic" linker ld64 can be used instead of the new ld_prime one. See the XCode 15.0 Release Notes.

Fix is in https://github.com/google/binexport/commit/85c89a4ab96febcccc4cdc01ca5fc6c005e9a2cf.


KAFKA-5574: add thread.id header in show-detailed-stats report

kafka-consumer-perf-test.sh report missing one header column:
time, data.consumed.in.MB, MB.sec, data.consumed.in.nMsg, nMsg.sec
2017-07-09 21:40:40:369, 0, 0.1492, 2.6176, 5000, 87719.2982
2017-07-09 21:40:40:386, 0, 0.2983, 149.0479, 10000, 5000000.0000
2017-07-09 21:40:40:387, 0, 0.4473, 149.0812, 15000, 5000000.0000
there's one more column between "time" and "data.consumed.in.MB", should be thread.id .

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6008/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5993/
Test PASSed (JDK 8 and Scala 2.12).


Update proto_vpnc.lua

Sometimes  people only wants VPN connection to be a route to a specific network, not the default gateway for all traffic.
I've tested this on my router and works fine!

Merged with slight changes in f4212285d - thanks!


[ECO-4816] Refactor for RTP2f test.

Closes #1927
This test was failing because of race condition - channel.internal.presence.syncInProgress is not thread safe. So instead of checking it unreliably I've moved injecting code into the hook for endSync to guarantee injecting before the sync ends and checking whether it was properly added right after.

Related issue - https://github.com/ably/ably-cocoa/issues/1929


Remove a stray import

It is a leftover from a refactor.

Coverage increased (+0.02%) to 83.216% when pulling 6d88a3532af81706d671f4bcd8bc0329d9cbf777 on rust-av:fix-stray-import into 2b289f9a56908f08e9962b62248db6c5546e0746 on xiph:master.


dark mode part 2

[x] storybooks have a dark/light button. if you shift+click it'll automatically swap so you can quickly go through various screens to validate

@keybase/react-hackers @cecileboucheron @adamjspooner


minor documentation updates

fixed a couple return types
wondering about return value of watcher:shutdown-children
took a stab at getting return type on same page as makedecl header box

I think it's fine for watcher:shutdown-children to return unspecified and to update the document to say so.

Thanks for the quick review, Bob!


Fixed Employee ID Missing on new users

Added Line in new-domainuser function to include employeeID from the user attribute prompt.

Running a test


Added location filter in requests.

Option to search with location names are important as the request list is growing.

There was a conflict so had I resolve and merge.


Add ReportMetrics to azureidentity.go

Description
What this PR does / why we need it:

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes # 1868
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Helm Chart Change (any edit/addition/update that is necessary for changes merged to the main branch)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[ ] Does the affected code have corresponding tests?
[ ] Are the changes documented, not just with inline documentation, but also with conceptual documentation such as an overview of a new feature, or task-based documentation like a tutorial? Consider if this change should be announced on your project blog.
[ ] Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ] Do all new files have appropriate license header?

Post Merge Requirements

[ ] MAINTAINERS: manually trigger the "Publish Package" workflow after merging any PR that indicates Helm Chart Change

@SpongeBob0318 thanks for making the PR! Could you fix the lint error and update the title to follow conventional commit spec?
  pkg/common/oras/authprovider/azure/azureidentity.go:22: File is not `goimports`-ed (goimports)
  	"github.com/ratify-project/ratify/pkg/metrics"

@SpongeBob0318 Codecov fails because we now have a requirement that new PRs should have %80 coverage for unit testing. You need to define unit tests and make sure they pass on your PR.
Have a look at this PR: https://github.com/ratify-project/ratify/pull/1829
Here you can see how an interface is defined to be able to utilise dependency injection in your unit tests.

Updated issue link

@SpongeBob0318 Hey, are you still interested in continuing the work on this PR?

This is out of date with Dev branch, and conflicts needs to be resolved. Please reopen PR once we have capacity.


some non-mut solve method require StorageMut

I noticed that, while the solve method of the LU decomposition requires a Storage trait on its input, the solve method for the qr and FullPivLU decompositions require StorageMut which is a much stronger requirement and implies that they will mutate their input.
It seems like a typo due to code duplication with the solve_mut methods.

Hi! You are right, the StorageMut is unnecessary in those places. Would you like to open a PR that replaces them with the Storage trait bound instead?

I will send a pull request will the correct trait tomorow.
(By the way, I have not forgotten the Cholesky decomposition : I should be able to work on it this weekend.)

Fixed by #671.


Enable localization of error messages

Please consider refactoring the code so that localization of error messages is possible. Most strings are in ConstraintError.php, but not all - see JsonDecodingException.php or SchemaStorage.php, for example.

@PetrToman Please feel free to submit a PR for this. This project is extremely short of manpower - so if you're wanting us to implement this for you, it's unlikely to happen any time soon; there are a number of higher priority issues that require attention.


Bump version for cookbook release.

/cc @Ginja @legal90

LGTM 👍
But could you please take a look at https://github.com/johnbellone/consul-cookbook/pull/378 ? It would be good to get it fixed in this release.

Could we please get #380 in for this release that has relevant config options for consul 0.7.1 ?

👍

Yep, trying to use retry_join_ec2 but it is not available in the supermarket cookbook with version 2.2.0....

I've rebased the branch, so we can release v2.3.0 now
ping @johnbellone

👍

@johnbellone Thanks! Could you please push the artifact v2.3.0 to the Supermarket?

v2.3.0 released: https://supermarket.chef.io/cookbooks/consul/versions/2.3.0


Bug: Interrupting $network.requests with actions

Description
If you have initiated a network request, there are two problems that the user will encounter:

They cannot initiate trigger an action within the current view while the network request is being performed
If the user touches a tab footer, the next view will fail to load.

Code for testing

https://jasonbase.com/things/A8lK.json (tab 1)
https://jasonbase.com/things/ePXR.json (tab 2)

Some additional instructions:
This view allows you to initiate a network request by touching a button. The loading spinner will activate during this process.
You can test two things while the spinner is going:

Touch the 'navigation' button, which will attempt to open a web view
Touch the footer tab 2. To properly replicate the bug, do not load the tab 2 view prior to initiating the network request.

This should be fixed with https://github.com/Jasonette/JASONETTE-iOS/commit/e7503305fb93c0bc3142f0c14ca14afd128c227d and https://github.com/Jasonette/JASONETTE-iOS/commit/555fed3409e8692944e01b0192cde92de32e1a2e
There were two problems:

when "loading": "true" is set, the loading indicator was blocking user interactions, which is why you couldn't press the button to navigate away. I think this was the intended behavior of the loading indicator itself, but thought about it a bit more and realized that since Jasonette is basically like a browser, users expect a similar behavior, which means, users expect to interact with ui elements asynchronously even when some network request is happening. So I allowed user interaction when the loading indicator is running https://github.com/Jasonette/JASONETTE-iOS/commit/e7503305fb93c0bc3142f0c14ca14afd128c227d

As I mentioned above, user interaction was being blocked when loading indicator was running, but for some reason this didn't block everything, and allowed the tabbar tap event to slip through, which is why you could tap the tab bar while you couldn't tap the button. Anyway, this part doesn't matter anymore since user interaction is completely allowed now.

The most critical problem of all was that the tab 2 won't load even when you do navigate into it. This was because whenever a view comes into view it needs to reload content from a URL, but it first looks at a flag called executing. If it finds that an action is currently running, it doesn't reload the view. Here's the background: This feature is important for things like oauth actions or any type of action that involves a flow that looks like this :

Step1. Jasonette calls a 3rd party app via URL scheme
Step 2. 3rd party app (Possibly browser) does something and returns back to Jasonette via URL Scheme
Step 3. Jasonette receives the info and keeps running

Oauth works this way because it opens safari to authenticate and comes back. But since the entire action should be treated as atomic, Jasonette sets the executing flag and doesn't reload the view between step2 and step3. Otherwise the entire auth process would be reset.
Anyway, transitioning to another tab bar is not equivalent to this situation so the executing flag should be explicitly set to NO, so the new view can reload. Here's the fix https://github.com/Jasonette/JASONETTE-iOS/commit/555fed3409e8692944e01b0192cde92de32e1a2e
Please check and confirm that it works!

Confirmed!


Issue fetching ivy-latest.xml during gradle build

Just trying gradle build from the root project. It attempts to download an artifact that the bndtools project is not generating:
* Where:
Settings file 'git/osgi.enroute/settings.gradle' line: 33

* What went wrong:
A problem occurred evaluating settings 'osgi.enroute'.
> Could not resolve all dependencies for configuration 'classpath'.
   > Could not resolve biz.aQute.bnd:biz.aQute.bnd.gradle:latest.
     Required by:
         unspecified:unspecified:unspecified
      > Could not resolve biz.aQute.bnd:biz.aQute.bnd.gradle:latest.
         > Could not get resource 'https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/biz.aQute.bnd.gradle/ivy-latest.xml'.
            > Could not GET 'https://bndtools.ci.cloudbees.com/job/bnd.master/lastSuccessfulBuild/artifact/dist/bundles/biz.aQute.bnd.gradle/ivy-latest.xml'.
               > peer not authenticated

This is because you need network access to the bnd gradle plugin. Can you access that URL from the computer you are using to build? If your workstation cannot access that URL, you will need to get the bnd gradle plugin on the machine some other way and edit the gradle.properties file to point to where it is locally available.

BTW, the issue is not that the ivy file does not exist. It is that your computer was not able to access the files on the cloudbees server.

Thanks. I was suspicious of the missing ivy file. I will try it from a different environment.


Standalone CLI tool

The NSwag toolchain is great, but it would be nice to be able to generate code for a simple JSON schema file without having a full swagger project. A CLI tool would be very valuable in my development process.

NSwag also contains cli commands for that...


temporal action detection

I would like to ask if you can tell how to do temporal action detection tasks with the generated proposal? What has been modified on the model? It would be nice to tell me the code!

In your paper,  First, we generate a set of action proposals for each video with our RTD-Net, I'm confused if the file that generates the proposal is the result_eval.csv generated from evaluate?


Bump exqlite dep to 0.5.8

@kevinlang I'm running into some issues with this.
I added the statement that failed to the Exqlite.Error for debugging purposes and add visibility into the actual problem.
"CREATE TABLE posts (id INTEGER PRIMARY KEY, title TEXT, counter INTEGER, blob BLOB, bid TEXT, uuid TEXT, meta JSON, links JSON, intensities JSON, public BOOLEAN, cost DECIMAL(2,1), visits INTEGER, wrapped_visits INTEGER, intensity NUMERIC, author_id INTEGER, posted DATE, inserted_at TEXT_DATETIME NULL, updated_at TEXT_DATETIME NULL)"
"CREATE TABLE posts_users (post_id INTEGER CONSTRAINT posts_users_post_id_fkey REFERENCES posts(id), user_id INTEGER CONSTRAINT posts_users_user_id_fkey REFERENCES users(id))"

"INSERT INTO posts (public,title,uuid,inserted_at,updated_at) VALUES (?,?,?,?,?) RETURNING id"

"INSERT INTO posts (public,title,uuid,inserted_at,updated_at) VALUES (?,?,?,?,?) RETURNING id"

"INSERT INTO posts (public,title,uuid,inserted_at,updated_at) VALUES (?,?,?,?,?) RETURNING id"

%Exqlite.Error{
  message: "no such column: p0.id",
  statement: "UPDATE posts AS p0 SET title = ? RETURNING p0.id, p0.counter, p0.title, p0.blob, p0.public, p0.cost, p0.visits, p0.wrapped_visits, p0.intensity, p0.bid, p0.uuid, p0.meta, p0.links, p0.intensities, p0.posted, p0.author_id, p0.inserted_at, p0.updated_at"
}

With the latest release of sqlite3 amalgamation they fixed a bug https://sqlite.org/src/info/132994c8b1063bfb
I think the bug they fixed was to not allow for a wildcard to be provided, but caused the latter case to fail as well.

Yeah it looks like 3.35.4 disallows use of any table specification in the returning clause. I filed #23 . We will likely need to remove all table specifications for now. It may be supported again in the next minor release.

@kevinlang https://sqlite.org/forum/forumpost/291e6dedac?t=h it may be coming in the future as HIpp doesn't believe it is appropriate for a patch release.

While I was digging through this looking at expr() and what not, the returning clause reuses code, (yay) but we may need to work a whole new angle to it because expressions are allowed within the returning statement, just not references to the table.

@warmwaffles I added a niave fix for this and pushed to this PR. I couldn't think of a more elegant way to do it :man_shrugging:

This will work for now. Just to unblock us from moving forward.


MetalPerformanceShadersGraph folder taking large amounts of space

I'm not entirely sure if the issue is with Apple's SD Core ML implementation or if its how its being used in the sample app but after a few XCode debugging sessions this folder balloons in size. Currently its comfortably taking around 151GB of space. It can be deleted but will gradually return until there is no more space left in the drive again.
/private/var/folders/<random>/<random>/<random>/com.apple.MetalPerformanceShadersGraph

So far I've not been able to observe this, will keep watching for a few days.

It seems to happening when debugging the app with CPU & GPU compute option, but not CPU & NE.

I have the same issue, it happens on both macOS and iOS.
Unfortunately on iOS, the directory does not show up and I have to delete the app every time to free up storage.

I have the same issue, it happens on both macOS and iOS.
Unfortunately on iOS, the directory does not show up and I have to delete the app every time to free up storage.

On iOS, the "Document and Data" use a lot of space, and it won't return even when I uninstall the app and reboot my phone...


Accessibility Updates - Comments Page

Title of ticket: Accessibility Updates - Comments
Description
Critical Changes to Queue that were identified through Running Accessibility Tests on Comments Page
Use WAVE extension: https://wave.webaim.org/extension/
Dependencies
Are there any dependencies?

DOD

[ ] Missing form labels fixed
[ ] Empty heading fixed
[ ]  Empty button fixed
[ ] Empty link fixed
[ ] Aria reference fixed
[ ] Contrast errors fixed
[ ] Alerts reviewed and fixed if possible

Description and DOD updated.

all errors and contrast errors fixed except for the ones noted in comment above. closing this issue


Release 0.2.0

Hi Jordan,
I just discovered this library today and it looks very useful! I see that nearly a year ago some work on a transient version of union-find was merged, but you haven't made any release. I'm wondering if that is because there is a problem with the transient version, or if perhaps something else has held it up. If a release is possible, it would be great if you could do that!
Thanks,
Darrick

Hey Darrick,
I don't think there's a problem - I've just been busy with other stuff. I can definitely make a release happen. Thanks for your interest!

Jordan


Refactor throwErrorMethod and use callStatic

throwErrorMethod: use ternary operator
Replace argString, argBool, argArray, etc... methods with __calStatic($name, $arg)

Is there a behavior change here?  Or is it just an implementation change?
In terms of implementation strategy, I'd rather avoid dynamic stuff like this.

Only implementation change. You are right, it's better to avoid dynamic stuff like this.


updated the k8s training partner with valid link

Updated [hi] Invalid Link of Kubernetes Training Partners in training page. #46018

Please find the deployment preview :
https://deploy-preview-46019--kubernetes-io-main-staging.netlify.app/hi/training/

/retitle [hi] Update reference to CNCF landscape (v2) in 'Training' page
For added clarity.


Adding the name of the original file into the "Title"

If I upload an existing file, the "Title" remains empty.  Is it possible to add an option to fill the title with the name of the original file?
The example https://imgur.com/2ygvL9S Title was added automatically by MyImgur tool.

This should be working now, please test the master branch and let me know.

Works good. Thank you.


image and event count not working on twitter

Hi i have this code :

         <button class="btn btn-facebook " (sbCount)="sumCounts($event)" [shareButton]="'facebook'"[sbUrl]="url+magazine.id" [sbShowCount]="true" [sbTitle]="'Magazine'" [sbImage]="magazine.coverpageImage" [sbDescription]="'Découvrer mon dernier magazine sur Folomi'"   (click)="back()"    ></button>         <button  class="btn btn-twitter " (sbCount)="sumCounts($event)" [shareButton]="'twitter'" [sbUrl]="url+magazine.id" [sbShowCount]="true" [sbTitle]="'Magazine'" [sbImage]="magazine.coverpageImage" [sbDescription]="'Découvrer mon dernier magazine sur Folomi'"   (click)="back()"   ></button>         <button class="btn btn-google " (sbCount)="sumCounts($event)" [shareButton]="'GOOGLEPLUS'" [sbUrl]="url+magazine.id" [sbShowCount]="true" [sbTitle]="'Magazine'" [sbImage]="magazine.coverpageImage" [sbDescription]="'Découvrer mon dernier magazine sur Folomi'" (click)="back()"   ></button>

Angular 2 version 2.4.9
the facebook image link is showed when sharing and also the event count work but google and twitter don't show the image, the event count is not working with twitter, description not showed in google+.
Please help

twitter does not provide share counts.
twitter and google+ does not accept image as a parameter, but for g+ use og:image tag


Update Paella and improve cursor

Two main visible changes:

When hovering over Paella buttons or the timeline, a proper pointer cursor is shown, similar to other video players out there. Fixes #707
The timeline is now hidden for live videos. See #1003

I think the first point is clearly an improvement. Regarding the second one I'm not sure: some live streams might allow seeking into the past, which wouldn't be possible anymore with this. I'm really not sure whether that's a concern for institutions out there. So yeah, feedback is welcome @dagraf @oas777 @ziegenberg

Regarding the second one I'm not sure: some live streams might allow seeking into the past, which wouldn't be possible anymore with this. I'm really not sure whether that's a concern for institutions out there. So yeah, feedback is welcome @dagraf @oas777 @ziegenberg

Not sure whether that's ex-post overthinking on your behalf or "underthinking" when the issue was opened. Anyway, I think it's an improvement for now. If someone wants this reversed/customized for the scenario you describe, they should come forward.

Paella has a configuration item for hiding/showing the timeline. We should surface that config in Tobira.

Paella has a configuration item for hiding/showing the timeline. We should surface that config in Tobira.

My philosophy for Tobira is to not make things configurable unless there is a good reason to do so. This is all in service of complexity management which I think is very important. If we can't find a consensus here on whether to hide or show it for live stream videos, sure let's add a config. But at least try to find out whether there is a choice that would work for everyone.
Do you have use cases where having the timeline for live events is useful?

Just chiming in here as this is also waiting for David's feedback before we merge this:
I noticed two visual things (that should be fixed on paella's end I believe):
The progress bar is now cut-off on the right side (or rather it's not rounded anymore, like it was before this change):

And I think when the progress bar/timeline is hidden for live events, it would make sense to also hide its background/shrink the control panel accordingly:

Oof, good catch, Paella never ceases to amaze me. I just removed the questionable commit, i.e. the "hide timeline for live" is gone now. I will create a separate issue for that, so that we can move along with the important part of this PR.

And I think when the progress bar/timeline is hidden for live events, it would make sense to also hide its background/shrink the control panel accordingly:

Honi soit qui mal y pense.


Realm.build/module.modulemap:2:21: Umbrella header 'Realm.h' not found

Goals
I'm trying to update CocoaPods to 1.0.0, but cannot build RealmSwift
Actual Results
Get this error: Umbrella header 'Realm.h' not found
Steps to Reproduce
I've made a test project here: https://github.com/intrigua/RealmTest
It's just a template project with one pod in the podfile.
I did pod install and tried to build but failed with this error.
Removing all of these folders: ./Pods, ~/Library/Caches/CocoaPods, Xcode DerivedData doesn't help.
Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.11.5
BuildVersion:	15F34

/Applications/Xcode.app/Contents/Developer
Xcode 7.3.1
Build version 7D1014

~/.gem/ruby/2.0.0/bin/pod
1.0.0
Realm (1.0.0)
RealmSwift (1.0.0)

/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15)

(not in use here)

/usr/bin/git
git version 2.7.4 (Apple Git-66)

Are you using Realm in an OS X app? If so, this is probably https://github.com/CocoaPods/CocoaPods/issues/5313 which was fixed in https://github.com/CocoaPods/CocoaPods/issues/5352 which will be included in the next release of CocoaPods.

Yes, it's OS X app

Alright, I apologize for the inconvenience then, it's almost certainly https://github.com/CocoaPods/CocoaPods/issues/5313. Until CocoaPods releases a version including the fix, I encourage you to use CocoaPods 0.39.0 or CocoaPods built from master. We're also tracking all this in #3570.


Merge PR, published on PyPI

This merges #11 #16 #18 and is published at https://pypi.org/project/ocrd-typegroups-classifier/
@seuretm Best to merge this instead of the individual PR

@seuretm Can you merge this pls so we're in sync again? Thanks!


UI Toggle buttons (for Switches) does a weird state dance when toggled

I have a outlet device that has an on/off switch exposed in the user settings.
Changing the stay from On -> Off (or Off -> On) will make the toggle switch position, but immediately go back to the previous position. (It also sends the zwave command to the device). The device them responds with the new state making the toggle go to the correct state.
It would be nice that the button stays at the new position and maybe is disabled for a second (or until a new update is received - which ever comes first I guess).

This is probably related to #12

This is the switch:
  <v-switch
      v-if="value.type == 'bool'"
      :label="value.label +' ('+value.value_id+')'"
      :hint="value.help || ''"
      persistent-hint
      v-model="value.newValue"
      @change="updateValue(value)"
      ></v-switch>

Each valueID object is bounded to an input element (like text input, select, number input etc..) and it must be bounded to a var, in this case I have bound it valueID.newValue. What happens in your case is correct even if it seems weird:
You press the switch and the switch changes state as feedback that you have pressed it,
For some reason before the value update is triggered you receive another update that puts the switch to the previous state than you receive the new update and the switch takes the correct state.
I can't disable the position for some seconds as I can't compare the two state changes and decide which one (the first or the second) is the correct one. If you check the source code and you have an idea about how to fix this let me know

So it is related to #12 then, I'll close this one then.

Just letting you know It's been running perfectly for a few weeks now!

Perfect 👌🏻

On 21 Apr 2019, at 01:00, Jorge Schrauwen<EMAIL_ADDRESS>wrote:
Just letting you know It's been running perfectly for a few weeks now!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Mail template translations not working

Discussed in https://github.com/wintercms/winter/discussions/327

Originally posted by AIC-BV October  5, 2021
Hello!
I am trying to translate my Mail Templates, which is working by adding the following code in my boot() function:

    \System\Models\MailTemplate::extend(function ($model) {
        $model->addDynamicProperty('translatable', []);
        $model->translatable = array_merge($model->translatable, ['subject@create', 'subject@update', 'description', 'content_html', 'content_text']);
        $model->extendClassWith('Winter\Translate\Behaviors\TranslatableModel');
    });

Just one small issue, even though the mail is translatable in the backend at settings -> mail templates, the mail always sends in the default language and doesn't listen to the activeLocale (I'm using Winter.Translate).
Any ideas how to solve this problem so that the mail sends in the correct language?
I am sending the mail with a queue:
    Mail::queue(aic.contact::mail.contact, $data, function($message) use (&$data) {
        // get the theme variables
        $sender = $theme->mail_email;
        $senderName = $theme->mail_name;

        // receiver
        $email = $data['email'];
        $name = $data['fname'] . ' ' . $data['lname'];

        // set properties
        $message->from($sender, $senderName);
        $message->to($email, $name);
    });

Edit:
The suggested solution from daftspunk, which was already implemented in WinterCMS, does not seem to solve my issue: https://github.com/wintercms/storm/pull/50
Edit 2:
Maybe related to this issue;
I have this field in 'fields.yaml' for my theme:
  street:
        tab: Contact
        label: Straat
        type: text
        span: left
        translatable: true

When printing my theme variable: {{ this.theme.street }}; it's always in the default language and my translated value is ignored. I'm absolutely sure this used to work a few days ago. Maybe I broke something? I didn't touch any plugins and commenting my plugin code doesn't affect this issue, and the translations are visible in the database in winter_translate_attributes

@bennothommo I know for a fact this used to work since I wrote this and it has been tested extensively... I'm browsing the code to find where "_current_locale" is retrieved and can't find it anywhere... so it's saving the locale when the mail gets queued, but does not retrieve it anymore before actually sending the mail... so something was changed that nuked this code.

@bennothommo I was looking in the wrong place... the code I was referring to is in Winter.Translate. Look for findLocalizedMailViewContent()
It's not using translatable fields, though, it's using localized content/view files...

Hmmm, just found code where the App locale was restored was removed at some point, not sure why...
See cc1c88a6062a9686aa70b40b67c89ea8b0c5dc5f
I'm thinking we need to apply this patch:
diff --git a/src/Mail/Mailable.php b/src/Mail/Mailable.php
index 78722102..293679af 100644
--- a/src/Mail/Mailable.php
+++ b/src/Mail/Mailable.php
@@ -32,6 +32,11 @@ public function buildViewData()
     {
         $data = $this->viewData;

+        // retrieve saved locale
+        if (isset($data['_current_locale'])) {
+            App::setLocale($data['_current_locale']);
+        }
+
         foreach ($data as $param => $value) {
             $data[$param] = $this->getRestoredPropertyValue($value);
         }

Can you try this @bennothommo and see if that resolve your issue ?

@bennothommo I commited two changes in Winter-Translate plugin that resolve the issue:

first one fixes the context issue for fields in $translatable[] array (you don't nee to provide the context anymore)
second fix Sets the front-end translator locale from the saved queued mail data so that the model can use the proper locale when accessed in \system\Classes\MailManager.

Let me know how it goes.

@mjauvin nice one! I can certainly give it a test, maybe @AIC-BV will be able to as well, as the original reporter?

Ahah, didn't even realize you were not the original poster... It did seem weird you would require translation, though... :)

Ironically, my new job might require translations down the track, so I may be more involved soon :)

Translatable mails work with latest branch 🙂

Fixed by https://github.com/wintercms/wn-translate-plugin/pull/63


Fix syntax help window text cut off issue #33906

The text description of the syntax help window was getting cut off so i added the text wrap in the text block.

[x] Closes: #33906
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on [our docs repo

@microsoft-github-policy-service agree

fixes #33907 too

~fixes #33907 too~ My mistake. But why does this PR charge the text?

sorry actually i check out the branch from the another sub branch not from the master branch, i will fix it ...


Add VSCodium <IP_ADDRESS>33

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Microsoft Reviewers: Open in CodeFlow

Can someone trigger the pipeline again?


Rewrite the whole project in vanilla JavaScript

Sorry but I have to ask about that. As you know, nowadays CoffeeScript is pretty outdated. Want to help out, create pull requests but those CoffeeScript lines makes me really sick (there is no reason to learn that in 2017) and I am quite really sure there are plenty amount of people who don't want to write CoffeeScript. So, converting the project vanilla JavaScript will increase potential contributors.

Like this tool, thought i'd suggest someone try something like https://decaffeinate-project.org/ ?


Update spring-boot version to 2.1.10.RELEASE and dependencies

@pascalgrimaud The spring-boot release is on his way: https://github.com/spring-projects/spring-boot/releases
As soon as it is available in maven, I will update the 2 PR.
https://search.maven.org/search?q=g:org.springframework.boot AND a:spring-boot&core=gav

@DanielFran : ok, don't hesitate to merge the appropriate PRs if you feel confident, so the full daily builds can run tomorrow :)

@DanielFran : is it ready for a release ? I think it is

@pascalgrimaud Yes, it is


ISPN-12341 Add Memcached client test for third-party-server

https://issues.redhat.com/browse/ISPN-12341

I don't understand the purpose of this PR. It is not testing any of our code on the client side, and server-side memcached tests are already done elsewhere.

Hi Tristan,
The purpose of third-party-server is to add basic tests to try to identify classpath issues or missing configurations.
third-party-server can run tests in Wildfly ( enabled by default ) and other profiles ( currently, Tomcat )

What classpath issues are trying to find with this? I am also at a bit of a loss to the benefits of this PR.

Integrated into master, thanks @diegolovison !


ghostunnel: 1.7.1 -> 1.7.3

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ghostunnel/versions.
meta.description for ghostunnel is: TLS proxy with mutual authentication support for securing non-TLS backend applications
meta.homepage for ghostunnel is: https://github.com/ghostunnel/ghostunnel#readme
meta.changelog for ghostunnel is: https://github.com/ghostunnel/ghostunnel/releases/tag/v1.7.2
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.2 with grep in /nix/store/sh1kz19h3z7dg7b356ickffhbjqdl0j6-ghostunnel-1.7.2
found 1.7.2 in filename of file in /nix/store/sh1kz19h3z7dg7b356ickffhbjqdl0j6-ghostunnel-1.7.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ghostunnel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sh1kz19h3z7dg7b356ickffhbjqdl0j6-ghostunnel-1.7.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ghostunnel https://github.com/r-ryantm/nixpkgs/archive/a1df6ed5ebbe25ce064b5f7aeacd4847a2b00294.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/a1df6ed5ebbe25ce064b5f7aeacd4847a2b00294#ghostunnel

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sh1kz19h3z7dg7b356ickffhbjqdl0j6-ghostunnel-1.7.2
ls -la /nix/store/sh1kz19h3z7dg7b356ickffhbjqdl0j6-ghostunnel-1.7.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ghostunnel

Maintainer pings
cc @roberth for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ghostunnel/ghostunnel/releases.
meta.description for ghostunnel is: TLS proxy with mutual authentication support for securing non-TLS backend applications
meta.homepage for ghostunnel is: https://github.com/ghostunnel/ghostunnel#readme
meta.changelog for ghostunnel is: https://github.com/ghostunnel/ghostunnel/releases/tag/v1.7.3
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.7.3 with grep in /nix/store/7v96zafn0hcvb4z4gh88nkfkh40489na-ghostunnel-1.7.3
found 1.7.3 in filename of file in /nix/store/7v96zafn0hcvb4z4gh88nkfkh40489na-ghostunnel-1.7.3

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ghostunnel

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7v96zafn0hcvb4z4gh88nkfkh40489na-ghostunnel-1.7.3 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ghostunnel https://github.com/r-ryantm/nixpkgs/archive/d8c17b8a684ec778a43225f734be0f18735bb248.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/d8c17b8a684ec778a43225f734be0f18735bb248#ghostunnel

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7v96zafn0hcvb4z4gh88nkfkh40489na-ghostunnel-1.7.3
ls -la /nix/store/7v96zafn0hcvb4z4gh88nkfkh40489na-ghostunnel-1.7.3/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ghostunnel

Maintainer pings
cc @roberth for testing.

@wegank, you've marked this as draft two weeks ago. I don't see a particular reason to. Could you explain why it's draft? Otherwise this is good to merge.

I guess ghosttunnel.passthru.tests didn't work at the time, but looks fine now.

Ok, thanks!


Add pipeline functions

pipeline 新增以下函数支持字符串子串提取：
fn slice_string(name: str, start: int, end: int) -> str

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


FCM: Fix crash on iOS 14 when multiple app delegate completion methods are called

Background
Since iOS 7 it is possible to execute the code in the background for iOS apps that receive silent push notifications. Once such push (most likely containing the content-available flag) is received, if the application is in the background, it has 30 seconds to complete the background activity and tell iOS that it's done by calling the completion block. More info on application(_:didReceiveRemoteNotification:fetchCompletionHandler:) here
Issue we observed
We discovered that on iOS 14 calling the completion block multiple times is leading to a crash. Based on my limited debugging capabilities, it looks like the API is now using dispatch groups to trace the moment when the completion is called, and in the completion block it invokes dispatch_group_leave. Once the completion block is called multiple times, the iOS is going to crash since this behavior is unexpected (calling dispatch_group_leave more times than dispatch_group_enter).
More people complained about the same issue here https://github.com/invertase/react-native-firebase/issues/3944.
Worth noticing that in our experience the crash is only happening when the app is actually running in the foreground and in case the FCM is used together with the Braze SDK (they are also using GULAppDelegateSwizzler).
Proposed solution

Similia similibus curantur

It is sufficient to wrap the final completion block provided by iOS into yet another dispatch_group that would be entered for every observer of the application(_:didReceiveRemoteNotification:fetchCompletionHandler:) and left when the observer is calling to the provided callback.

@googlebot I signed it!

I am afraid there are some CI errors in GitHub Actions, seems like something unrelated to my change. Should I rebase it on your recent release-xxx branch?

@mikeger Thanks for the PR! The CI failure is a result of GitHub Actions changing its default Xcode from 11.7 to 12.0.1 yesterday and being addressed in #6865.  You can disregard for now.  master is the correct target for this PR.
Assigning for review to @maksymmalyhin for the GoogleUtilities changes and @chliangGoogle for the FirebaseMessaging changes.

@maksymmalyhin thanks for the review, all valid comments.

#6865 has merged so rebasing or merging master should now enable a green CI run.

Hello. Are there any updates here? I'm facing exact same issue in Firebase 6.18, 6.31.1, 6.34.0 and even 7.0.0. However I'm not using Braze SDK. According to Crashlytics 80% of such crashes occur on iOS 14.1. Others on other versions of iOS 14. So I'm waiting for this fix in next release version of Firebase. BTW the project I'm supporting now is written on Objective C.

@mikeger Will you have time to address the comments? We may finish your PR if not. We will make sure your contribution will be visible in Firebase repo. Please let us know.

@maksymmalyhin hey, I would address the comments today. I got stuck since the tests (./test.sh) were not running for me (build failed), I will retry rebased on the current master.

@mikeger Ah, ./test.sh is an obsolete script that should've been removed. Sorry about that. Currently we mostly use the following ways to run tests:

Follow the development guide and run tests from the generated project. This is the most convenient way for active development.
Running pod lib lint for a podspec. See CI for examples, e.g. for FirebaseMessaging or GoogleUtilities. This is useful to debug CI issues locally.

@maksymmalyhin thanks so much for the testing tip, this allowed me to progress with the tests. Please re-review the changes, I updated it based on your comments.

@maksymmalyhin updated, thanks for the comments!

@maksymmalyhin added, to my understanding there it's sufficient to always indicate NoData.

All looks good to me, I'm going to merge the PR on CI green.

@mikeger Thank you again for your contribution!
We will try to include the fix into 7.1.0 release.


Example code for moving to position

so far, there is only the demo to move the arm in a circle but no demo how to move it to a specific position.

Will take Mike's IK https://github.com/mikef522/open-dobot-gui and create a simple example.
To have an example sooner I will have to simplify it:

it will not use accelerometers and would assume predefined pose
it will not move in a straight line, but only to get end effector from point A to point B driving each motor as fast as possible.

In order to make the example complete it would be required to:

write up accelerometers calibration instructions and implement some helper code to make calibration procedure simple
in code, slice the trajectory into segments, taking into account acceleration/deceleration, to make the end effector move in a straight line from point A to point B

As a bonus, provide an example of arm doing some fancy trajectory, like drawing something in the air.
Needless to say that proper example would take a bit more time. So, I'm planning to make a simple one first for 0.3.0 and then proper one for 0.4.0, unless someone helps.
Currently I'm fixing the protocol to enable command buffer and do crc properly.

Hey Nikolas, like Max said, I wrote up a python gui app that does just that (see the repository Max linked to). I uploaded some videos that give a quick demo and explanation here:
Demo videos here:
Set up and move to point demo: https://youtu.be/5oExIlkn5E
Inverse Kinematics Quick Explanation: https://youtu.be/Nsgcq8Uz_Vc
Inverse Kinematics C++ 3D simulation Demo: https://youtu.be/5oExIlkn5EA
I am using ramps though. I look forward to seeing Max's improvements!


Updates to Staff, Hours, Meetings

Updated staff roster and titles
Updated office hours
Added daily meeting to Regular Meetings

+1

+1

:+1:
@seamuskraft ?

Looks great.  Thank you and go for it!

[image: :+1:]

Seamus

Seamus Kraft
Executive Director & Co-Founder
The OpenGov Foundation http://OpenGovFoundation.org
Ph: +1-760-659-0631
Tweet Us @FoundOpenGov http://twitter.com/foundopengov
On Wed, Jul 29, 2015 at 1:17 PM, Bill Hunt<EMAIL_ADDRESS>wrote:

[image: :+1:]
@seamuskraft https://github.com/seamuskraft ?
—
Reply to this email directly or view it on GitHub
https://github.com/opengovfoundation/hr-manual/pull/7#issuecomment-126024095
.


DB Target does not work after config file reload

Type: Bug
NLog version: 4.3.9
Platform:  .Net 4.5
Current NLog config
The configuration is a combinations of code and XML
           // The below is run in the LogManager_ConfigurationReloaded event handler and its intent is to
           // set the connection sting info using internal tools
           var dbConfig = configuration.FindTargetByName<DatabaseTarget>("TpsDatabaseTarget");
            if (dbConfig == null)
            {
                // Unable to configure db logging, missing a configuration file entry
                return;
            }

            try
            {
                dbConfig.ConnectionString = SpecialFunctionThatGetsConnectionString();
            }
            catch (Exception e)
            {
                // Unable to get connection string, so writing to a database will not be an option.
                dbConfig.ConnectionString = string.Empty;
            }

           LogManager.ReconfigExistingLoggers();

            return;

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="false"
      internalLogLevel="Warn" internalLogFile="c:\temp\nlog-internal.log">

    <!-- Set in the NLogTpsConfigure class. Do not set these variables -->
    <variable name="mhsKey" value=""/>

    <!-- Static variables. These should not change unless we need to update all logging. -->
    <variable name="TpsDetailedExceptionLayout" value="${exception:innerFormat=Message,Type,ToString,StackTrace:maxInnerExceptionLevel=3:innerExceptionSeparator=\r\nInnerExceptions:\r\n:separator=\r\n:format=ToString}"/>
    <variable name="localAppDataDirectoryLogLocation" value="${specialfolder:folder=LocalApplicationData}/TPS/Logs${when:inner=.${var:mhsKey}:when='${var:mhsKey}' != ''}"/>

    <targets>

      <target xsi:type="Database"
              name="TpsDatabaseTarget"
              commandText="[dbo].[InsertLog]"
              keepConnection="true"
              commandType="StoredProcedure">
        <parameter name="@dateTime" layout="${longdate}"/>
        <parameter name="@message" layout="${message}"/>
        <parameter name="@mhsKey" layout="${when:when='${asp-session:variable=mhsKey}' != '':inner=${asp-session:variable=mhsKey}}${when:when='${asp-session:variable=mhsKey}' == '':inner=${var:mhsKey}}"/>
        <parameter name="@level" layout="${level:uppercase=true}"/>
        <parameter name="@logger" layout="${logger}"/>
        <parameter name="@machineName" layout="${machinename}"/>
        <parameter name="@processId" layout="${processid}"/>
        <parameter name="@windowsIdentity" layout="${windows-identity}"/>
        <parameter name="@identity" layout="${identity}"/>
        <parameter name="@appDomain" layout="${appdomain:format={1\}}"/>
        <parameter name="@assemblyVersion" layout="${assembly-version}"/>
        <parameter name="@callSite" layout="${callsite:fileName=true}"/>
        <parameter name="@detailedException" layout="${var:TpsDetailedExceptionLayout}"/>
        <parameter name="@stackTrace" layout="${stacktrace:format=DetailedFlat}"/>
        <parameter name="@threadId" layout="${threadid}"/>
        <parameter name="@threadName" layout="${threadname}"/>
        <parameter name="@logicalContextKey" layout="${event-properties:item=ContextKey}"/>
      </target>

      <target xsi:type="File"
              name="TpsFileTarget"
              encoding="utf-8"
              lineEnding="CRLF"
              archiveEvery="None"
              replaceFileContentsOnEachWrite="false"
              fileAttributes="Normal"
              fileName="${var:localAppDataDirectoryLogLocation}/${processname:fullName=false}.detailed.log"
              archiveFileName="$${var:localAppDataDirectoryLogLocation}/Archives/log.{#####}.detailed.txt"
              archiveAboveSize="1000240"
              archiveNumbering="Rolling"
              maxArchiveFiles="7"
              forceManaged="false"
              cleanupFileName="true"
              archiveOldFileOnStartup="false"
              maxLogFilenames="3">
        <layout xsi:type="JsonLayout">
          <attribute name="DateTime" layout="${longdate}"/>
          <attribute name="Message" layout="${message}"/>
          <attribute name="MhsKey" layout="${when:when='${asp-session:variable=mhsKey}' != '':inner=${asp-session:variable=mhsKey}}${when:when='${asp-session:variable=mhsKey}' == '':inner=${var:mhsKey}}"/>
          <attribute name="Level" layout="${level:uppercase=true}"/>
          <attribute name="Logger" layout="${logger}"/>
          <attribute name="MachineName" layout="${machinename}"/>
          <attribute name="ProcessId" layout="${processid}"/>
          <attribute name="WindowsIdentity" layout="${windows-identity}"/>
          <attribute name="Identity" layout="${identity}"/>
          <attribute name="AppDomain" layout="${appdomain:format={1\}}"/>
          <attribute name="AssemblyVersion" layout="${assembly-version}"/>
          <attribute name="CallSite" layout="${callsite:fileName=true}"/>
          <attribute name="DetailedException" layout="${var:TpsDetailedExceptionLayout}"/>
          <attribute name="StackTrace" layout="${stacktrace:format=DetailedFlat}"/>
          <attribute name="ThreadId" layout="${threadid}"/>
          <attribute name="ThreadName" layout="${threadname}"/>
          <attribute name="LogicalContextKey" layout="${event-properties:item=ContextKey}"/>
        </layout>
      </target>

      <target xsi:type="RetryingWrapper" name="TpsDatabaseRetryWrapper" retryCount="5" retryDelayMilliseconds="100">
        <target-ref name="TpsDatabaseTarget"/>
      </target>

      <target xsi:type="AsyncWrapper" name="TpsDBAsyncWrapper" batchSize="1" overflowAction="Grow" queueLimit="10000" timeToSleepBetweenBatches="500">
        <target-ref name="TpsDatabaseRetryWrapper"/>
      </target>

      <target xsi:type="AsyncWrapper" name="TpsFileAsyncWrapper" batchSize="20" overflowAction="Grow" queueLimit="10000" timeToSleepBetweenBatches="500">
        <target-ref name="TpsFileTarget"/>
      </target>

    </targets>

    <rules>
      <logger name="*" minlevel="Debug" enabled="true" writeTo="TpsDBAsyncWrapper"/>
      <logger name="*" minlevel="Debug" enabled="true" writeTo="TpsFileAsyncWrapper"/>
    </rules>
</nlog>

In case of a BUG:

What is the current result?

The DB configuration works the first time but when the reload is fired by the file updating, the DB target throws the below exception and nothing is sent to the DB log. I am logging the connection string right after the call to LogManager.ReconfigExistingLoggers() and it is getting written to the file target but not the database target. The connection string is the same before and after the reload.
The nlog-internal.log Exception details:
 2016-10-12 12:14:31.8001 Error Error when writing to database. Exception:

System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'dbo.InsertLog'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
   at NLog.Targets.DatabaseTarget.Write(LogEventInfo logEvent)
ClientConnectionId:db2ae9ab-ff79-4cd2-9f93-6bec2f729962
Error Number:2812,State:62,Class:16
2016-10-12 12:14:31.8166 Warn Error while writing to 'Database Target[TpsDatabaseTarget]': System.Data.SqlClient.SqlException (0x80131904): Could not find stored procedure 'dbo.InsertLog'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent)
   at NLog.Targets.DatabaseTarget.Write(LogEventInfo logEvent)
   at NLog.Targets.Target.Write(AsyncLogEventInfo logEvent)
ClientConnectionId:db2ae9ab-ff79-4cd2-9f93-6bec2f729962

What is the expected result?
No error in the nlog-internal.log file and the database target works like it does when the app initially loads

Did you checked the Internal log?
Yes.

Please post full exception details (message, stacktrace, inner exceptions)
See the quote above

Are there any work arrounds?
Not that I know of, other than turning off auto reload

Is there a version in which it did worked?
Don't know

Can you help us by writing an unit test?
Yes, just let me know when.

I also just noticed that sometimes I get one of the exceptions mentioned above on the initial load, but after the first failed attempt the second one works. If I can narrow it down some more I will post an update.

The configuration is a combinations of code and XML

Are you updating the config after the config reload? E.g. with the LogManager.ConfigurationReloaded event?

@304NotModified - Yes, I am using the LogManager.ConfigurationReloaded event to trigger the C# config changes.

I mean, is this code called
  // The below is run in the LogManager_ConfigurationReloaded event handler and its intent is to
           // set the connection sting info using internal tools
           var dbConfig = configuration.FindTargetByName<DatabaseTarget>("TpsDatabaseTarget");
            if (dbConfig == null)
            {
                // Unable to configure db logging, missing a configuration file entry
                return;
            }

            try
            {
                dbConfig.ConnectionString = SpecialFunctionThatGetsConnectionString();
            }
            catch (Exception e)
            {
                // Unable to get connection string, so writing to a database will not be an option.
                dbConfig.ConnectionString = string.Empty;
            }

           LogManager.ReconfigExistingLoggers();

            return;

on LogManager.ConfigurationReloaded?
e.g. LogManager.ConfigurationReloaded += updateConfig

Yes. Exactly like that.

2016-10-12 12:14:31.8001 Error Error when writing to database. Exception:

Does this happen between the reloads? Please post the full internal log (trace level)

I had to rename the file to upload it (.log -> .txt), but here you go.
nlog-internal.txt

Do you know if the exceptions are still there when the config is finished reloading?

@304NotModified - Here is the trace output.
nlog-internal.trace.txt
I am not sure what you are talking about when you say:

...when the config has finished reloading?

Are you asking "Do those exceptions still occur when I attempt to log to the database target after the LogManager.ConfigurationReloaded handler has finished executing?"
If so, yes.

@304NotModified - I have traced it though a debug sessions of NLog I am able to locate the exception. It was happening because of an ill formatted connection string. I'm still tracing down the exact issue but it looks like my ConfigurationReloaded event is not firing for some reason (the EventHandler is null). I'll post some more when I figure out what is going on, but I just wanted to give you an update.

:+1:

@304NotModified
It looks like I misspoke earlier when I said the C# code was executing on the LogManager.ConfigurationReloaded event. It is actually executing on the LogManager.ConfigurationChanged event (my function was named wrong and I guess I was blinded by staring at it for too long).
What is the difference between the ConfigurationReloaded and ConfigurationChanged event handlers? I was manipulating the config returned from the LoggingConfigurationChangedEventArgs.NewConfiguration variable but it seems like that is what was causing the issue. I switched to the LogManager.ConfigurationReloaded event and read the config from LogManager.Configuration and now the database target is working after reloads. However, since there is no config object attached to the LoggingConfigurationReloadedEventArgs parameter, how do I know I am getting the new config or the old one. Is that the correct way to modify the config after a file change is detected? Or to say another way, should I be reading the config from LogManager.Configuration when I need to make changes after a config file reload?

What is the difference between the ConfigurationReloaded and ConfigurationChanged event handlers?

Reload when it's read the config and change if it was changed. So always reload and most of the time changed.
I will close this as this has been fixed, but we could improve the docs on this.


Visual Studio Crash in cancel

Category
[ ] Question
[X] Bug
[ ] Enhancement
Expected or Desired Behavior
I would expect that when I click on cancel the wizard closes and no files are created
Observed Behavior
Visual studio crashes and the project folder is created, but no files
Steps to Reproduce

Open visual studio 2015
Create a SPF webpart within a new project.
Click on cancel the wizard displays

Technically, not a crash. Rather VS closes. But your point is understood.

True! The same behavior with Visual Studio 2017

Fixed in #55b7d20.


hotfix: sip10 memo and rune balances

Try out Leather build 9a8d965 — Extension build, Test report, Storybook, Chromatic

Hotfixes for:

https://github.com/leather-wallet/extension/issues/5434
https://github.com/leather-wallet/extension/issues/5436

Hitting this error on the build, so investigating...