[WIP] Add CodeChallengeType and its accompanying types

This is the initial stab at a "template" for creating challenges. It includes an ExampleCodeChallenge complete with example entries and tests.
In a future commit I will convert the TwoSum challenge and entries to this style, followed by an implementation for the other two currently unimplemented challenges we have on deck.

This is still a work in progress as I'd like to get the 2 sum challenge converted to using this before I call it complete. But I wanted to get this up for review before then, since I may not get to that tonight, so I could get any feedback on it sooner than later.

For reference, here's what the console looks like after running the Example test:
22:35:17.852 xctest[91760:14474868] _XCT_testBundleReadyWithProtocolVersion:minimumVersion: reply received
22:35:17.855 xctest[91760:14474868] _IDE_startExecutingTestPlanWithProtocolVersion:16
Test Suite 'Selected tests' started at 2015-10-31 22:35:17.893
Test Suite 'ExampleChallengeTests' started at 2015-10-31 22:35:17.894
Test Case '-[CodeChallengeTests.ExampleChallengeTests testExampleEntries]' started.
=================================== Calculating results for 'Example Challenge' ====================================
1. Acid Burn - 0.00254s [100.0% success rate]
2. Crash Override - 0.17371s [79.6% success rate]
===================================                    fin.                     ====================================
Test Case '-[CodeChallengeTests.ExampleChallengeTests testExampleEntries]' passed (0.350 seconds).
Test Suite 'ExampleChallengeTests' passed at 2015-10-31 22:35:18.246.
	 Executed 1 test, with 0 failures (0 unexpected) in 0.350 (0.352) seconds
Test Suite 'Selected tests' passed at 2015-10-31 22:35:18.246.
	 Executed 1 test, with 0 failures (0 unexpected) in 0.350 (0.353) seconds

Test session log:
	/var/folders/4t/m1jnfktj1k73l6v3zw3sn74m0002_s/T/com.apple.dt.XCTest-status/Session-2015-10-31_22:35:15-koXzLa.log

Program ended with exit code: 0```

And for reference, here's what the TwoSum output looks like from this:
01:51:48.123 xctest[4648:15629127] _XCT_testBundleReadyWithProtocolVersion:minimumVersion: reply received
01:51:48.135 xctest[4648:15629127] _IDE_startExecutingTestPlanWithProtocolVersion:16
Test Suite 'Selected tests' started at 2015-11-01 01:51:48.231
Test Suite 'CodeChallenge.xctest' started at 2015-11-01 01:51:48.232
Test Suite 'TwoSumTests' started at 2015-11-01 01:51:48.233
Test Case '-[CodeChallengeTests.TwoSumTests testTwoSumEntries]' started.
=================================== Calculating results for 'Two Sum Challenge' ====================================
1. Aranasaurus	 avg: 0.00134s	total: 0.01345s	[100.0% success rate]
2. Nuudles		 avg: 0.00962s	total: 0.09623s	[100.0% success rate]
3. Mosab			 avg: 0.01619s	total: 0.16193s	[100.0% success rate]
4. Aryaxt		 avg: 0.39895s	total: 3.98952s	[100.0% success rate]
5. Logan			 avg: 0.41784s	total: 4.17836s	[100.0% success rate]
6. Jazbo			 avg: 0.44783s	total: 4.47827s	[100.0% success rate]
7. AlexPersian	 avg: 0.66587s	total: 6.65869s	[100.0% success rate]
8. IanKeen		 avg: 1.27528s	total: 12.75276s	[100.0% success rate]
===================================                    fin.                     ====================================
Test Case '-[CodeChallengeTests.TwoSumTests testTwoSumEntries]' passed (4.140 seconds).```

For reference, here's what the 2Sum output looks like with this setup:
01:51:48.123 xctest[4648:15629127] _XCT_testBundleReadyWithProtocolVersion:minimumVersion: reply received
01:51:48.135 xctest[4648:15629127] _IDE_startExecutingTestPlanWithProtocolVersion:16
Test Suite 'Selected tests' started at 2015-11-01 01:51:48.231
Test Suite 'CodeChallenge.xctest' started at 2015-11-01 01:51:48.232
Test Suite 'TwoSumTests' started at 2015-11-01 01:51:48.233
Test Case '-[CodeChallengeTests.TwoSumTests testTwoSumEntries]' started.
=================================== Calculating results for 'Two Sum Challenge' ====================================
1. Aranasaurus	 avg: 0.00134s	total: 0.01345s	[100.0% success rate]
2. Nuudles		 avg: 0.00962s	total: 0.09623s	[100.0% success rate]
3. Mosab			 avg: 0.01619s	total: 0.16193s	[100.0% success rate]
4. Aryaxt		 avg: 0.39895s	total: 3.98952s	[100.0% success rate]
5. Logan			 avg: 0.41784s	total: 4.17836s	[100.0% success rate]
6. Jazbo			 avg: 0.44783s	total: 4.47827s	[100.0% success rate]
7. AlexPersian	 avg: 0.66587s	total: 6.65869s	[100.0% success rate]
8. IanKeen		 avg: 1.27528s	total: 12.75276s	[100.0% success rate]
===================================                    fin.                     ====================================
Test Case '-[CodeChallengeTests.TwoSumTests testTwoSumEntries]' passed (4.140 seconds).

Removed the WIP tag from the title. I believe this is good to go. I couldn't tell what was breaking on the CI check... it works great on my machine. Maybe @aryaxt can help with that?


Add support for Jenkins 2.x

The primary purpose of this effort was to add support for installing Jenkins 2.x. The key part of that support is bypassing the Jenkins 2.x setup wizard.
Along the way, I also added retries for several tasks including plugin installation/update where I was seeing transient task failures that worked on subsequent playbook executions.
Links relevant to the eis_ansible-jenkins role changes:

https://github.com/EBSCOIS/eis_ansible-jenkins/tree/feature/plugin_config_support
https://github.com/EBSCOIS/eis_ansible-jenkins/wiki/Purpose-and-Use-of-eis_ansible-jenkins

Closing due to lack of attention. Probably obsolete now anyway.


Exporter/Stats/Stackdriver: Support Exemplar.

Depending on https://github.com/census-instrumentation/opencensus-java/pull/1770.
Stackdriver Monitoring has added support for Exemplar in the latest client libraries. Modify our Stackdriver Stats exporter to support it. Note that for now Stackdriver Monitoring backend only accepts string attachments. If we were to send other attachments (e.g type.googleapis.com/google.devtools.cloudtrace.v1.Trace), Stackdriver would return an error response saying that type is not supported.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@caf3c42). Click here to learn what that means.
The diff coverage is 96%.

@@            Coverage Diff            @@
##             master    #1771   +/-   ##
=========================================
  Coverage          ?   82.26%
  Complexity        ?     1980
=========================================
  Files             ?      291
  Lines             ?     9193
  Branches          ?      887
=========================================
  Hits              ?     7563
  Misses            ?     1336
  Partials          ?      294

Impacted Files
Coverage Δ
Complexity Δ

...rter/stats/stackdriver/StackdriverExportUtils.java
91.31% <96%> (ø)
62 <6> (?)

Continue to review full report at Codecov.

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

Updated to use the refactored APIs in https://github.com/census-instrumentation/opencensus-java/pull/1771/commits/fd2003029560cdbb93540e65283874e419ca6f50. PTAL.


Cannot find module '@schematics/angular/utility/parse-name'

I installed<EMAIL_ADDRESS>for my Nativescript project and tried to generate component using command its show me following error.
An unhandled exception occurred: Cannot find module '@schematics/angular/utility/parse-name'
See "/private/var/folders/g0/3gly57n500zb1xvl7rffy_100000gn/T/ng-Mxey0g/angular-errors.log" for further details.
here is errors.log
[error] Error: Cannot find module '@schematics/angular/utility/parse-name'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (/Users/apple/Codenatial/nativescript/demo/node_modules/@nativescript/schematics/src/generate/component/index.js:6:22)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
when I downgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>its working fine.

Hi @kdmakwana43,
does your project have a dependency on @angular/cli? Also, could you please share the contents of your package.json?

This worked for me.
npm i --save-dev @nativescript/schematics

Hi @kdmakwana43,
Does your project have a dependency on @angular/cli?
The @nativescript/schematics package tries to require a utility function from @schematics/angular. @schematics/angular is a dependency of @angular/cli. To fix the error, install the Angular CLI in your project:
npm install -D @angular/cli

That works for me. Love you! :)

Hi @kdmakwana43,
Does your project have a dependency on @angular/cli?
The @nativescript/schematics package tries to require a utility function from @schematics/angular. @schematics/angular is a dependency of @angular/cli. To fix the error, install the Angular CLI in your project:
npm install -D @angular/cli

That works for me. Love you! :)

I just login to say it work and thank you

This worked for me.
npm i --save-dev @nativescript/schematics

Thanks! It works for me!

npm install -D @angular/cli
npm i --save-dev @nativescript/schematic
These Commands Collectively helped me

The following fixed the issue for me :
npm i --save-dev @nativescript/schematics

Nothing helped me.
First, I had an error:
Cannot find module<EMAIL_ADDRESS>Running
npm install -D @angular/cli command turned error  into familiar this post error.
After running
npm i --save-dev @nativescript/schematics the next error appeared:
Error: Invalid rule result: Instance of class Promise.     at t.r.pipe.o.mergeMap.r [as project] (C:\Users\taekw\AppData\Roaming\npm\node_modules\nativescript\node_modules\@nativescript\schematics-executor\dist\index.js:250:1038)     at t._tryNext (C:\Users\taekw\AppData\Roaming\npm\node_modules\nativescript\node_modules\@nativescript\schematics-executor\dist\index.js:30:1878)     at t._next (C:\Users\taekw\AppData\Roaming\npm\node_modules\nativescript\node_modules\@nativescript\schematics-executor\dist\index.js:30:1780)     at t.next (C:\Users\taekw\AppData\Roaming\npm\node_modules\nativescript\node_modules\@nativescript\schematics-executor\dist\index.js:16:1093)     at e._subscribe (C:\Users\taekw\AppData\Roaming\npm\node_modules\nativescript\node_modules\@nativescript\schematics-executor\dist\index.js:74:13873)     at e._trySubscribe  etc..

Hey @AndrePu ,
Can you send us your package.json? Can you try updating all of your Angular dependencies (remove your package-lock.json before that) and see if this resolves the issue on your side?

I am also have this problem when trying to use the cli to generate a component:
Error: Invalid rule result: Instance of class Promise.
I've done all the steps suggested above including updating the angular dependencies.

I created a new project based on this template: tns create --template tns-template-drawer-navigation-ng
Attempted to create a component: tns generate c home/test and received this error:
Cannot find module '@schematics/angular/utility/parse-name'
Next ran: npm i --save-dev @nativescript/schematics
And then: tns generate c home/test, and received error:
Cannot find module '@schematics/angular/utility/parse-name'
Uninstalled @nativescript/schematics
Ran npm install -D @angular/cli
And then  tns generate c home/test and received the error:
Cannot find module '@schematics/angular/utility/parse-name'
Installed @nativescript/schematics
Ran tns generate c home/test and received:
Error: Invalid rule result: Instance of class Promise.
at t.r.pipe.o.mergeMap.r [as project] (C:\Users\Mark\AppData\Roaming\npm\node_modules\nativescript\node_modules@nativescript\schematics-executor\dist\index.js:250:1038)

I went back to my old project, and because I had deleted the package-lock.json I decided to run:
npm i @nativescript/angular
And now I can generate a component.

This worked for me.
npm i --save-dev @nativescript/schematics

Saved my day. Thank you!

typescript has been moved to @schematics/angular/node_modules/typescript/lib/typescript"
Find and replace all to the new location.

hello,
I have been trying to install Angular Material in a new Angular 9 project with ng add @angular/material but I am getting this error too: Cannot find module<EMAIL_ADDRESS>I have installed the npm i @nativescript/angular and npm install -D @angular/cli but nothing helped so far.
Anybody any idea what else I can try or another way to install Angular Material?

hello,
I have been trying to install Angular Material in a new Angular 9 project with ng add @angular/material but I am getting this error too: Cannot find module<EMAIL_ADDRESS>I have installed the npm i @nativescript/angular and npm install -D @angular/cli but nothing helped so far.
Anybody any idea what else I can try or another way to install Angular Material?

typescript has been moved to @schematics/angular/node_modules/typescript/lib/typescript"
Find and replace all to the new location.

hello,
I have been trying to install Angular Material in a new Angular 9 project with ng add @angular/material but I am getting this error too: Cannot find module<EMAIL_ADDRESS>I have installed the npm i @nativescript/angular and npm install -D @angular/cli but nothing helped so far.
Anybody any idea what else I can try or another way to install Angular Material?

typescript has been moved to @schematics/angular/node_modules/typescript/lib/typescript"
Find and replace all to the new location.

@realivatesolutions thank you!

This worked for me.
npm i --save-dev @nativescript/schematics

Hi @kdmakwana43,
Does your project have a dependency on @angular/cli?
The @nativescript/schematics package tries to require a utility function from @schematics/angular. @schematics/angular is a dependency of @angular/cli. To fix the error, install the Angular CLI in your project:
npm install -D @angular/cli

This working for me !

npm install -D @angular/cli
npm i --save-dev @nativescript/schematics

These two commands also helped me

when I try to add --> ng add @angular/material to my new project throwing me a error
Cannot find module '@schematics/angular/utility/project'
Require stack:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>C:\Users\Minisha\AppData\Roaming\npm\node_modules@angular\cli\bin\ng

Anyone help me how to solve it.

I am experiencing the same issue but with normal ng generate component command.

Same issue with ng generate component.

Same issue with ng generate component.

Inspecting an old project, found "project.d.ts" and "project.js" under "@schematics\angular\utility". Just copied those 2 files to my new project, and it worked. Surely not a good practice tho.

Same issue with ng g c newcomponent
I tried all previous steps but nothing worked for me

Trying to add a component with: ng generate component my-name
I get this:
An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- C:\Users\Me\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng

These are my current versions:
Angular: 9.1.11
Angular CLI: 10.0.0
Node: 12.18.1
Something about the Schematics that screw this up it seems...

@Holei94 I had the same issue after updating my @angular/cli dependency to v 10.0.0 (like you). I just tried it against v 9.1.8 and it worked.
I also tried the various other suggestions, such as installing @schematics/angular, but no luck. Might be an issue with the latest angular cli (v10+).
TLDR: I downgraded to v 9.x.x of the @angular/cli and thereafter ng generate component abc worked.

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Hi all.
I have to write this due to I can figure out how to fix this problem.
When I try to generate a component I have an issue:
ng g c challenges/challenge-edit
Then I get this:

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Require stack:

C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS><EMAIL_ADDRESS>C:\Users\julia\AppData\Roaming\npm\node_modules@angular\cli\bin\ng

See "C:\Users\julia\AppData\Local\Temp\ng-qOzXJZ\angular-errors.log" for further details.

I have tried to run the commands above:
npm install -D @angular/cli
npm i --save-dev @nativescript/schematics
But unfortunately the issue persist
To be honest I do not know what is the problem,
I am running Angular CLI: 10.0.1
npm 6.14.5
nativeScript 6.7.4
I would appreciate any help to fix it.

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Hi all.
I have to write this due to I can figure out how to fix this problem.
When I try to generate a component I have an issue:
ng g c challenges/challenge-edit
Then I get this:

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Require stack:

C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS><EMAIL_ADDRESS>C:\Users\julia\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
See "C:\Users\julia\AppData\Local\Temp\ng-qOzXJZ\angular-errors.log" for further details.

I have tried to run the commands above:
npm install -D @angular/cli
npm i --save-dev @nativescript/schematics
But unfortunately the issue persist
To be honest I do not know what is the problem,
I am running Angular CLI: 10.0.1
npm 6.14.5
nativeScript 6.7.4
I would appreciate any help to fix it.

Downgrade @angular/cli to 9.1.8, just as above poster said.

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Hi all.
I have to write this due to I can figure out how to fix this problem.
When I try to generate a component I have an issue:
ng g c challenges/challenge-edit
Then I get this:

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Require stack:

C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS><EMAIL_ADDRESS>C:\Users\julia\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
See "C:\Users\julia\AppData\Local\Temp\ng-qOzXJZ\angular-errors.log" for further details.

I have tried to run the commands above:
npm install -D @angular/cli
npm i --save-dev @nativescript/schematics
But unfortunately the issue persist
To be honest I do not know what is the problem,
I am running Angular CLI: 10.0.1
npm 6.14.5
nativeScript 6.7.4
I would appreciate any help to fix it.

Downgrade @angular/cli to 9.1.8, just as above poster said.

Thanks dude. Gracias amigo.
I Downgraded just the dependency  @schematics and it works now.
npm uninstall @schematics/angular
npm cache clean
npm install<EMAIL_ADDRESS>

the normal solution to try is :

npm install -D @angular/cli

make sure you have nativescript/schematics in your package.json . otherwise add it with :

npm i --save-dev @nativescript/schematics

if you still get the same problem, this because you have incompatible version between dependencies ,for example<EMAIL_ADDRESS>and<EMAIL_ADDRESS>. in this case you have to downgrade the appropriate dependency  to 9.x.x  :
npm uninstall @schematics/angular
npm cache clean
npm install<EMAIL_ADDRESS>

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Hi all.
I have to write this due to I can figure out how to fix this problem.
When I try to generate a component I have an issue:
ng g c challenges/challenge-edit
Then I get this:

An unhandled exception occurred: Cannot find module '@schematics/angular/utility/project'
Require stack:

C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS>C:\Users\julia\Desktop\PROGRAMMING\UDEMY\ANGULAR\MAXIMILIAN<EMAIL_ADDRESS><EMAIL_ADDRESS>C:\Users\julia\AppData\Roaming\npm\node_modules@angular\cli\bin\ng
See "C:\Users\julia\AppData\Local\Temp\ng-qOzXJZ\angular-errors.log" for further details.

I have tried to run the commands above:
npm install -D @angular/cli
npm i --save-dev @nativescript/schematics
But unfortunately the issue persist
To be honest I do not know what is the problem,
I am running Angular CLI: 10.0.1
npm 6.14.5
nativeScript 6.7.4
I would appreciate any help to fix it.

Downgrade @angular/cli to 9.1.8, just as above poster said.

Thanks dude. Gracias amigo.
I Downgraded just the dependency @schematics and it works now.
npm uninstall @schematics/angular
npm cache clean
npm install<EMAIL_ADDRESS>

this work, thank you:
tip use npm cache clean --force
and after that in some json files i need to remove comments

Are there any updates because none of this worked for me.
{   "name": "my-app",   "nativescript": {     "id": "org.nativescript.myapp"   },   "version": "0.0.0",   "scripts": {     "ng": "ng",     "start": "ng serve",     "build": "ng build",     "test": "ng test",     "lint": "ng lint",     "e2e": "ng e2e",     "android": "tns run android --env.aot",     "ios": "tns run ios --env.aot",     "mobile": "tns run",     "preview": "tns preview"   },   "private": true,   "dependencies": {     "@angular/animations": "~9.1.0",     "@angular/common": "~9.1.0",     "@angular/compiler": "~9.1.0",     "@angular/core": "~9.1.0",     "@angular/forms": "~9.1.0",     "@angular/http": "~9.1.0",     "@angular/platform-browser": "~9.1.0",     "@angular/platform-browser-dynamic": "~9.1.0",     "@angular/router": "~9.1.0",     "@nativescript/angular": "^9.0.0",     "@nativescript/core": "~6.5.5",     "@nativescript/theme": "~2.2.1",     "@schematics/angular": "^9.1.8",     "core-js": "^2.6.9",     "reflect-metadata": "~0.1.12",     "rxjs": "~6.5.5",     "tslib": "1.10.0",     "zone.js": "~0.10.2"   },   "devDependencies": {     "@angular-devkit/build-angular": "~0.901.0",     "@angular/cli": "^9.1.12",     "@angular/compiler-cli": "~9.1.0",     "@nativescript/schematics": "~2.0.0",     "@nativescript/tslint-rules": "~0.0.5",     "@types/jasmine": "~3.5.0",     "@types/jasminewd2": "~2.0.3",     "@types/node": "^12.11.1",     "codelyzer": "^5.1.2",     "jasmine-core": "~3.5.0",     "jasmine-spec-reporter": "~4.2.1",     "karma": "~4.4.1",     "karma-chrome-launcher": "~3.1.0",     "karma-coverage-istanbul-reporter": "~2.1.0",     "karma-jasmine": "~3.0.1",     "karma-jasmine-html-reporter": "^1.4.2",     "nativescript-dev-webpack": "~1.5.0",     "protractor": "~5.4.3",     "ts-node": "~8.3.0",     "tslint": "~6.1.0",     "typescript": "~3.8.3"   } }

Can someone give a step-by-step from creating a new code share project -- > creating a new component in that project. I have followed the latest instructions and fixes and cant seem to get the new project to create a new component within it.

Does this solution work for the same error encountered in a code sharing environment? When I run:
npm i --save-dev @nativescript/schematics
I get the following error:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/owner/.npm/_logs/2020-08-02T14_32_06_441Z-debug.log

Then going to the log, I see this:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'i',
1 verbose cli   '--save-dev',
1 verbose cli   '@nativescript/schematics' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose npm-session ab573dfebc8448d0
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/@nativescript%2fschematics 703ms
8 silly fetchPackageMetaData error for<EMAIL_ADDRESS>No matching version found for<EMAIL_ADDRESS>9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 1075ms
11 verbose type range
12 verbose stack @nativescript/schematics: No matching version found for<EMAIL_ADDRESS>12 verbose stack     at pickManifest (/usr/local/lib/node_modules/npm/node_modules/npm-pick-manifest/index.js:122:13)
12 verbose stack     at fetchPackument.then.packument (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/fetchers/registry/manifest.js:24:14)
12 verbose stack     at tryCatcher (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
12 verbose stack     at Promise._settlePromiseFromHandler (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:517:31)
12 verbose stack     at Promise._settlePromise (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:574:18)
12 verbose stack     at Promise._settlePromise0 (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:619:10)
12 verbose stack     at Promise._settlePromises (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:699:18)
12 verbose stack     at _drainQueueStep (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:138:12)
12 verbose stack     at _drainQueue (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:131:9)
12 verbose stack     at Async._drainQueues (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:147:5)
12 verbose stack     at Immediate.Async.drainQueues [as _onImmediate] (/usr/local/lib/node_modules/npm/node_modules/bluebird/js/release/async.js:17:14)
12 verbose stack     at runCallback (timers.js:705:18)
12 verbose stack     at tryOnImmediate (timers.js:676:5)
12 verbose stack     at processImmediate (timers.js:658:5)
13 verbose cwd /Users/owner/Desktop/angular/familyMaster/familyseedsshared
14 verbose Darwin 19.5.0
15 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "--save-dev" "@nativescript/schematics"
16 verbose node v10.16.3
17 verbose npm  v6.14.7
18 error code ETARGET
19 error notarget No matching version found for<EMAIL_ADDRESS>20 error notarget In most cases you or one of your dependencies are requesting
20 error notarget a package version that doesn't exist.
21 verbose exit [ 1, true ]

Thanks in advance!

@JasonEdLewis looks like you have old incorrect version installed globally:

No matching version found for<EMAIL_ADDRESS>
The latest is 10.0.1
You may try installing globally again.
npm i -g @nativescript/schematics

@JasonEdLewis looks like you have old incorrect version installed globally:

No matching version found for<EMAIL_ADDRESS>
The latest is 10.0.1
You may try installing globally again.
npm i -g @nativescript/schematics

Thank you soo much Nathan!! I appreciate your work on this project, your time and you getting me over this hurdle!!

npm install<EMAIL_ADDRESS>
This worked for me.
Thanks @vapstor

This may be an issue with my versions now but after following all the above steps I get another error.
Package.json:
"dependencies": {
"@angular/animations": "~11.0.0",
"@angular/common": "~11.0.0",
"@angular/compiler": "~11.0.0",
"@angular/core": "~11.0.0",
"@angular/forms": "~11.0.0",
"@angular/platform-browser": "~11.0.0",
"@angular/platform-browser-dynamic": "~11.0.0",
"@angular/router": "~11.0.0",
"@nativescript/angular": "~11.0.0",
"@nativescript/core": "~7.1.0",
"@nativescript/theme": "~3.0.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.6.0",
"zone.js": "~0.11.1"
},
"devDependencies": {
"@angular/cli": "~9.1.8",
"@angular/compiler-cli": "^11.2.0",
"@nativescript/android": "7.0.1",
"@nativescript/schematics": "10.0.0",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~4.0.0",
"@ngtools/webpack": "~11.0.0",
"@schematics/angular": "^9.1.8",
"tslint": "^6.1.3",
"typescript": "~4.0.0"
}
Error:
nsconfig.json not found. Assuming this is a {N} only project
Project is not configured for NativeScript, while --web is set to false

This may be an issue with my versions now but after following all the above steps I get another error.
Package.json:
"devDependencies": {
"@angular/cli": "~9.1.8",
"@angular/compiler-cli": "^11.2.0",
"@nativescript/android": "7.0.1",
"@nativescript/schematics": "10.0.0",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~4.0.0",
"@ngtools/webpack": "~11.0.0",
"@schematics/angular": "^9.1.8",
"tslint": "^6.1.3",
"typescript": "~4.0.0"
}
Error:
nsconfig.json not found. Assuming this is a {N} only project
Project is not configured for NativeScript, while --web is set to false
Furthermore with this other configuration of devDependencies I get a different error.
"devDependencies": {
"@angular/cli": "^9.1.0",
"@angular/compiler-cli": "~11.0.0",
"@nativescript/android": "7.0.1",
"@nativescript/schematics": "^11.0.0",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~4.0.0",
"@ngtools/webpack": "~11.0.0",
"@schematics/angular": "^9.1.0",
"tslint": "^6.1.3",
"typescript": "~4.0.0"
}
error:
ng g c abc
Could not find an NgModule. Use the skip-import option to skip importing in NgModule.
ng g c abc --skip-import
Failed to generate remapped imports! Please see: https://docs.nativescript.org/angular/code-sharing/intro#remapped-imports
CREATE src/app/abc/abc.component.html (18 bytes)
CREATE src/app/abc/abc.component.spec.ts (607 bytes)
CREATE src/app/abc/abc.component.ts (262 bytes)
CREATE src/app/abc/abc.component.css (0 bytes)
CREATE src/app/abc/abc.component.tns.css (49 bytes)
CREATE src/app/abc/abc.component.tns.html (59 bytes)
desired would not need the skip flag, update app.component, and generate files without .tns bc its mobile only

Same here, i hope someone could help.


terraform_docs failing on complex types which contains "description"

How reproduce
Working code:
staged README.md
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

staged vars.tf
variable "ingress_cidr_blocks" {
  description = "Bzzzzz"
  type = list(
    object({
      # description = string
      cidr_blocks = string
      from_port   = number
      to_port     = number
      protocol    = string
    })
  )

  default = [
    {
      description = "SG"
      cidr_blocks = "<IP_ADDRESS>/32"
      from_port   = 22
      to_port     = 22
      protocol    = "tcp"
    },
  ]
}

provider "aws" {
  region = "eu-west-1"
}

If uncomment  # description = string - terraform_docs failed:
Terraform docs...........................................................Failed
hookid: terraform_docs

2019/09/09 18:19:45 At 4:21: Unknown token: 4:21 IDENT string

Root case
Error happens because awk rewrite this type to next construction:
variable "ingress_cidr_blocks" {
  description = "Bzzzzz"
  type = "list("
      description = string
  default = [
    {
      description = "SG"
      cidr_blocks = "<IP_ADDRESS>/32"
      from_port   = 22
      to_port     = 22
      protocol    = "tcp"
    },
  ]
}

Suggestion
"type" need be rewrite to "multiline", but I spend about 2 hours on it and not get excepted result.
I made crutch that fix error, but it will be good have full value, as in "default" block.
Workaround
Just not specify description field in complex types.

Hello @cytopia,
Here is another bug-feature request for terraform_docs_awk.
Bug I propose fixing via patch, but it temporaty solution and not add to README full variable type

@MaxymVlasov I was already playing around with this one, but it is kind of tough.
It could probably be much easier solved If I can assume that terraform fmt has always been applied beforehand, but not sure If that would be good.

Well, if terraform fmt will make code in a way that terraform_docs always understand we can make it as a hard requirement and ask everyone to have something like this:
repos:
  - repo: git://github.com/antonbabenko/pre-commit-terraform
    rev: v1.19.0
    hooks:
      - id: terraform_fmt
      - id: terraform_docs

What should this type evaluate to?
  type = list(
    object({
      # description = string
      cidr_blocks = string
      from_port   = number
      to_port     = number
      protocol    = string
    })
  )

Should it be just list or list(object) or list(map(object)) or something else?

This is not valid for 0.11, so it has to be treated as type = list which is valid in both 0.11 and 0.12.

The valid types I found for 0.11 are:

list
list(map(string))
list(string)

So the above case should eval to list then?

@MaxymVlasov @antonbabenko I managed to create a fix without the requirement for terraform fmt beforehand. Can you guys give it a try:
docker run --rm \
  -v $(pwd):/data \
  cytopia/terraform-docs:0.6.0-release-0.11 \
  terraform-docs-replace-012 \
    --sort-inputs-by-required \
    --with-aggregate-type-defaults md README.md

If this works, I'll create a PR

It works much better then my crutch. Thank you much @cytopia @antonbabenko


How to detect mouse leaving item list?

It will be nice to have Downshift.stateChangeTypes.itemMouseLeave (as a counterweight to Downshift.stateChangeTypes.itemMouseEnter) or some callback listener like onOuterEnter(Leave) to determine when user leave opened dropdown menu and make possibility close it.

Thanks for the issue! However no state changes when that event occurs so we won't as that, but you can definitely add an event handler on the item element that you render yourself.
Let us know if you need an example of doing that and I'm sure someone can help. Thanks again! And good luck!

When the mouse is leaving item with a sense that it doesn't enter another item on item list highlightedIndex should change to -1 to note that nothing is highlighted. In that sense it is state change.


Hacking around some debug checks in order to run in debug.

State of investigation on checks I'm ignoring:

EEContract::Dochecks - As far as I know this is due to how we are currently not CoreCLR GC safe but we should be at some point :tm:
TypeCheck - This one requires more investigation. It appears we are using CoreCLR APIs incorrectly here.
PEImage::CheckUniqueInstance - From the investigation that I've done this seems related to how we are running embedded and certain libraries are being loaded in an unexpected way (like nunit) and this check is failing.

Can you put the information about each in the PR description in the code as comments? I think that will make it easier to find when we need to revisit these.


I want to add a converter from Prefix to Postfix and Infix in C++

A converter that takes a prefix expression as user input and outputs the postfix and infix expressions of the same.
Is your feature request related to a problem? Please describe.
Its not a problem, but this is part of the data structure and algo course in several colleges and I believe it'll be helpful to several students.
Describe the solution you'd like
The gist of the solution is to create an expression tree from the input and parse it in Inorder and Postorder to produce the outputs. The data structures used would be stackNode, and tree.
Additional context
Add any other context or screenshots about the feature request here.
Languages

[ ] Python: ?
[ ] Java: ?
[ ] C: ?
[x] C++: @C0DINGLE

@C0DINGLE Assigned to you. Don't make your changes to your master branch. Create a separate branch for this issue

I can code this in java, please assign if required.

@PrakashAditya17 assigned

Can I take this in C?

@kaustubhgupta ,
I have added the code(for PrefixConversion) in Java Folder(in the forked repo). Please check if its valid.

@kaustubhgupta ,
I have added the code(for PrefixConversion) in Java Folder(in the forked repo). Please check if its valid.

I cant't see any PR linked with this issue. Please edit your PR template to link it to this issue

Okay I am editing the PR template.


[WIP] Ensure all .ts files have "use strict";

(for #611)
This PR also make sure those same files also have copyright notices (but does not ensure that all files have copyright notices).

This isn't a necessary change.

None of this is valid.


Support writing points via UDP

I added support to use the UDP interface...

:+1:

Was wondering if the gem supported UDP as that's a must have for us, thanks! @toddboom the last release is around 8 months old, is there someone maintaining this gem?

@cimm I'm going to play ruby gem cleanup today - I'll try to get a final release for v0.8 out ASAP and then move towards cleaning up the API for v0.9.

@toddboom Thank you for cleaning up and merging the pull requests, much appreciated.
@errm I pulled master to play with the UDP support today and feel it's an immature pull requests. Didn't realize that earlier, sorry. Here are some remarks:
The UDP client initializer signature is different from the HTTP client one. It's way more limited and the port is required (it's optional in the HTTP client). You can't specify a database as in the HTTP client. This feels like a quick hack.  What's its purpose? I feel it's better to let the calling method handle the error and decide what to do with it? https://github.com/influxdb/influxdb-ruby/blob/4345a5d3cc0d158064ccb45f36500fad217b85de/lib/influxdb/udp_client.rb#L13
The influxdb.write_point(name,data) call alternately returns an integer and nil. But none of the values ever reach the server.
TL;DR: This pull request is a good start to support UDP but is not production ready and should, IMHO, not be on master.

@toddboom, included influxdb in my Gemfile. the gem does not contain UDP support, when i look into the branch, the master has the latest udp_client.rb file, but in  the tag 0.1.8, it's missing.
UDP needed urgently


Microsoft Graph API TransitiveMemberOf Permissions Wrong

The permissions listed on Microsoft Graph API's documentation on getting the groups a user is a member of is wrong (https://learn.microsoft.com/en-us/graph/api/user-list-transitivememberof?view=graph-rest-1.0&tabs=http). It says that application permissions are not supported for that request, and that is not true. It seems this change happened three weeks ago.

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

ID: e8a7f020-9903-7af9-7102-3bf26ff89c3a
Version Independent ID: 11dc19b6-ee12-b814-c871-f0df80adc8d3
Content: Microsoft Graph overview - Microsoft Graph
Content Source: concepts/overview.md
Product: non-product-specific
Technology: microsoft-graph
GitHub Login: @angelgolfer-ms
Microsoft Alias: MSGraphDocsVteam

Thank you @ZackKorman for reporting this bug.
The permissions information is fetched from an internal source so I've filed an internal bug # 2835902 for the upstream source to be fixed, then the changes will be propagated downstream to the docs.

Duplicate of #https://github.com/microsoftgraph/microsoft-graph-docs-contrib/issues/9076


Windows client add system tray?

Support with greatest like!

This feature has been released on the Windows client v1.1.2.


Need a method of force quitting when it hits an error

This script does not work with gentoo whehn I run it and ask it to configure neovim.
it reports "Unsupported OS" and the only escape method is to force close the terminal. IMHO This should call an exit

It should now exit correctly with the latest main branch.

confirmed


enabling backlog tracing for routes

Hi,
is it possible to add/enable camel backlog tracing for routes so as to help in debugging.
BACKLOGTRACER
Camel supports a backlog tracer interceptor that is used for capturing a trace message of each message as they are routed in Camel. The trace message is stored in a backlog queue, which contains the last N messages for each node in the routes (by default 10).

I believe that you need to add camel.main.backlog-tracing = true in application.properties to enable backlogtracing

Camel 3.21 with camel-jbang comes with tracing enabled OOTB and you can use the new camel trace command
https://camel.apache.org/manual/camel-jbang.html#_tracing_messages


Added section on securing key-management solutions

Hi @johnstudarus. Submitted a section on key-management protection.

Thank you for your PR! This repo is setup as a tutorial walking someone through the steps required to secure bare metal as part of a hands-on workshop - i.e. step 1, step 2, step 3...  The PR you submitted is more of a blog post and summary of potential solutions. I'm going to cloud out this PR and suggest taking the content you wrote and using it in a blog post or some other medium where it would get a better audience.

@johnstudarus Would it help if we provide concrete steps for securing several key-management tools using Anjuna Runtime Security?


Integrate a logging lib

Integrate and configure a good logging library for logging purposes.
https://github.com/op/go-logging seems good.

@agentmilindu Can I be assigned this issue?

Yeah, please proceed with this and send a PR


Refactor the structure of the client sandboxes

\cc @LavrovArtem @miherlosev
Based on https://github.com/superroma/testcafe-hammerhead/issues/5

Exclude 'sandboxes' entity to the 'sandboxes.js' file
Simplify dom sandbox to the node sandbox
Make "sandboxes" entity a point of entry for all sandboxes

We can just have index.js in the client/sanboxes


Additional features.

I have added few additional improvements to make testing even more flexible. You have already implemented most of the key features required for making API calls from protractor tests.
There are few scenario's where testing of some real time applications becomes more complex because we need to relay on API's for test data. In such situation we need to make API call for same endpoint in multiple places. To make it more easier i have modified your existing client to provide a way to register a set of API's in bulk and reuse them in the tests directly(inspired from Angular resource project). Below are the list for changes that i have done.

Added PATCH request method.(current framework doesn't have a way to make path calls.)
Provided ability to register API enpoints in bulk.
Provided support for wildcard routes like "/products/{productId}".
Created additional Utility methods to JsonPromise class for processing response body.
Added new Tests for registered API's(with authentication and without authentication).
Included demo REST API server developed using Json-server for testing all methods.
Integrated gulp to automate build process.

Feel free to approve/reject the pull request after reviewing the changes.
Thanks.

Made the changes as suggested. Kindly review it!
Thanks!

thanks atain @sudharsan-selvaraj ! 🎉


Problem with setting seed

Hi everyone,
Has anyone had issues with setting the seeds for running the experiments? I have tried to change the seeds in the config files, as well as within the main.py script, but whenever I run the experiment and it prints out the configuration for the experiment, the seed that appears is not the one I have set.
Does anyone know the solution to the problem? Thank you.

Hi, I met the same problem, have you found how to solve that? Thanks

Hi @Persvadisto , nope I just gave up on pymarl.


gnome.gnome-disk-utility: 40.1 -> 40.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for gnome.gnome-disk-utility is: "A udisks graphical front-end"
meta.homepage for gnome.gnome-disk-utility is: "https://wiki.gnome.org/Apps/Disks"
meta.changelog for gnome.gnome-disk-utility is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2/bin/gnome-disks passed the binary check.

/nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2/bin/gnome-disk-image-mounter passed the binary check.

/nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2/bin/.gnome-disks-wrapped passed the binary check.

/nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2/bin/.gnome-disk-image-mounter-wrapped passed the binary check.

4 of 4 passed binary check by having a zero exit code.

0 of 4 passed binary check by having the new version present in output.

found 40.2 with grep in /nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2

found 40.2 in filename of file in /nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2

directory tree listing: https://gist.github.com/be8154a6385430ca08dfe8ba433276f1

du listing: https://gist.github.com/9f869a834889166472c19cf7e764b3e6

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

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
gnome.gnome-disk-utility

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.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 gnome.gnome-disk-utility https://github.com/r-ryantm/nixpkgs/archive/27214b3408ecfb13197cfea708d9ed1f83739a8e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.2
ls -la /nix/store/njfqchg3rbvnhhg84br6w8r53xb32jps-gnome-disk-utility-40.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:

gnome.gnome-disk-utility

Maintainer pings
cc @hedning @jtojnar @dasj19 @maxeaubrey for testing.

Changelog seems fine
40.2 - July 10, 2021
====================

Manuel Wassermann:
 * gdusdmonitor: Fix notification icon

Kai Lüke:
 * Escape hyperlink text in mount point label


Adding more dynamic programming algorithms

Adding more famous dynamic programming problems like the Knapsack problem.

@heisenberg-2505 Sure, go ahead! Make sure to read the contribution guidelines first, and then you can add either the 0/1 knapsack (in 0_1_knapsack.hpp) or unbounded knapsack (in unbounded_knapsack.hpp), or both, under C++/include/algorithm/dynamic_programming.
Whichever you decide to add, please open a new issue for each one and mention it in your PR's description (separate PRs too for each algorithm). This would make it easy in tracking the progress.

Okay.

The path you have mentioned is not yet in the project. Should I create the directory?

Moving this conversation to #188.


Fix stats doc typo

Noticed while reading through the godoc https://godoc.org/go.opencensus.io/stats#RegisterExporter

Thank you @rakyll!


Build issue when using VSTS

I am trying to use VSTS to build my Xamarin Forms app (Android in this case).
I am seeing an error that says
Xamarin\SampleApp\obj\Debug\SampleApp.Views.PurchaseOptionButtonView.xaml.g.cs(18,25): Error CS0400: The type or namespace name 'FFImageLoading' could not be found in the global namespace (are you missing an assembly reference?)
But I also see a bunch of warnings (below) and I am wondering if these might be the cause. Any idea how I can fix these?
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3274: The primary reference "FFImageLoading, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3275: The primary reference "FFImageLoading.Forms, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3275: The primary reference "FFImageLoading.Platform, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3275: The primary reference "FFImageLoading.Transformations, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3274: The primary reference "FFImageLoading.Forms, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3274: The primary reference "FFImageLoading.Platform, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3275: The primary reference "FFImageLoading.Forms, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "FFImageLoading.Platform, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null" which was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(1988,5): warning MSB3274: The primary reference "FFImageLoading.Transformations, Version=<IP_ADDRESS>, Culture=neutral, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETPortable,Version=v5.0" framework. This is a higher version than the currently targeted framework ".NETPortable,Version=v4.5,Profile=Profile111". [d:\a\1\s\Xamarin\SampleApp\SampleApp.csproj]
Regards,
-Jeff

It's probably this: https://nicksnettravels.builttoroam.com/post/2016/12/06/When-I-grow-up-I-want-to-be-a-NETStandard-Library!.aspx
It's not exactly FFImageLoading issue, rather msbuild / Visual Studio. I can use some workarounds for that, but the problem is it's only a work-around.


Fix issue 396 - Reject quotes from user name

Fix #396
Add a constant to make possible add another invalid chars for use name, and use a callback to verify if user name needs to be sanitazed before create a user.

Hello @scott I will fix merge error, and I'll accept you suggestion to change callback and push it again soon.

Hello @scott can you see my changes again ?

Sorry for the delay, I have been on vacation out of the country.  I think this looks good, let me double check it and merge it in

Ok @scott, Thanks!


Add support for exporting metrics in the Prometheus format

https://trello.com/c/N0D2eNGd/326-edit-paas-metric-exporter-to-make-it-work-with-prometheus
This pull request adds support for exporting metrics to a Prometheus server. The application can be run with the optional ENABLE_PROMETHEUS environment variable. If set, the application runs a HTTP handler that serves a /metrics endpoint and uses PrometheusSender internally to expose metrics to this endpoint.
We did some refactoring as part of this work to allow the Sender to be swapped out.
We've added some basic documentation to the readme for our changes, but once our team's project moves from alpha we'll likely add some additional set up steps to our public-facing documentation. For example, currently the application does not require a route for statsd as it pushes to a statsd server, whereas for Prometheus it does require a route to be bound to the application in the PaaS space.

@dcarley any update on this?

Thanks for the squashing/rebasing!
Would you also be able to squash the last commit ("Fixed according to review by dcarley") into the relevant commit(s)? After we've merged this it won't give much information to somebody looking at the commit history.

@chrisfarms finally squashed everything down and repushed.

Thanks for working through the changes @philandstuff 👍


Extended events do not capture CREATE and ALTER LOGIN statements

In SQL server 2012 and 2016, CREATE LOGIN and  ALTER LOGIN statements [are not trackable] by Extended events.
Is that bug or intentional?
Any alternative to capture same in SQL server in-premises environments ?
Thank you,
<EMAIL_ADDRESS>[Enter feedback here]

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

ID: df1b0130-7e8b-5b69-8042-cf9f08b66bd4
Version Independent ID: 45454041-f3d6-fbdf-ca37-52ba2f7898a9
Content: XEvents overview - SQL Server - SQL Server
Content Source: docs/relational-databases/extended-events/extended-events.md
Product: sql
Technology: xevents
GitHub Login: @MightyPen
Microsoft Alias: genemi

I wonder whether this tracking of CREATE LOGIN is within the capability of:
SSMS > Object Explorer > Databases > my database > Security > Audit
?

@wasim-sayyad This is not a bug. Perhaps it would be nice to have.
Thank you for inquiring. This Issue 2197 is now being closed.


Resolve documentation warning

Change callbackQueue to delegateQueue

Will be available on the next release. Thanks for catching it and for the PR!


Add grafana summary visualization

What would you like to be added?
Add display of pod status summary in Grafana, allowing users to understand the root cause of pod delivery errors.
Why is this change required? What problem does it solve?
There are a large number of key events in the pod lifecycle, and users who lack knowledge related to kubernetes will find it difficult to extract useful information from them. A summary description of errors is needed.
In addition, the user is also unaware of the slo timeout period set by lunettes. We hope to inform users before delivery is completed

@linuzb @d3c3mber  Could you please take a look at my issue and plan to see if they are reasonable? I have proposed a PR https://github.com/alipay/container-observability-service/pull/67 on it.


[Tdweb] Can not connect to server

I using Tdweb, it current stuck at connecting.
Console log:
WebSocket connection to 'wss://flora.web.telegram.org/apiws' failed: WebSocket is closed before the connection is established

Other implement tdweb got same error: https://evgeny-nadymov.github.io/telegram-react/
The offical web app (https://web.telegram.org/) working normally.
Is this error come from server side?

Make sure that Telegram is not blocked in your country. If it is blocked you need to use system-wide VPN to circumvent the block.

It working now, maybe my network problem


Update sidebars.js

add checklist to WHN guide

🚀 Deployed on https://661865164e89c6442c410d1c--cozy-fox-0defec.netlify.app


[BUG] Wrong CMD in Dockerfile making container fail to start

The CMD in the Dockerfile seems to be wrong, when building 1.7.1, here's the ouput of the container attempting to start :
➜ docker git:(main)  $ docker run --name flowise3 -p 3000:3000 flowise
Flowiseai Server

VERSION
  flowise/1.7.1 linux-x64 node-v20.12.2

USAGE
  $ flowise [COMMAND]

COMMANDS
  start

I've replaced the original CMD line with :
CMD ["flowise","start"]
And now it's working fine.

which dockerfile? the one in docker folder or root level?

in the docker folder


Use a cubic ease function for animations

This changes the bool animation being linear to using a cubic ease-in-out curve. This curve is widely used in user interface animations (ease-in and ease-out also are frequently found) and lets objects movement and sizing feel more natural at the start and end of the animation (e.g. mimicking acceleration). This is less noticeable at small changes or animation_time values, but becomes very noticeable when an animation travels a far distance or takes a longer amount of time.
The curve itself looks something like:

(from https://www.desmos.com/calculator/tdvd2vd4f1)
Note: This is just a proposal for an alternate animation curve with no immediate desire to merge. It's likely egui would still want to expose linear (e.g. for opacity animations) and potentially ease-in and ease-out as well (when the end and start of the animation is obscured).

I have actually experimented with this in the past, and I found that because Egui uses so short animation times the smooth transition squishes the transition time to something so small that the eye has problems noticing it. That is to say, with an ease-in-ease-out animation, most change happens just in the middle third of the animation time, which will just be 2 or 3 frames.
Or in other words: collapsing a collapsing header just looks better (to my eyes) with the current linear blend, especially at lower framerates.

I have actually experimented with this in the past, and I found that because Egui uses so short animation times the smooth transition squishes the transition time to something so small that the eye has problems noticing it. That is to say, with an ease-in-ease-out animation, most change happens just in the middle third of the animation time, which will just be 2 or 3 frames.
Or in other words: collapsing a collapsing header just looks better (to my eyes) with the current linear blend, especially at lower framerates.


Create internal and external contacts

Changes
Move the Caseworker, Team leader and Regional delivery officer to a new "Internal contacts" tab on the project details. These users can be assigned from this tab as usual.
Rename the Contacts tab External contacts, and alias the routes for contacts.

Checklist

[ ] Attach this pull request to the appropriate card in Trello.
[x] Update the CHANGELOG.md if needed.

 Capture the user that is assigned to a project

 Move the Caseworker, RDO and Team lead to a new tab


avatar_url cannot be empty

What?
I try to delete user avatar (reset it to default) by setting avatar_url to empty string. But the response is avatar_url cannot be empty. I really need a way to remove user avatar.

Thanks for the report - we will look into this


Add README.md

Readme file wanted :) 👍

I could do it :)

Ah gone with the wind.

@iashris Sorry :/

Lol I was just writing one too. Found this issue from a Hacktoberfest search?

@seth10 Yea, should be my second pull request. 2 to go :)

@Xenira In case you didn't know, you can check it! https://hacktoberfestchecker.herokuapp.com


[FEATURE] Add authorization to produce and consume

Motivation
#236 Add authorization to produce and consumer
Modifications

Add authorization to handleProduceRequest
Add authorization to handleOffsetFetchRequest
Add authorization to handleListOffsetRequest
Add authorization to MessageFetchContext#handleFetch
Add new test units for produce or consume permissions
Add new test units for topic level permissions

I've done the review for code under kafka-impl/ and left some comments, PTAL first.


Would love a flutter plugin for Koala

I use Porcupine and Rhino in a flutter app and would love to add Koala to improve the speech recognition for both the wake word and the speech-to-intent.
Is there a Flutter Koala plugin in the works?
Thanks!
Jeff

Unfortunately, this is not in the road map. If this is a commercial application with the budget allocated, feel free to contact the sales team.


Haxe nodes which extend godot.Node do not receive _ready/_process events

Since 73e666ebf659ff403f86e76e619f441dc3643e3e (I believe), Haxe nodes in a project are not receiving _ready/_process events and so don't function.
Trying Squash The Creeps, with commits after the one above, justs sits there not doing much - no Haxe interaction. Using the commit above gets it back working again.

Fixed in https://github.com/HxGodot/hxgodot/commit/ef148b009909a6442b13bc57a8800abf47e28a97


problem navigate between routes in react router .

I use react-router to create my routes. I have two routes with two compnents.

if i am in the '/' route my app work with my App component , now when i click my link to redirect to my User component , the path change as i like for example (/5) but i have an error in an instruction in th App component !!! please who can help me.

This is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!


Mapping support for http default method in Ballerina to OpenAPI command

Description:
Subject
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

I think we don't need to map default. We can simply skip the entire resource with a warning error.


GH-140: Commit in the begging of the main loop

Fixes GH-140 (https://github.com/spring-projects/spring-kafka/issues/140)
Previously with the pretty big containerProperties.getPollTimeout() we ended up with the issue of not acked commits for BATCH mode.
Just because the logic relies on the consumer.wakeup() which causes WakeupException breaking the main polling loop.

Move processCommits() function to the beginning of main loop, before blocking on the this.consumer.poll()

Cherry-pick to 1.0.x

s/begging/beginning/
Will fix on merge.

travis failure

Merged as d04b53a7ab354f52dc4ab976832c1d0439199adc cherry-picked to 1.0.x


Added support for multi-node clusters to address issue #16.

Uh @dubiety is there a reason why we can't just always use "Sum" so we don't need to add a new variable for this?  :\  Is there something I'm missing?

@AndrewFarley , I think you're right. This variable can be removed. I'll modify it. However, this needs to bump major version since it will be a backward incompatible modification. Will update this week. Thank you for the suggestion.

In researching this more, I agree with @AndrewFarley. I made some comments on the original issue I opened as well.
We should add clarity to the readme and variables.

I'll submit an PR for this then shortly @dubiety / @ericjsilva team.


Web build (jimp.min.js) missing

Expected Behavior
In v0.2.28 i used the "browser/lib/jimp.min.js" file to use Jimp both in a browser and in Electron.
Current Behavior
The file jimp.min.js is missing from the current build and I can't find an alternative file in the repo.

@JannisX11 I just installed v0.5.4 and the following code did not fail. I cannot reproduce your issue.
const Jimp = require('jimp/browser/lib/jimp.min.js');

test();

async function test() {
  const image = await Jimp.read('../exampleImages/anime.png');

  const b = await image.pixelate(4).getBufferAsync(Jimp.AUTO);
  console.log(b);
}

@JannisX11 I just installed v0.5.4 and the following code did not fail. I cannot reproduce your issue.
const Jimp = require('jimp/browser/lib/jimp.min.js');

test();

async function test() {
  const image = await Jimp.read('../exampleImages/anime.png');

  const b = await image.pixelate(4).getBufferAsync(Jimp.AUTO);
  console.log(b);
}

can you provide me with a sample repo showcasing the problem?

I am not using Require in my web build. In the previous version I was simply loading the jimp.min.js script from the HTML document. In this version when I download the repo, this file is missing.

If I can require the file it exists. Mind sharing code showcasing the
problem? I can’t reproduce so unless you give me a reproducible case I
won’t be able to fix this. I will be closing if you do not provide code
since it definitely works on my end.
It seems like that may just be an html file so it should be easy.
I think I just figured out your actual problem. You are downloading the
repo and not using npm to install. The built files are not hosted in the
repo. It is very uncommon for packages to work like that. You either must
install the nvm dependency, which is how the built files are distributed.
Or you can run the build yourself on the repo and the minified build will
be in packages/jimp/browser/lib/jimp.min.js. I will not be adding the built
files back to the github repo. So these are your only options
On Sat, Oct 27, 2018 at 5:40 AM JannisX11<EMAIL_ADDRESS>wrote:

@JannisX11 https://github.com/JannisX11 I just installed v0.5.4 and the
following code did not fail. I cannot reproduce your issue.
const Jimp = require('jimp/browser/lib/jimp.min.js');
test();
async function test() {
const image = await Jimp.read('../exampleImages/anime.png');
const b = await image.pixelate(4).getBufferAsync(Jimp.AUTO);
console.log(b);
}
can you provide me with a sample repo showcasing the problem?
I am not using Require in my web build. In the previous version I was
simply loading the jimp.min.js script from the HTML document. In this
version when I download the repo, this file is missing.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/oliver-moran/jimp/issues/646#issuecomment-433617054,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIyBHolaSIfBYt7rSve9z-jTDePBRM9ks5upFRagaJpZM4XbEyh
.

I think I just figured out your actual problem. You are downloading the repo and not using npm to install. The built files are not hosted in the repo. It is very uncommon for packages to work like that. You either must install the npm dependency, which is how the built files are distributed. Or you can run the build yourself on the repo and the minified build will be in packages/jimp/browser/lib/jimp.min.js.

Thanks, this worked.

Also this is why I have the steps to reproduce section in the issue template you deleted. That way i don't have to guess your problems and can just fix them

I think sections I filled were pretty self explainatory. There was no code involved, so I couldn't have made an example. It was just the file that was missing and I wasn't expecting it to be not in this repo anymore.


fix(history): fix scope of captureClicks to properly exclude hash links

[ ] I added new tests for the issue I fixed/built
[x] I ran npm test for the package I'm modifying
[x] I used npm run commit instead of git commit

ISSUES CLOSED: 430
Since the test for captureClicks was .skip()'d, I did not attempt to pass it for this fix.

The test failure:
not ok 136 Browser "./node_modules/.bin/saucie -b android -p Linux -v 5.1 --no-ct --at -u http://localhost:8080/8075" failed to connect. testem.js not loaded?

The failure has nothing to do with your PR, it's randomly failing at Sauce Labs. Don't worry, I can pick it up from here. Thanks!

Merged. Thank you @mz3 !


Upgrade Django to 3.2

Changes:

Upgrade Django to 3.2.0
Upgrade django-bootstrap3 to 21.1.0
Upgrade django-forms-bootstrap to 3.1.0
Upgrade model-mommy to 2.0.0
Remove whitenoise implementation, use Django app to serve static files
Several changes to fix compatibility issues with the new Django version

Coverage remained the same at 100.0% when pulling 41d0cd095ab9cd257407e0e3bae1379ffa232325 on upgrade-django-3-2 into dbfcb0a33d7501735fc8c8975108c537db950f6c on master.

Let's make sure we pull this one down from the branch and go through the README and make sure it all runs fine before we merge.

Let's make sure we pull this one down from the branch and go through the README and make sure it all runs fine before we merge.

I tested the README, the only thing missing is to move the steps 6 and 7 before the step 4.


destroy method creates extra rows

Please see fiddle. Having this issue with my tables on an internal application. I've recreated it in the fiddle. Because of responsive nature, I'm calling destroy and reinit during resize. In my app, there is a check for screen size to determine where the position of the thead is going to be. If you resize the produced result in fiddle, you'll notice that it applies additional rows. If there is a method that I'm missing, please advise...
On another note, any plans to integrate position: sticky?

Closing issue... My mistake... I put pos instead of position. This is still happening in my applicaiton, but I'm unable to reproduce in jsfiddle.

https://jsfiddle.net/9qznf1b5/1/
reopened. I got it to reproduce

any plans to integrate position: sticky?

yes, but probably not in this lib. I am working (slowly) on version 2 in es6, that is where new things will go.

there is perhaps a bug here, but you are doing something really weird :)
first, reinit does not take options, though maybe it should.
but you dont need to bind that resize handler, because the top can be a function for this exact reason:
https://jsfiddle.net/9qznf1b5/3/

This is after resize.

var floatHeader = function (table) {
    var topPos = window.innerWidth < 1125 ? 0 : 63;
    $(table).floatThead({
        top: topPos,
        position: 'absolute'
    });
}

// handles the freeze header functionality
var freezeHeader = function (table) {
    floatHeader(table);

    $(window).resize(function () {
        var reinit = $(table).floatThead('destroy');
        //setTimeout(reinit(), 2000);

        setTimeout(floatHeader(table), 2000);
    });

}

Alternatively, I've attempted this.

ok, but scroll up and look at my last comment.
it looks like there is a bug with destroying it in absolute position mode when the header is floated, though so far I cannot reproduce on the docsite.

Actually, that did fix it....
https://jsfiddle.net/9qznf1b5/4/

And, thanks for taking a look.


outline: 0.68.1 -> 0.69.0

Description of changes

Changelog
Diff: https://github.com/outline/outline/compare/v0.68.1...v0.69.0

This doesn't build yet, I'm getting the following errors:

Yarn output (partial)
Installation:
warning Resolution field<EMAIL_ADDRESS>is incompatible with requested version<EMAIL_ADDRESS>warning Resolution field<EMAIL_ADDRESS>is incompatible with requested version<EMAIL_ADDRESS>[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| 16.9.0-alpha.0".
warning "mobx-react ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency "react-is@>= 16.8.0".
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "vite-plugin-pwa > workbox-build ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "vite-plugin-pwa > workbox-build ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "vite-plugin-pwa > workbox-build ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^2.0.0".
warning "vite-plugin-pwa > workbox-build ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "vite-plugin-pwa > workbox-build > @rollup/plugin-babel ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0-rc.1".
warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "enzyme-adapter-react-16 ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| 0.14.x || ^15.0.0-0 || ^16.0.0-0".
warning "enzyme-adapter-react-16 ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>warning "enzyme-adapter-react-16 > enzyme-adapter-utils ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^15.0.0 || ^16.0.0-alpha".

Build:
$ vite build
vite v4.1.3 building for production...
✓ 6103 modules transformed.
[vite-plugin-pwa:build] "ParseError" is not exported by "node_modules/katex/dist/katex.mjs", imported by<EMAIL_ADDRESS>file: /build/source/node_modules/@benrbray/prosemirror-math/dist/index.es.js:6:16
4: import { keymap } from 'prosemirror-keymap';
5: import { chainCommands, deleteSelection, newlineInCode } from 'prosemirror-commands';
6: import katex, { ParseError } from 'katex';
                   ^
7: import { Fragment, Schema } from 'prosemirror-model';
8: import { InputRule } from 'prosemirror-inputrules';
error during build:
RollupError: "ParseError" is not exported by "node_modules/katex/dist/katex.mjs", imported by<EMAIL_ADDRESS>    at error (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:2091:30)
    at Module.error (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:13125:16)
    at Module.traceVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:13507:29)
    at ModuleScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:11989:39)
    at ChildScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
    at ClassBodyScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
    at ChildScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
    at FunctionScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
    at ChildScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
    at CatchScope.findVariable (file:///build/source/node_modules/rollup/dist/es/shared/rollup.js:6819:38)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Any Input would be appreciated. I've tried using mkYarnPackage as well, to no avail.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

cc @cab404

We can close this as #232235 is now merged.


[newc] Missing data flow

Given the following code it seems that it is not possible to find a data flow starting from foo:
#include <stdio.h>
#include <string.h>

typedef struct {
  char *buf1;
} FooStruct;

void doFoo(FooStruct *str) {
  char onebuf[100];
  memset(onebuf,'1',sizeof onebuf);
  str->buf1 = onebuf;
}

int main(void) {
  FooStruct foo;
  doFoo(&foo);
  return 0;
}

Joern queries:
importCode("/tmp/test")
run.ossdataflow
def source = cpg.local.name("foo").referencingIdentifiers
def sink = cpg.call.code("doFoo.*").argument
sink.reachableByFlows(source).p

I did some initial analysis already:

the indirection (Operators.addressOf for &foo call) is handled already here: https://github.com/joernio/joern/blob/master/dataflowengineoss/src/main/scala/io/joern/dataflowengineoss/passes/reachingdef/UsageAnalyzer.scala#L110

looks like these calls are filtered out here: https://github.com/joernio/joern/blob/master/dataflowengineoss/src/main/scala/io/joern/dataflowengineoss/passes/reachingdef/ReachingDefProblem.scala#L143 when initializing the map that contains generated definitions for each flow graph node. When tweaking this to allow at least Operators.addressOf calls everything works fine the given example.


Create test for Get-DbaTraceFlag

Dependent upon #1977 being merged, but went ahead and tested my ability with Pester to create the test.

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[x] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[x] Pester test is included

Purpose

Pester test for the command Get-DbaTraceFile
Can be merged but test will fail until the PR #1977 is merged.

Too cool!!!! thanks for the Test effort <3


Update Ui.png

Change font and spacing in UI components.

Codecov Report

Merging #42 (ba1211b) into master (966b6f6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #42   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

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


Registering Julia Package

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/85973
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" 8df6a980c3e32ebe858c32433eedb25fe6ed23c5
git push origin v1.0.0


389-ds-base: <IP_ADDRESS> -> <IP_ADDRESS>

Motivation for this change
Mostly just fixing Hydra builds that were failing for a long time..
And there has been plenty of security fixes since <IP_ADDRESS>
http://www.port389.org/docs/389ds/releases/release-notes.html

fix build failure with <nss.h>
enable parallel building (faster)

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build _389-ds-base


Metadata for asynchronous result sets

Metadata can be fetched asynchronously. See: https://docs.microsoft.com/en-us/sql/odbc/reference/develop-app/asynchronous-execution-polling-method?view=sql-server-ver15


Zuul - Request/Response transformation

I am trying to transform the original request by writing custom wrapper extending HttpServletRequestWrapper and adding additional attribute in ZuulFilter 1. But my origin service is not receiving this attribute but in Zuul filter 2 i can access this attribute. Do i need to do anything else to handle this use case. I might need to do the same thing for response as well. Please suggest best way to do request/response transformations.
public class BaseRequestWrapper extends HttpServletRequestWrapper{

	public BaseRequestWrapper(HttpServletRequest request, String str) {
		super(request);
		request.setAttribute("att1", str);
	}
}

Why are you not using a ZuulFilter to do what you need?

Besides, Servlet Request attributes are not part of HTTP and do not get forwarded. You would need to use a header.

@spencergibb very true i was aware of that just tried to give one example of adding more to incomeing request at Zuul level but my objective is to have a better control of the incoming request and add/transform the request/response in to origin service understandable contract. Can you suggest a way to do it? @ryanjbaxter that's exactly i wanted to do but didn't get a complete picture on how to get the request (headers,body,etc..) information and transform it. Any advice is really helps.

There are plenty of examples that you can look at here
https://github.com/spring-cloud/spring-cloud-netflix/tree/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/pre

Also see https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/src/main/asciidoc/spring-cloud-netflix.adoc#zuul-developer-guide

@ryanjbaxter @spencergibb
I have tried like below,
requestField = ReflectionUtils.findField(HttpServletRequestWrapper.class, "req", HttpServletRequest.class);
HttpServletRequest wrapped = (HttpServletRequest) ReflectionUtils.getField(this.requestField, request);
XYZRequestWrapper wrapper = new XYZRequestWrapper(wrapped );
inputStream = wrapper .getInputStream(); -- This is always giving
String str = IOUtils.toString(inputStream, StandardCharsets.UTF_8);
But this is not giving me any byte array/input stream where as if i pass the RequestContext(zuul).getRequest diredtlly to the above wrapper i am getting the input stream/byte array. Not sure why it is behaving as per the Zuul orginal request is in "req" element!!!
Please let me know if it safe to do like this...below
HttpServletRequest request = ctx.getRequest();
XYZRequestWrapper wrapper = null;
try {
wrapper = new XYZRequestWrapper (request);
InputStream inputStream = wrapper.getInputStream();
String str = IOUtils.toString(inputStream, StandardCharsets.UTF_8);
LOGGER.info("STRING: " + str);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

Using a wrapper isn't the right way to access the input stream. See https://github.com/spring-cloud/spring-cloud-netflix/blob/master/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/RibbonRoutingFilter.java#L196-L209 for how we access the input stream.
It is in the RequestContext with the key requestEntity.

@spencergibb I see the below code in there. Even here we are getting the InputStream from the request how is this different from my wrapper?? Just an fyi My wrapper i am calling in "pre" filters..something similar to FormBodyRequestWrapper (this is giving only query params as stream) but i need body of the request as well since i am trying to get the same from request.getInputStream().
Please let me know if i need to upload the classes..i can do that.
protected InputStream getRequestBody(HttpServletRequest request) {
		InputStream requestEntity = null;
		try {
			requestEntity = (InputStream) RequestContext.getCurrentContext()
					.get("requestEntity");
			if (requestEntity == null) {
				requestEntity = request.getInputStream();
			}
		}
		catch (IOException ex) {
			log.error("Error during getRequestBody", ex);
		}
		return requestEntity;
	}

How can I access original Request attributes particularly the X509 certificate chain from a zuul filter?

@scaryPonens please open a separate issue

I thought the question was very similar and relevant to the thread.  I found my answer reviewing the Zuul request lifecycle.  There is no intermediate request created.  Sorry for the hijack attempt.

@scaryPonens Agree with you but in my case want to transform the request body from one format to another in filter and send it to the back end services.

@stiyyagura I think the difference is that we are checking the RequestContext first

thanks for pointers and clarifications.


v11 Effect Text is not showing in

Describe the bug
Name description of effects is not showing.
To Reproduce
Steps to reproduce the behavior:

Right click token
Open effects tab

Expected behavior
Text next to each condition added by Convenient Effects.
Screenshots

Additional context
Even with only Dfred's on, hovering over the CE will not provide name.
.

I saw the comment in the other bug report about trying in a new world;

Accidentally closed issue.
Saw the other bug thread and tried to reproduce in new world, can confirm it's still happening in a fresh world.

Yeah, Foundry replaced all Effect.label properties with Effect.name.... except when it comes to status effects. Going to release this tonight, so  should be v5.0.1

Awesome, thanks for the update!


Internal Error has Occurred

https://pastebin.com/Sas4akeh
Running Spigot 1.14.2

this is a duplicate of https://github.com/sainttx/Holograms/issues/47 and https://github.com/sainttx/Holograms/issues/45

You say this but I don't understand either post because it didn't have what
I was looking for and your response to them is too technical. Please
explain why this is not working and what I can do to fix it.
On Wed, Jun 5, 2019 at 9:58 PM MamiyaOtaru<EMAIL_ADDRESS>wrote:

this is a duplicate of #47
https://github.com/sainttx/Holograms/issues/47 and #45
https://github.com/sainttx/Holograms/issues/45
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sainttx/Holograms/issues/48?email_source=notifications&email_token=AIDASFTLR3PPDXXNGG7QK4DPZBVMZA5CNFSM4HT3WVWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXBQEZI#issuecomment-499319397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDASFR347OZ2BBQV33UNM3PZBVMZANCNFSM4HT3WVWA
.

Duplicate of #45

You close it but still have not answered my question. Duplicate or not the answer is not understood and my problem is not resolved. If this is how you treat people then I won’t bother using your broken sham of a plugin


Interface font size is very small

Describe the bug

The font size of the interface got very small.
To reproduce

It looked (but I'm not sure) that every time I used the search window, the font got smaller and smaller, and it's the same even when restarting the app.
Screenshots

The preferences window is ok:

Chatterino version

Chatterino 2.2.3-beta2 (commit 6499b7c12)
Operating system

macOS 11.1 (20C69)
Additional information

I am also running into the same issue.
Problems

The font size of the interface is very small. This includes the tab bar, settings/user accounts/update icons, and the streamer name.
The font size of the settings menu is also very small.
The font size of the send message box seems overly large.
See attached images for details.

Things I've Tried

Modifying the zoom level and text size only changes the size of the text in the chat.
Moving the Chatterino window to different monitors with different resolutions to not fix the problem.

System Information

Chatterino version: 2.2.3-beta2 (commit 055db0c)

Built and run with the following commands after cloning the repository:

sudo apt install qtcreator qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev
mkdir build
cd build
qmake ..
make
cd bin
./chatterino

Operating System: Ubuntu 20.04 (5.4.0-52-generic)
Monitors:

Monitor 1: 1920x1080: 27"
Monitor 2: 2560x1440: 27"
Monitor 3:  1920x1080: 24"

Images

The font in the top bar matches the system font size and is what I would like the standard text size to be. Notice that the streamer name and settings icons are small while the send message box is large.
The font size of the chat was adjusted using Zoom and text size options in the settings, but they have no effect on the interface size.

The font size of the settings menu is also small when compared to the font size of the top bar.

I am also running into the same issue.
Problems

The font size of the interface is very small. This includes the tab bar, settings/user accounts/update icons, and the streamer name.
The font size of the settings menu is also very small.
The font size of the send message box seems overly large.
See attached images for details.

Things I've Tried

Modifying the zoom level and text size only changes the size of the text in the chat.
Moving the Chatterino window to different monitors with different resolutions to not fix the problem.

System Information

Chatterino version: 2.2.3-beta2 (commit 055db0c)

Built and run with the following commands after cloning the repository:

sudo apt install qtcreator qtmultimedia5-dev libqt5svg5-dev libboost-dev libssl-dev libboost-system-dev libboost-filesystem-dev
mkdir build
cd build
qmake ..
make
cd bin
./chatterino

Operating System: Ubuntu 20.04 (5.4.0-52-generic)
Monitors:

Monitor 1: 1920x1080: 27"
Monitor 2: 2560x1440: 27"
Monitor 3:  1920x1080: 24"

Images

The font in the top bar matches the system font size and is what I would like the standard text size to be. Notice that the streamer name and settings icons are small while the send message box is large.
The font size of the chat was adjusted using Zoom and text size options in the settings, but they have no effect on the interface size.

The font size of the settings menu is also small when compared to the font size of the top bar.

font is too big for me


Xmlrpc/MetaWeblog

Fixes #381

When I 'post draft to blog' with OLW, it should create a draft but it doesn't seem to be done.

I haven't tried this scenario, will fix it. There might also be an issue with CreatedUtc ..

The draft is created in database. I don't know why it is not displayed in the blog admin list.

Fixed, it was not related to metaweblog api

Also side note, the theme support in OLW only works if the summary view renders the body. TheBlogTheme doesn't by default. I filed a bug in OLW there is nothing we can do about it. To test I rendered the body from the summary.

For the extension manager stuff, could you add a test for it. I understand the use case, just thought the implementation was slightly different

There are currently no tests for OrchardFeatureAttribute, and I am too lazy to create one for now. I assume it also requires separate assemblies, and we have to mock the ExportedTypes property.


provide helpful error if response is missing Content-Type

I don't think the README needs to explain this behavior, as a missing Content-Type header should be a rare edge-case, and providing a descriptive error message (with a suggested workaround) should probably be enough.

@pmcb55 the error message was a little bit long. I shortened it and added more details to the readme. See #12


Handles symlinks pointing to directories

This is an attempt to fix #174 and #147
Note that I'm quite a beginner so I'm open to any criticism on the code quality or anything else. I tested my code on a directory containing a symlink to a directory, containing a symlink to a directory. I'm pretty confident my code can be optimised so it matches the first condition, though I can't seem to a find a predicate that would match... (if is_dir || ????).
If you need me to write unit tests associated with this features, I can do it

Thanks for the PR! I was thinking the same thing though that ideally the refactored browse_dir function would only be called from one location because it seems odd for a non-file to leak into the "this is a file" clause later on.
Additionally yeah tests for this would be greatly appreciated!

So I think this should do it... It passes the tests, and my use case. I'll try to write tests, I never did so I can't promise anything.

So I wrote a very basic test, as I said I never did it before so I'm open to any comments. This test fails on master, and succeeds on this branch.

Looks great! Just a few minor nits but otherwise looks good to go to me

Hey, here you go :)

Thanks!

Do you plan on releasing 0.4.22 with this fix by the way ?

Done!


New data dump with import of IDG data

Closes #334
~Merging is blocked by #415 and #398~

This data dump is missing licensing information as well as source linkouts. The appropriate code will also need to be added to the importer. I converted the PR to a draft for now until this issue is resolved.

This PR is ready for final review.