Rocky Linux9 Failed to start squid process.

https://bugs.launchpad.net/ubuntu-docker-images/+bug/1978272
# docker logs 3c66292b4179
2023/02/16 14:01:31| WARNING: BCP 177 violation. Detected non-functional IPv6 loopback.
2023/02/16 14:01:31| FATAL: xcalloc: Unable to allocate<PHONE_NUMBER> blocks of 432 bytes!

2023/02/16 14:01:31| Squid Cache (Version 5.3): Terminated abnormally.
CPU Usage: 0.028 seconds = 0.018 user + 0.010 sys
Maximum Resident Size: 48960 KB
Page faults with physical i/o: 144
Aborted (core dumped)

HotFix: Add max_filedescriptors
infra/docker/squid/config/squid.conf
max_filedescriptors 1024

done bd086de140dc248eb3d4f5e4575e86497797d3fb


Where to find correct role id for an assignment to an administrative unit

The request body contains property roleId, but it's not clear where to find the correct value.
Let's say I want to assign the User Administrator role.
The endpoint GET /v1.0/directoryRoles returns the User Administrator role with one id
{
    "id": "947ccf23-ee27-4951-8110-96c62c680311",
    "deletedDateTime": null,
    "description": "Can manage all aspects of users and groups, including resetting passwords for limited admins.",
    "displayName": "User Administrator",
    "roleTemplateId": "fe930be7-5e62-47db-91af-98c3a49a38b1"
}

But the endpoint GET v1.0/roleManagement/directory/roleDefinitions returns the User Administrator role with another id
{
    "id": "fe930be7-5e62-47db-91af-98c3a49a38b1",
    "description": "Can manage all aspects of users and groups, including resetting passwords for limited admins.",
    "displayName": "User Administrator",
    "isBuiltIn": true,
    "isEnabled": true,
    "resourceScopes": [
        "/"
    ],
    "templateId": "fe930be7-5e62-47db-91af-98c3a49a38b1"
}

Could please add info where to find the correct role id?

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

ID: 6b34c1a6-e738-c66e-85b6-5a813dacc0b2
Version Independent ID: 7a586d2e-260b-fa2d-5981-18797d37ff02
Content: Add a scopedRoleMember - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/administrativeunit-post-scopedrolemembers.md
Product: directory-management
Technology: microsoft-graph
GitHub Login: @DougKirschner
Microsoft Alias: MSGraphDocsVteam

Thank you @MartinM85 for raising this issue.
Please note the two endpoints are different. So, the two id values are expectedly different. However, they refer to the same role, in your case, "User Administrator".
If you're working with the /directoryRoles API endpoints, then all references of id you get from calling these /directoryRoles; Same case for the /roleManagement/directory/roleDefinitions endpoint.
Because both APIs relate to the same roles, roleTemplateId in /directoryRoles matches templateId in /roleManagement/directory/roleDefinitions - both are the same values you see from the Microsoft Entra built-in roles reference and also on the Microsoft Entra portal.
That aside, I recommend you use /roleManagement/directory/* APIs, which are the newer versions of the APIs for managing the RBAC provided by Microsoft Entra. This endpoint also exposes a lot more capabilities compared to the /directoryRoles endpoint. /directoryRoles will be deprecated in favor of /roleManagement/directory/* in the near future.


Added field which shows if the branch is default

Added "default" field, which shows if the branch is default in its project

LGTM! Thanks @biohedge!


Cannot build after add plugin

Hi,
I cannot run or build after add nativescript-mediafilepicker (with: tns plugin add nativescript-mediafilepicker), both new project (with: tns create project) and old project:
> tns info
nativescript: 3.1.3
tns-core-modules: 3.4.0
tns-android: 3.1.0
tns-ios: 3.4.0

> tns run android
:processF1F2DebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processF1F2DebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 9.439 secs
Unable to apply changes on device: emulator-5554. Error is: Command gradlew.bat failed with exit code 1.

Thank for help,
Cuong

Please update your nativescript to latest version. Also android sdk. Little bit details here: https://stackoverflow.com/a/36237154/8875176


[opencv4] Update OpenCV4 to 4.5.0

Updates the OpenCV4 port to 4.5.0

Hi @sgreenlay
Thanks for this PR.
The changes seem good now.
Have you tested these features in this PR?

I built opencv4[core] for x86-uwp, x64-uwp and arm64-uwp and successfully ran some CV test programs with each. Is there an opencv4 test suite that you'd like me to run?

I built opencv4[core] for x86-uwp, x64-uwp and arm64-uwp and successfully ran some CV test programs with each. Is there an opencv4 test suite that you'd like me to run?

There are no any test suits to run. Currently, we need to test all features manually.
Note: Please resolve the conflicts first.

@sgreenlay
Would you like to test these features on Windows platform (x86-windows, x64-windows-static) if possible?

@sgreenlay Could you please resolve the conflicts first?

Related issue #14368


Enter 'GIS' assessment

As an analyst
I want to enter and view the results of the GIS analysis
So that I can better prioritize applications for funding
Description:
A new tab to record GIS analysis results which will behave like the other assessment tabs
Acceptance Criteria:

[ ] Add the tab GIS between 'Screening' and 'Technical'

GIS Assessment form

[ ] Design matches the screen capture below
[ ] 'Progress' is radio buttons - Default: 'Not Started'
[ ] 'Date of assessment' is a date picker that allows the user to pick a date <= today
[ ] Notes section allows user to post notes - max length should be same as other notes on the other assessment tabs
[ ] User can upload multiple files of any format.
[ ] User can remove uploaded files like in the other assessment tabs
[ ] User clicks save - save button changes to 'Saved' so that they have confirmation that it has saved.

List of Assessments

[ ] GIS assessment shows up on the assessment table below 'Screening' and above 'Technical'
[ ] GIS progress will show in assessment table (use existing pill colours)
[ ] GIS Analyst will show 'Not Assigned' on assessment table
[ ] GIS Target Date will show blank on assessment table
[ ] GIS Decision will show blank on assessment table

Assessments > GIS
GIS Assessment form

List of Assessments

Wireframe
Page Behaviours

[ ] The uploads will be multiple file uploads
[ ] Behaviour of the date field, radio buttons, uploads, and save will be the same as other assessment screens.

Validations

[ ] .
[ ] .
[ ] .

Actions

[ ] .
[ ] .
[ ] .

Not included:

.
.

Implementation Details

DB:

.
.

Middleware:

.
.

Frontend:

.
.

Tests:

.
.

Documentation:

.
.

hey @VB-at-Bis @marcellmueller @AntBush I am moving this down in priority temporarily, please don't start working on it for now.  We may either remove it from the sprint or discuss with you a different design.

@MarsRomer I noticed that the textareas can't be resized horizontally (using Chrome on Mac). When I copy & pasted some of the data team's real assessment notes into the textarea, it overfills. A nice to have feature would be the area resizes to fit the text and stays that way when saved.

thanks @elliottSlee  I hadn't noticed that, lets see if we get feedback from the data team about this and also monitor how much text they put in there and iterate if needed


Including moduleId property in @Component decorator causes 'Module build failed: TypeError: Cannot read property 'getChildAt' of undefined'

Please provide us with the following information:

OS?

OS Name	Microsoft Windows 10 Pro
Version	10.0.14393 Build 14393

Versions.

@angular/cli: 1.0.0-beta.32.3 [1.0.0-beta.31]
node: 6.9.5
os: win32 x64
@angular/common: 2.4.7
@angular/compiler: 2.4.7
@angular/core: 2.4.7
@angular/forms: 2.4.7
@angular/http: 2.4.7
@angular/platform-browser: 2.4.7
@angular/platform-browser-dynamic: 2.4.7
@angular/router: 3.4.7
@angular/cli: 1.0.0-beta.32.3
@angular/compiler-cli: 2.4.7

Repro steps.

Adding in moduleId property to @Component decorator for code shared with a NativeScript build

The log given by the failure.

ERROR in ./clients/shared/app/app.component.ts
Module build failed: TypeError: Cannot read property 'getChildAt' of undefined
at refactor.findAstNodes.filter.forEach (C:\Users\Keith\Source\Repos\TaskTrain\node_modules@ngtools\webpack\src\loader.js:222:54)
at Array.forEach (native)
at _removeModuleId (C:\Users\Keith\Source\Repos\TaskTrain\node_modules@ngtools\webpack\src\loader.js:214:10)
at Promise.resolve.then.then (C:\Users\Keith\Source\Repos\TaskTrain\node_modules@ngtools\webpack\src\loader.js:312:33)
at process._tickCallback (internal/process/next_tick.js:103:7)
@ ./clients/shared/app/app.module.ts 12:0-47
@ ./clients/browser/main.ts
@ multi webpack-dev-server/client?http://localhost:4200/ ./clients/browser/main.ts

Console.log(moduleIdProp); in @ngtools\webpack\src\loader.js at line 257 shows parent property undefined:

NodeObject {
pos: 132,
end: 155,
flags: 0,
transformFlags: undefined,
parent: undefined,
kind: 257,
modifiers: undefined,
name:
IdentifierObject {
pos: 132,
end: 144,
flags: 0,
parent: undefined,
text: 'moduleId' },
questionToken: undefined,
initializer:
NodeObject {
pos: 145,
end: 155,
flags: 0,
transformFlags: undefined,
parent: undefined,
kind: 177,
expression:
IdentifierObject {
pos: 145,
end: 152,
flags: 0,
parent: undefined,
originalKeywordKind: 127,
text: 'module' },
name: IdentifierObject { pos: 153, end: 155, flags: 0, parent: undefined, text: 'id' },
_children: [ [Object], [Object], [Object] ] },
_children:
[ IdentifierObject {
pos: 132,
end: 144,
flags: 0,
parent: undefined,
text: 'moduleId' },
TokenObject { pos: 144, end: 145, flags: 0, parent: [Circular], kind: 55 },
NodeObject {
pos: 145,
end: 155,
flags: 0,
transformFlags: undefined,
parent: undefined,
kind: 177,
expression: [Object],
name: [Object],
_children: [Object] } ] }

Mention any other details that might be useful.
Moving the moduleId property to the last position in the @Component decorator and monkey patching  @ngtools\webpack\src\loader.js as follows allows a successful build.
// get the trailing comma
  //       const moduleIdCommaProp = moduleIdProp.parent.getChildAt(1).getChildren()[1];
  //       refactor.removeNodes(moduleIdProp, moduleIdCommaProp);
  refactor.removeNodes(moduleIdProp);

Thanks! We'll be in touch soon.

I have the same issue. Nativescript and ng2 together: I need module.id to resolve files path for nativescript, but then the ng2 part crashes with the same error as above.
Deps:

    "@angular/common": "~2.4.3",
    "@angular/compiler": "~2.4.3",
    "@angular/core": "~2.4.3",
    "@angular/forms": "~2.4.3",
    "@angular/http": "~2.4.3",
    "@angular/platform-browser": "~2.4.3",
    "@angular/platform-browser-dynamic": "~2.4.3",
    "@angular/router": "~3.4.3",
    "@wwwalkerrun/nativescript-ngx-magic": "^2.0.4",

Follow up:
I am not sure whether you're using the angular core Component or the one provided by https://github.com/wwwalkerrun/nativescript-ngx-magic. In my case, I use the latter, therefore I also opened an issue at https://github.com/wwwalkerrun/nativescript-ngx-magic/issues/10

I can report that the same error occurs and same workaround works with both:
@angular/cli: 1.0.0-beta.rc.0
@angular/cli: 1.0.0-beta.rc.1

I see the same problem but only with ng test.
ng build, ng serve, ng e2e report no errors.
You can try this repo to reproduce - https://github.com/rpoitras/angular-tour-of-heroes

I'm having some trouble following this issue. This seems related to native script interop? I'm not sure we have a nativescript journey. We don't test for it.
Can someone provide me with a simple repo of this problem that only uses a brand new CLI project and native script?

Apologies @filipesilva. I may have confused this by linking to a non-NativeScript repo.  I thought perhaps the issue may have broader scope considering I seen it in a typical Angular CLI test cycle.

@filipesilva  I have the same error only when I run ng test in both rc0 and rc1
Here is the repo:
https://github.com/changLiuUNSW/ng2Redux

@filipesilva, thanks for looking into this. Per your request, I created a repository that demonstrates the issue, built from a brand new Angular CLI project integrated with a brand new NativeScript CLI project using the NativeScript Angular template.

Heya, can you have a look and see if https://github.com/angular/angular-cli/pull/5193 fixes it for you? Having src/typings.d.ts with the following code:
/* SystemJS module definition */
declare var module: {
  id: string;
};

Thanks, @filipesilva. Unfortunately, no, assuming the change in question is<EMAIL_ADDRESS>The demonstration repository was tested with Angular CLI 1.0.0-rc.1, which in inspecting my local files, already included that change. I just updated my local version to Angular CLI 1.0.0-rc.2 just in case, but when executing ng serve, I still receive the exact same error as noted in the README on the demonstration repository.

Ok, I don't think this has a real fix currently. We purposefully remove moduleId... and apparently it's needed for integration with NativeScript.
Not too sure how we're going to address that tbh.
/cc @hansl @Brocco

Removing the moduleId during an Angular CLI build is, in itself, not a problem for sharing code with NativeScript, as we use a separate tns tool to build the mobile client, which I think keeps the module Id for its purposes.
The problem is just that the @ngtools code that removes it for the browser crashes the Angular CLI build as outlined in the message opening this issue. With the monkey patch I described there, I can successfully share component controller code between the two build processes.

Oh I think I'm understanding it better... what about this, can you check if it works? Maybe making sure parent is there is all we need.
      if (moduleIdProp.parent){
        // get the trailing comma
        const moduleIdCommaProp = moduleIdProp.parent.getChildAt(1).getChildren()[1];
        refactor.removeNodes(moduleIdProp, moduleIdCommaProp);
      } else {
        refactor.removeNodes(moduleIdProp);
      }

If this works for you feel free to make a PR.

Thanks for pursuing this, @filipesilva.
While the build succeeds, only if moduleId property is the last property in the @Component decorator argument does it work (as with my original monkey patch work-around). If the moduleId is in any other position,  an Uncaught ReferenceError: template is not defined error is generated in the console at runtime:
Uncaught ReferenceError: template is not defined
    at items.component.ts:9
    at Object.274 (items.component.ts:19)
    at __webpack_require__ (bootstrap 0be4b71…:52)
    at Object.431 (app.module.ts:31)
    at __webpack_require__ (bootstrap 0be4b71…:52)
    at Object.430 (app.component.ts:7)
    at __webpack_require__ (bootstrap 0be4b71…:52)
    at Object.320 (src async:7)
    at __webpack_require__ (bootstrap 0be4b71…:52)
    at Object.556 (main.bundle.js:328)
    at __webpack_require__ (bootstrap 0be4b71…:52)
    at webpackJsonpCallback (bootstrap 0be4b71…:23)
    at main.bundle.js:1
(anonymous)	@	items.component.ts:9
274	@	items.component.ts:19
__webpack_require__	@	bootstrap 0be4b71…:52
431	@	app.module.ts:31
__webpack_require__	@	bootstrap 0be4b71…:52
430	@	app.component.ts:7
__webpack_require__	@	bootstrap 0be4b71…:52
320	@	src async:7
__webpack_require__	@	bootstrap 0be4b71…:52
556	@	main.bundle.js:328
__webpack_require__	@	bootstrap 0be4b71…:52
webpackJsonpCallback	@	bootstrap 0be4b71…:23
(anonymous)	@	main.bundle.js:1

Ok, that's progress.
Now it's time to figure out why it's important that moduleId is in the last position.
Let's try to take the CLI moduleId replacement out of the equation altogether... If you remove this line, do you still get the runtime error?
<EMAIL_ADDRESS>If so, then it might be a problem outside of the CLI.

Glad to hear we're making progress, @filipesilva. With or without the patch, removing .then(() => _removeModuleId(refactor)); from function ngcLoader() in @ngtools\webpack\src\loader.js returns a new SyntaxError__zone_symbol__error: Error: moduleId should be a string error:
SyntaxError__zone_symbol__error: Error: moduleId should be a string in "ItemsComponent". See https://goo.gl/wIDDiL for more information.
If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.
    at SyntaxError.ZoneAwareError (http://localhost:4200/polyfills.bundle.js:3270:33)
    at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:61545:16)
    at new SyntaxError (http://localhost:4200/vendor.bundle.js:5717:16)
    at componentModuleUrl (http://localhost:4200/vendor.bundle.js:18089:15)
    at CompileMetadataResolver._loadDirectiveMetadata (http://localhost:4200/vendor.bundle.js:17206:28)
    at http://localhost:4200/vendor.bundle.js:17380:54
    at Array.forEach (native)
    at CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (http://localhost:4200/vendor.bundle.js:17379:41)
    at http://localhost:4200/vendor.bundle.js:44597:58
    at Array.forEach (native)
    at JitCompiler._loadModules (http://localhost:4200/vendor.bundle.js:44596:43)
    at JitCompiler._compileModuleAndComponents (http://localhost:4200/vendor.bundle.js:44551:52)
    at JitCompiler.compileModuleAsync (http://localhost:4200/vendor.bundle.js:44517:21)
    at PlatformRef_._bootstrapModuleWithZone (http://localhost:4200/vendor.bundle.js:34443:25)
    at PlatformRef_.bootstrapModule (http://localhost:4200/vendor.bundle.js:34418:21)message: "moduleId should be a string in "ItemsComponent". See https://goo.gl/wIDDiL for more information.↵If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc."originalStack: "Error: moduleId should be a string in "ItemsComponent". See https://goo.gl/wIDDiL for more information.↵If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.↵    at SyntaxError.ZoneAwareError (http://localhost:4200/polyfills.bundle.js:3270:33)↵    at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:61545:16)↵    at new SyntaxError (http://localhost:4200/vendor.bundle.js:5717:16)↵    at componentModuleUrl (http://localhost:4200/vendor.bundle.js:18089:15)↵    at CompileMetadataResolver._loadDirectiveMetadata (http://localhost:4200/vendor.bundle.js:17206:28)↵    at http://localhost:4200/vendor.bundle.js:17380:54↵    at Array.forEach (native)↵    at CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (http://localhost:4200/vendor.bundle.js:17379:41)↵    at http://localhost:4200/vendor.bundle.js:44597:58↵    at Array.forEach (native)↵    at JitCompiler._loadModules (http://localhost:4200/vendor.bundle.js:44596:43)↵    at JitCompiler._compileModuleAndComponents (http://localhost:4200/vendor.bundle.js:44551:52)↵    at JitCompiler.compileModuleAsync (http://localhost:4200/vendor.bundle.js:44517:21)↵    at PlatformRef_._bootstrapModuleWithZone (http://localhost:4200/vendor.bundle.js:34443:25)↵    at PlatformRef_.bootstrapModule (http://localhost:4200/vendor.bundle.js:34418:21)"stack: "Error: moduleId should be a string in "ItemsComponent". See https://goo.gl/wIDDiL for more information.↵If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.↵    at SyntaxError.ZoneAwareError (http://localhost:4200/polyfills.bundle.js:3270:33)↵    at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:61545:16)↵    at new SyntaxError (http://localhost:4200/vendor.bundle.js:5717:16)↵    at componentModuleUrl (http://localhost:4200/vendor.bundle.js:18089:15)↵    at CompileMetadataResolver._loadDirectiveMetadata (http://localhost:4200/vendor.bundle.js:17206:28)↵    at http://localhost:4200/vendor.bundle.js:17380:54↵    at Array.forEach (native)↵    at CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (http://localhost:4200/vendor.bundle.js:17379:41)↵    at http://localhost:4200/vendor.bundle.js:44597:58↵    at Array.forEach (native)↵    at JitCompiler._loadModules (http://localhost:4200/vendor.bundle.js:44596:43)↵    at JitCompiler._compileModuleAndComponents (http://localhost:4200/vendor.bundle.js:44551:52)↵    at JitCompiler.compileModuleAsync (http://localhost:4200/vendor.bundle.js:44517:21)↵    at PlatformRef_._bootstrapModuleWithZone (http://localhost:4200/vendor.bundle.js:34443:25)↵    at PlatformRef_.bootstrapModule (http://localhost:4200/vendor.bundle.js:34418:21)"zoneAwareStack: "Error: moduleId should be a string in "ItemsComponent". See https://goo.gl/wIDDiL for more information.↵If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.↵    at SyntaxError.ZoneAwareError (http://localhost:4200/polyfills.bundle.js:3270:33)↵    at SyntaxError.BaseError [as constructor] (http://localhost:4200/vendor.bundle.js:61545:16)↵    at new SyntaxError (http://localhost:4200/vendor.bundle.js:5717:16)↵    at componentModuleUrl (http://localhost:4200/vendor.bundle.js:18089:15)↵    at CompileMetadataResolver._loadDirectiveMetadata (http://localhost:4200/vendor.bundle.js:17206:28)↵    at http://localhost:4200/vendor.bundle.js:17380:54↵    at Array.forEach (native)↵    at CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata (http://localhost:4200/vendor.bundle.js:17379:41)↵    at http://localhost:4200/vendor.bundle.js:44597:58↵    at Array.forEach (native)↵    at JitCompiler._loadModules (http://localhost:4200/vendor.bundle.js:44596:43)↵    at JitCompiler._compileModuleAndComponents (http://localhost:4200/vendor.bundle.js:44551:52)↵    at JitCompiler.compileModuleAsync (http://localhost:4200/vendor.bundle.js:44517:21)↵    at PlatformRef_._bootstrapModuleWithZone (http://localhost:4200/vendor.bundle.js:34443:25)↵    at PlatformRef_.bootstrapModule (http://localhost:4200/vendor.bundle.js:34418:21)"__proto__: Object_nativeError: ZoneAwareErrormessage: (...)name: (...)originalStack: (...)stack: (...)toSource: ()toString: ()zoneAwareStack: (...)get message: ()set message: (value)get name: ()set name: (value)get originalStack: ()set originalStack: (value)get stack: ()set stack: (value)get zoneAwareStack: ()set zoneAwareStack: (value)__proto__: BaseError
componentModuleUrl @ metadata_resolver.js:1085
CompileMetadataResolver._loadDirectiveMetadata @ metadata_resolver.js:202
(anonymous) @ metadata_resolver.js:376
CompileMetadataResolver.loadNgModuleDirectiveAndPipeMetadata @ metadata_resolver.js:375
(anonymous) @ compiler.js:171
JitCompiler._loadModules @ compiler.js:170
JitCompiler._compileModuleAndComponents @ compiler.js:125
JitCompiler.compileModuleAsync @ compiler.js:91
PlatformRef_._bootstrapModuleWithZone @ application_ref.js:390
PlatformRef_.bootstrapModule @ application_ref.js:365
320 @ main.ts:11
__webpack_require__ @ bootstrap 245a130…:52
556 @ main.bundle.js:334
__webpack_require__ @ bootstrap 245a130…:52
webpackJsonpCallback @ bootstrap 245a130…:23
(anonymous) @ main.bundle.js:1

I tried to confirm @hansl's fix, which I see made its way into release v1.0.0-rc.4. Unfortunately, the behavior of Angular CLI seems to have changed between v1.0.0-rc.2 and v1.0.0-rc.4 such that ng serve under rc.4 is now generating a host of new Cannot find module and Cannot find name errors on NativeScript-specific code in the shared NativeScript/Angular source directory which I believe had previously been ignored by Angular CLI/Webpack, presumably because they were not in the dependency tree of the browser-specific main specified in .angular-cli.json.

I was able to add entries to the exclude property in tsconfig.app.json such that TypeScript compilation ignored the NativeScript-specific files, eliminating the Cannot find module and Cannot find name errors the change from rc.2 to rc.4 generated, and allowing a successful project build with rc.4.
I am happy to report that Angular CLI v1.0.0-rc.4 does indeed eliminate the original error I reported and I can now share Angular component code between browser and NativeScript builds without monkey patches. Thanks @hansl and @filipesilva!

Happy to say it works for me on the non-NativeScript case as well.  Just a bit of refactoring to followup with on a spec file.  Thanks to Matt Raible for taking the time to explain - https://github.com/mraible/ng-demo#fix-the-appcomponent-test.
Thanks everyone :+1:

Hey I'm glad to hear that this was the fix that enabled your usecases!


HOSTEDCP-2035: Use Client Cert Auth for ARO HCP deployments

Use Client Certificate Authentication for ARO HCP deployments. HyperShift will pass the needed environment variables for this authentication method: ARO_HCP_MI_CLIENT_ID, ARO_HCP_TENANT_ID, and ARO_HCP_CLIENT_CERTIFICATE_PATH.

/retest

/retest

/retest

/retest

/retest

/test e2e-azure-ovn

/test e2e-gcp-ovn

/test unit

/test e2e-azure-ovn

/cherry-pick release-4.17


Toolbar of the DAG has not prompt

#2160

Codecov Report

Merging #2161 into dev will increase coverage by 29.81%.
The diff coverage is 43.50%.

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


Red-python-scripts

I just make a exe file of exif.py, windows10-wifi.py and key logger too. But after the click, all the file open cmd for nano second only. That show nothing and key logger do not create any additional file. I turn off thr windows antivirus on my win10 laptop. Solution plz. Thank you.

Hi @Joyradhe it should compile without you having to turn off the Windows Antivirus. You would need to give me more information about your setup. Do you run any additional anti-virus software? It's difficult to assist you with very little information.

I have executed the .py in the terminal, but I  faced the same issue. I haven't any print information from terminal :(


release v0.6.0

🎉 🎉
Breaking changes

All types associated with tokens are now defined in this crate. This is a consequence of the oauth2 dependency being removed from tree.
Additionally, as another consequence, clients are now able to be specified as a for<'a> &'a T where T: Client<'a>, meaning twitch_api2 can use its clients as an interface to token requests,
and clients can persist instead of being rebuilt every call. Care should be taken when making clients, as SSRF and similar attacks are possible with improper client configurations.

Added

Added types/braids ClientId, ClientSecret, AccessToken, RefreshToken and CsrfToken.
Added way to interact with the Twitch-CLI mock API using environment variables.
See static variables AUTH_URL, TOKEN_URL, VALIDATE_URL and REVOKE_URL for more information.
Added impl Borrow<str> for Scope, meaning it can be used in places it couldn't be used before. Primarily, it allows the following code to work:let scopes = vec![Scope::ChatEdit, Scope::ChatRead];
let space_separated_scope: String = scopes.as_slice().join(" ");

Added scope channel:read:goals

Changed

Requests to id.twitch.tv now follow the documentation, instead of following a subset of the RFC for oauth2.
URLs are now initialized lazily and specified as url::Urls.

Removed

Removed oauth2 dependency.

bors r+


void setTimePerFrame(uint16_t time);  function

The intention of the subject function is to vary the presentation time of different frames, say each of three.   To do so, I tried the command  "ui.setTimePerFrame(5000);"  in one frame then the same command in two other frames, only with different times.  I followed the structure of "ui.*" for other commands that worked successfully for me, like "ui.disableIndicator();"  The documentation doesn't give much to go on and this function is not represented in the examples.  So if I did this right my project is attached for anyone's use.  Hope it helps.
TriMetDisplayMod1.txt
images.txt

Thanks for raising this question. This library currently doesn't support different times for each frame. I will leave this open and attach it to the 4.0.0 milestone so we can work an adding this feature.


Keep getting HTTP error 413 on the web app, but via phoscon.de/app it works

I'm using the docker container on synology, the USB is plugged in, the two drivers are loaded, and the container boots just fine.
I'm using the host network and a privileged container. Ports are 9080, 9443 and 5900. When I go to the ip of my container host (my nas with the web port, I keep getting a 413 HTTP error for some reason. VNC to the same IP with port 5900 works perfectly fine and I can see the USB control stick.
When I go to phoscon.de/app, I see that Conbee II stick too and I was able to discover my aqara temperature sensor. After that, I could also connect home assistant to the deconz instance and see my sensor results.
But, on the IP:9080/app, I still get a 413 http error. Nothing appears in the log.
Am I missing something? Am I doing something wrong?

Side effect, when downloading a backup, it tries it with the direct ip, even when approached through phoscon.de, so I can't download backups either atm.

Same for me since updaten to the newest docker container :(
The container starts fine but i cannot connect through the webinterface or home assistant.

Disabling VNC-Mode seems to have fixed the problem for me...

Please see #271 - issue will be corrected soon.


Link to Data Landing Page From Home Page

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD user
I want to go the data landing page from the CAMPD home page
So that I can learn more about the data available
Acceptance Criteria
Given a user is on the CAMPD home page
When they click on Data
Then they are directed to the data landing page
Given that a user has accessed the CAMPD home page
When functionality is displayed
Then the notations are in the proper format (CO2, NOX, SO2)
Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[x] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context

Testing
Test Case: TC463
Tester: @JanellC
508 Testing:
Tester: @aprematta
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[x] Is the user story ready to be deployed to the test/staging environments?

TC463 passed @tlageman-epa . This ticket is ready for 508 testing @aprematta


Some minor code clean up

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[x] a refactoring

Description
Some minor code clean up (Making sure string comparisons use .equals, removing unused imports ect)
Testing
Required verification:

[ ] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[ ] I've verified that this change works as intended.

[ ] Downloads all relevant content.
[ ] Downloads content from multiple pages (as necessary or appropriate).
[ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[ ] I've added a unit test to cover my change.

Coverage decreased (-0.01%) to 32.468% when pulling be24df4d48a88d114da94205ec1e4359ab1064f1 on cyian-1756:code_cleanup into 1bc696504ad0e09b111c816db1c3d3688492988e on RipMeApp:master.


[hotfix][build] Connectors packaging don't exclude connector-http-base

Purpose of this pull request
Don't exclude connector-http-base, because it contains connector SPI file

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

LGTM


bug(Youtube player): width not responsive

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
I only noticed it after a couple of upgrades, so I don't know exactly.
Description
Related: https://github.com/angular/components/issues/28489
However the workarounds that are mentioned there don't work anymore.
Setting width="100%" does not work as the input is transformed into a number type:
https://github.com/angular/components/blob/main/src/youtube-player/youtube-player.ts#L148
What is the solution approach to get the component to display responsively so it shows up correctly on both mobile and desktop?
Reproduction
StackBlitz link: https://stackblitz.com/edit/angular-youtube-player-responsive-issue?file=src%2Fmain.ts
Steps to reproduce:

Open the StackBlitz link
Optionally make the preview window smaller.
Check the browser preview to confirm that the video is overflowing the page width.

Expected Behavior
It shoult take the whole width of the screen
Actual Behavior
The video overflows the with of its parent elements.
Environment

Angular: 17.0.1
Browser(s): Stackblitz bundled
Operating System (e.g. Windows, macOS, Ubuntu): online

Anyone looking for a temporary fix until the bug is resolved:

In your component HTML add [width]="width" attribute to the <youtube-player> element
In your component TS add: public width: number; this.width = this.winRef.nativeWindow?.innerWidth ?? 0;.
If you need to compensate for some padding or margin in your page, just subtract that from the width value.

Now only the width and height numbers work, because now the check happens like this
this._height = height == null || isNaN(height) ? DEFAULT_PLAYER_HEIGHT : height;
you can create a responsive container and use ResizeObserver to get its size. for example
function resizeObservable(elem: Element, options?: ResizeObserverOptions): Observable<ResizeObserverEntry> {   return new Observable((subscriber) => {     const resizeObserver = new ResizeObserver(([entry]) => {       subscriber.next(entry);     });     resizeObserver.observe(elem, options);     return function unsubscribe(): void {       resizeObserver.unobserve(elem);     };   }); }
and in component
<div #playerContainer style="width=50%; height: 50%"><youtube-player [height]="playerHeight()" [width]="playerWidth()"  [videoId]="videoId"></youtube-player>
   @ViewChild('playerContainer', {static: true}) public playerContainerRef?: ElementRef<HTMLElement>;    public playerWidth = signal(NaN);   public playerHeight = signal(NaN); ngOnInit(): void {     if (this.playerContainerRef) {       resizeObservable(this.playerContainerRef.nativeElement)         .pipe(           map(({ contentRect: { height, width } }) => ({ height, width })),           distinctUntilChanged((a, b) => a.height === b.height && a.width === b.width),           takeUntilDestroyed(this.destroyRef),         )         .subscribe(({height,width}) => {           this.playerHeight.set(height);           this.playerWidth.set(width);         });     }   }

For now I created a custom component with a wrapper and I'm setting the wrapper height and width on it instead of the angular video player component.
And then I set the iframe full width/height.
  youtube-player > *,
  youtube-player iframe {
    width: 100% !important;
    height: 100% !important;
  }

This is a another workaround it seems. I'm still looking forward to having an official way to do it. ;)

I am also experiencing this issue. Before I was able to set width 100%, now it defaults to 640 because it is no longer a number.
Thanks for the worksarounds. I hope the maintainer can allow us to use width 100% again.

We ran into the same issue that youtube videos stopped being responsive. Looks like the issue originated with this commit https://github.com/angular/components/commit/381a65f33d87c885235d2076297f092d6c218bae .
Technically, only pixel values are allowed for width/height according to the html5 spec, so this change makes sense. However, browsers seem to tolerate % values.
Any thoughts @crisbeto ?

The proposed workarounds seem to mess with aspect ratio or require typescript, so here is another one that only uses css and keeps a fixed aspect ratio:
youtube-player {
  position: relative;
  padding-top: 56.25%; // 16:9 ratio
}

:host ::ng-deep youtube-player > *, {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%!important;
  height: 100%!important;
}

:host ::ng-deep youtube-player iframe {
  width: 100% !important;
  height: 100% !important;
}

One downside: you need to know the aspect ratio beforehand and calculate padding-top on the youtube-player styling accordingly.
Please fix this, responsiveness should be supported by default in 2024.

Issue is still present in 18.1.1.
String inputs "width" and "height" where we could set "200px" or "100%" would be perfect.


Add a 'my pushes' view and add the possibility to filter pushes by state

The 'my pushes' button filters the list of pushes by pushmaster, showing only the pushes you ran. Also, we added a drop down to filter the list of pushes by state. These two filters can be combined and will be preserved through pagination.

I've updated the branch and fixed the pagination. It was slightly broken for some time, using the push ID for paginating while ordering the list by modified date. This meant that sometimes pagination links were shown even though they shouldn't be, since the first element in the list is not always the one with the highest ID, and the last element is not always the one with the lowest ID.
I have changed it to a traditional offset based pagination, using a SQL count() to determine the number of items we're paginating over. While this doesn't scale for very large datasets, it should be no issue at all for a list with a couple of thousand items.

Can you split these two features into two different requests?

Done, posted the state filter changes as well as the pagination fix as #155. Will update this PR once the other one is merged since they touch the same code.

Merged master and resolved conflicts, also further improved the pushes API tests a bit. Here are some screenshots. We could remove that button if you feel it clutters the UI and just leave the functionality in, so that pushmasters could filter by changing the URL.
Filtered by user:

Filtered by user and state:

Cool. Looks good to me now. I'll merge this in soon.


Adding bintray repo for sbt plugins

Sbt plugin artifacts were migrated to Bintray - see https://www.typesafe.com/blog/migrating-repos-to-bintray .

Thank you!


Automated functional interface testing (QuickPick, etc)

VSCode Version: 1.9.0
OS Version: OSX 10.11.6

Is there any way to develop automated Extension testing for various VSCode interface elements? For example, if my extension uses a QuickPick to display some options for the user to choose. Is it possible to automate this from a testing standpoint?

This is about functional testing, or about testing the function of components.
Specifically about the QuickPick example, there are two components to the whole thing:

VSCode's quick pick widget, which you should assume to just work, since we test it.
Your extension's code which calls it.

Both components communicate via the showQuickPick API, which is just a communication layer.
Instead of asserting that given a certain state, VSCode's QuickPick would show certain elements, you should instead be asserting that given a certain state, your extension will call that API in the right way.
So, the solution is to make a stub of showQuickPick which you would make sure to be called instead of the actual API during the tests.

That makes sense. Thank you.


Add input cmd for setting pointer accel profile.

Implement a new sway input command for setting the libinput pointer acceleration profile.
Closes #576 .

Thanks!


Remove GCS as a datastore

As a user of Forseti I want to use a git repo as a store for my config files and rules in order to take advantage of true version control and git-sync to keep my files up to date.

+1 This has been asked by other customers before as well.  We have to think how to best organize & structure our repo(s) for best maintenance.  I made a comment to Gregg's design doc on this last night, and had a further chat with Gregg.  So, he has some ideas that he can propose here.  @gkowalski-google

As I mentioned in the doc, I'll mention here for posterity.  The config-validator can be and is used independently of Forseti.  It follows that the policy-library can be and is used independently of Forseti.  Therefore we should keep the policy library separate from the "forseti-config" repo.
We can, however, accomplish the effect with the use of git-submodules.  For example
policy-library
|\libs
\policies
forseti-confg (repo)
|\ rules (folder)
|\ configs (folder)
\ policy-library (submodule)
|\ libs
\ policies

@gkowalski-google have confirmed with the Config Validator PM and Terraform Validator team @morgante that all the validator clients will be using the same repo.  So in this model, pulling in the policy library repo into the forseti repo is the right approach.

Given recent conversations, customers may have a preference to use GCS.  Git repositories may be on-prem and without a VPC or Interconnect, using Git as a datastore is not a practical solution.


Copy page tree with apphooks throws a server error

Summary
When trying to copy a page tree that somewhere down the tree has an apphook installed and then pasting the page tree somewhere else, Django-CMS throws a server error.
It seems that copying apphooks is not implemented and if I try copying a single page w/ apphook I get the appropriate message Error: This page cannot be copied because an application is attached to it. See the Page's Advanced settings to manage apphooks.
I consider this important, since the process for editing an entire page tree is to first copy it, make the modifications (while the original tree is still online) and then publish the copy and unpublish the original tree.
Expected behaviour
I would expect a meaningful error message instead of the 500 server error.
Even better, I would like Django-CMS copy the full page tree w/ apphooks. If the latter is not possible for whatever technical reason, I would like to at least get the full tree with apphooks removed plus a message that they could not be copied.
Actual behaviour
Error message Error: INTERNAL SERVER ERROR
Environment

Python version: 3.6
Django version: 1.8.14
django CMS version: 3.4.2

Thanks
Great work, everyone! Thanks very much!

Hello @fsbraun,
Thanks for reporting.
As you mentioned, there's two parts to this.
One is the db error that is raised when copying a page that contains another page with apphook and the other is the javascript error raised when copying a single page with an apphook.
I think in both cases, the only solution will be to remove the apphook from the new page.
/cc @divio/django-cms-core

Agree. I am not into the details of the DjangoCMS machine but the issue is that the namespace field of each apphook instance needs to be unique. So it is better to remove the apphook.
This could be done by inserting
if page.application_namespace:
    page.application_namespace =None
    page.application_urls = None
    page.navigation_extenders = None

before the page.save() in line 491 of pagemodel.py.
Potentially, a message should be sent to the user notifying him/her of the removed appshooks.

Hi @fsbraun,
I would like to work on this issue and I'm new to open source contributions, but I have worked with git. Can you clarify as to how to go ahead with this issue and what the potential solution could be?
Best regards,
Srikar V.

@Srikar-V675 Hey, that's good news.
The issue has aged a bit, but I think it probably is still valid. So, since you've found an issue to work on, you should familiarize yourself with the contribution guidelines (https://docs.django-cms.org/en/latest/contributing/index.html).
Once you have pinpointed the issue, follow the process for starting your contribution journey:

Forking the repository
Cloning the fork
Making your changes locally using your preferred editor
Updating and running tests locally
Committing changes
Submitting a pull request

Since this is a regression, we will definitively need a regression test to make sure it has been fixed.
Here https://github.com/django-cms/django-cms/issues/5899#issuecomment-292469015 I have posted a suggestion on how to fix the issue. I would suggest you to do the fix on the django CMS 3.11 branch, since its code base is closer to the one I looked into in 2017: https://github.com/django-cms/django-cms/tree/release/3.11.x . Later, we can port forward the fix to the latest development version.

Hi @fsbraun,
Since I'm new to open source contributions and the django-cms's code base. I would like to spend some time familiarizing with the code base and identifying the issue. I will make sure to give you some updates regularly.
Also I'm not quite aware of what you mean by a regression test.

Sure, @Srikar-V675 ! Can I invite you to our contributor discord channel. It's an excellent place to ask questions should any come up.
A regression test is a test that fails when the bug (regression) is present and passes when it's fixed. This ensures that the bug is not reintroduced later. In this case it would be a test that copies an apphooked page and asserts that the apphook is not copied.

Thanks for the prompt response @fsbraun !
I'll take up your invite and join the discord channel and make sure to ask questions if any problems pop up. Thanks for the clarification regarding regression test.

Hi @fsbraun,
How do I replicate this issue? Are there any specific things I should be wary of?


Couldn't Initalise The Scanner: An Unknow Error Occurred

1.1.1
Win 10 Edu x64
No meaningful error information in the DevTools

Just this and then cannot find USB

Duplicate of #1646

Do you have any virtual drives, virtual file systems or spinning HDDs attached to your system?

I do not have any virtual drives, VFS and I do have a secondary HDD.

Can you try the following snapshot build that contains the fix: https://drive.google.com/file/d/0B7tkbonGU-RyTUNKaVpLb2VCZ1E/view?usp=sharing? If that still doesn't work, can you set the DRIVELIST_DEBUG environment variable and execute the application from cmd.exe, so you can see the debug logs?
For example:
set DRIVELIST_DEBUG=1
cd C:\Program Files\Etcher
etcher.exe


The App crashes when trying to open it

Hey! The App Android version crashes when i try to open it.
Im using the latest release (v1.2.5) and Android 12 (OneUI)
I also tried it on multiple devices.
You can see more in the video attached to this Issue
Video of crash

Hey @SandwichFox! Thanks for the report. I am aware of an issue with the latest Android build because of a dependency update. I haven't been able to narrow it down yet, but I am looking into it. Until this issue is fixed, I recommend using v1.2.4. I'll close this issue once the crash is resolved

Hey @SandwichFox, I've released a beta version which should address this issue. Could you maybe check if it's working out for you? You can find it here: https://github.com/leinelissen/jellyfin-audio-player/releases/tag/v1.2.6-beta.1

Perfect, I'll try and release a stable version soon.


Added import functionality for epgp

Updated parseImportData in Import.lua to function sans dkp and with spent / points as well as track action count properly and update spent in the standings
Updated LedgerEntries.lua to function with Set command for spent points in epgp
Updated PointManager.lua to pass spent property into set command and added set spent mutator

I checked the numbers for accuracy


disableFunctions() does nothing with localStorage and location.href

localStorage.bodyText = document.body.innerText;

function base64_encode(text) { /* ... */ }
location.href = "data:text/plain;base64," + base64_encode(document.body.innerText);

You can use this to make localStorage unavailable.
delete localStorage;

Currently I can do nothing about location.href.


Tasks

[ ] Upload images per post
[ ] Choose images from global gallery
[ ] Insert image in md editor
[ ] Delete image from post
[ ] Use srcset with auto resized images (bonus)
[ ] Add a deferred next-post script to static posts showing the next post as preview
[ ] Posts overview -> Show the title and around 20 words of the post, make sure not to substring at a special char and break md conversion
[ ] Make preview scrollable for itself? If yes, scroll to changes when editing on the left hand panel (is this possible?)
[ ] Assign geo coordinates to posts?
[ ] Offline mode for editing/creating posts -> rework publishing mechanism so lazy synced published posts get rebuilt
[ ] Simple editor controls (bold, italic, insert link, insert youtube embed)

[ ] Use post meta infos in post markdown with e.g. {{post.title}} or {{post.created}}

No longer maintained


fix: required annotation errors at curry(..) calls with flow >=0.85

fix #381

I did not update the flow-bin package since it also has some compatibility issues with the lodash types from flow-typed.
Also worth noting: I removed the curry wrapper in readableColor.js sine I didn't see the appropriate type and I thought it's not required anyways because there is only one parameter.
If there is something wrong with the PR, just tell me - I am happy to fix the issues.

ok. it seems the build is failing :(
The documentation step is reporting an syntax error. While there should be a comma between the types, the error message does not show any. Maybe somone can help me out there?
When i try to build it locally i get an Typeerror at the documentation step.
/Users/juhwon/Projects/polished/node_modules/babelify/index.js:65
    if (!babel.util.canCompile(filename, extensions)) {
                    ^

TypeError: Cannot read property 'canCompile' of undefined
    at /Users/juhwon/Projects/polished/node_modules/babelify/index.js:65:21
    at makeTransform (/Users/juhwon/Projects/polished/node_modules/module-deps-sortable/index.js:271:21)
    at /Users/juhwon/Projects/polished/node_modules/module-deps-sortable/index.js:246:9
    at Deps.getTransforms (/Users/juhwon/Projects/polished/node_modules/module-deps-sortable/index.js:251:7)
    at /Users/juhwon/Projects/polished/node_modules/module-deps-sortable/index.js:391:24
    at onresolve (/Users/juhwon/Projects/polished/node_modules/module-deps-sortable/index.js:203:14)
    at /Users/juhwon/Projects/polished/node_modules/browser-resolve/index.js:269:13
    at onfile (/Users/juhwon/Projects/polished/node_modules/browser-resolve/node_modules/resolve/lib/async.js:51:21)
    at onex (/Users/juhwon/Projects/polished/node_modules/browser-resolve/node_modules/resolve/lib/async.js:93:22)
    at /Users/juhwon/Projects/polished/node_modules/browser-resolve/node_modules/resolve/lib/async.js:24:18


AttributeError: 'Bar' object has no attribute 'custom'

Notebook use case for custom bar failed

fixed


Integrate Simeon's model with FSLeyes and CLI

This PR aims to integrate Simeon's model trained by @mariehbourget on peripheral nerves images.
DONE

[x] Download model through ADS
[x] Integrate the new model with FSLeyes
[x] Upload Model on OSF
[x] Add tests
[x] Implement the new model in CLI.

TESTING

Navigate to the shared data directory. I'll share the data on Slack through which the segmentation by FSLeyes and
CLI can be tested

In the shared directory, go to the testing directory. In the testing directory, download one of the images you wish to segment.

Simeon's model which is uploaded on OSF is model_12. So for each of the images, you will see segmented masks of model_12. The name of the segmented mask has the optimal pixel size which gives the best segmentations. Use
should use this pixel size.

a)  CLI Usage : axondeepseg -t OM -i image_name.png -s pixel_size
b)  FSLeyes:  Load the image in FSLeyes and select the modality as model_seg_pns_bf. Then select the button Apply ADS prediction model.
For validating the segmentation, you can compare the segmentation done by either FSLeyes or CLI with that of the shared segmentation of the image done by @mariehbourget located under the same testing image directory.

Following ivadomed convention model_task_animal_region_contrast, I suggest we name the model model_seg_pns_bf.
pns is for peripheral nervous system and bf is for bright field (from ours BIDS BEP).
I skipped the animal field since the model will be used on different animal and disease models.
@jcohenadad, it that name ok with you?
Also, as a reference, the model was trained with a general pixel size of 0.1 micrometer per pixel.

The model is now on OSF here.

Thanks @mariehbourget for updating me about the models being uploaded on OSF. I'll now start working on this PR.

I've a question in regards to this PR: apart from the FSLeyes support to segment the images, do we also wish to provide CLI support for the Simeon's model?

I've a question in regards to this PR: apart from the FSLeyes support to segment the images, do we also wish to provide CLI support for the Simeon's model?

Yes, I think we should integrate it as a third default model in CLI as well.

Yes, I think we should integrate it as a third default model in CLI as well.

Since the model is of bright field optical microscopy, should we name it as OM (Optical Microscopy) while calling ADS CLI for segmenting peripheral nerves images?

This PR is ready for review. The tests are failing because of PR #452

3. Simeon's model which is uploaded on OSF is model_12. So for each of the images, you will see segmented masks of model_12. The name of the segmented mask has the optimal pixel size which gives the best segmentations. Use
should use this pixel size.
a) CLI Usage : axondeepseg -t OM -i image_name.png -s pixel_size

As a precision for testing:
The myelin masks in the share directory were segmented with an overlap_value of 50. In CLI, add the flag -o 50 to obtain the same result.
Also, because the images are very large, I recommend adding the verbose flag -v 3 to see the progress.

@mathieuboudreau I can see that you have uploaded the model on OSF; thanks for that. I've modified the model version in the codebase and cleaned the code, so it is ready for review.


Cargo emits "error: Unrecognized option: 'json'" error beginning ~ 07/2019, consider option to bisect rustc directly without Cargo

From the conversation of a cargo-bisect-rustc ICE analysis in https://github.com/rust-lang/rust/issues/69096#issuecomment-585880012 where the error message error: Unrecognized option: 'json' occurred as of the 2019-07-30 nightly.
@eddyb said:

That suggests that you're using a Cargo too new or somehow back-compat logic was removed (or never present?) in Cargo (not sure what our policy is).
You need an older Cargo to go back past the addition of --json.
But also it would be nice if Cargo didn't need to be involved in the bisection process, because it IMO unnecessarily complicates it.

cargo 1.41.0 (626f0f40e 2019-12-03)
release: 1.41.0
commit-hash: 626f0f40efd32e6b3dbade50cd53fdfaa08446ba
commit-date: 2019-12-03

cargo 1.43.0-nightly (3c53211c3 2020-02-07)
release: 1.43.0
commit-hash: 3c53211c3d7fee4f430f170115af5baad17a3da9
commit-date: 2020-02-07

Specifically in this case, the testcase is just one file and should reproduce with just rustc, I think we should have the option to bisect rustc directly without Cargo.

You don't have to use cargo: you can bisect using the --script flag to point at a custom script triggering the behaviour you need, e.g. calling rustc directly.

I opened #47 with a few script extensions and it sounds like the consensus is that much of this functionality belongs in the tool rather than as extensions through scripts.  I can close this if it seems like an appropriate area for scripting.


How to inject an osgi service in controller

I am using neba with my sling bundle.
Problem is i am not able to inject an osgi service into my controller.
Here is the problem statement -
I have a service like this -
@Component(metatype = true, immediate = true, enabled = true)
@Property(name = "title", value = "Hello World Service")
@Service
public class HelloWorldServiceImpl implements HelloWorldService{

	private static final Logger LOGGER = LoggerFactory.getLogger(HelloWorldServiceImpl.class);

	@Reference
	private ResourceResolverFactory resolverFactory;

	@Override
	public String sayHello() {
		return "HelloWorld!";
	}
}

Now here is my servlet -
@SlingServlet(paths = "test", selectors = "hello", extensions = "html", methods = "GET")
@Properties({ @Property(name = "resource.type", value = "ui:news:view") })
public class TestServlet extends SlingAllMethodsServlet{

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private static final Logger LOGGER = LoggerFactory.getLogger(TestServlet.class);

	@Reference
	private HelloWorldService helloWorldService;

	@Override
	protected final void doGet(final SlingHttpServletRequest request, final SlingHttpServletResponse response)
			throws IOException {
		PrintWriter pw = response.getWriter();
		try{
			pw.print(helloWorldService.sayHello());
		}catch(Exception ex){
			ex.printStackTrace(pw);
		}finally{
			pw.flush();
			pw.close();
		}
	}
}

The servlet works just fine and gives me result - HelloWorld! by accessing url
http://localhost:8080/apps/test
Now here is my controller
@RestController
public class HelloController {

        @Reference
	private HelloWorldService helloWorldService;

	@RequestMapping(value="/hello",method=RequestMethod.GET)
	public String sayHello(){
		return helloWorldService.sayHello();
	}
}

Now accessing controller with url -
http://localhost:8080/bin/mvc.do/hello
gives me NullPointerException on line -** return helloWorldService.sayHello();**
Because It is not able to inject HelloWorldService

Hi Ravi,
The way I got it to work was by adding a reference in the osgi-context.xml file:

<reference id="helloWorldServiceClient"
           interface="....HelloWorldService"/>

(You have to use the FQDN of your HelloWorldService interface)
Hope it helps.
Cheers,
João

Hi @joaotab ,
Thanks for your answer, but i need some more clarity on it.
1.
Here is my context.xml in OSGI/blueprint
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
	xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:bp="http://www.osgi.org/xmlns/blueprint/v1.0.0"
	xsi:schemaLocation="http://www.springframework.org/schema/beans
   http://www.springframework.org/schema/beans/spring-beans-4.2.xsd
   http://www.osgi.org/xmlns/blueprint/v1.0.0
   http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
   http://www.springframework.org/schema/context
   http://www.springframework.org/schema/context/spring-context-4.2.xsd
   http://www.springframework.org/schema/mvc
   http://www.springframework.org/schema/mvc/spring-mvc-4.2.xsd
   http://www.eclipse.org/gemini/blueprint/schema/blueprint-compendium
   http://www.eclipse.org/gemini/blueprint/schema/blueprint-compendium/gemini-blueprint-compendium.xsd">

	<context:component-scan base-package="com.ttn.aem.news.controllers" />

	<mvc:annotation-driven />
</beans>

so in order to write -
<reference id="helloWorldServiceClient"
           interface="com.osgi.neba.example.HelloWorldService"/>

we need namespace of reference as well like we do for mvc, context etc, if so what's that namespace?

after adding this line in context.xml @Reference will be enough to autowire the service in controller?

Hi Ravi,
I believe there's an example in the neba sample project on github:
https://github.com/unic/neba-sample-project/blob/master/src/main/resources/OSGI-INF/blueprint/context.xml
Or you can have the blueprint part as a separate file as suggested in the Gemini Blueprint docs:
http://www.eclipse.org/gemini/blueprint/documentation/reference/1.0.2.RELEASE/html/app-deploy.html#app-deploy%3Aheaders.
One thing I forgot to mention is that I had to use @Autowired after adding the reference in the xml to inject the Service in the Controller.
Cheers,
  João

Updated my previous reply, forgot to use a code block to properly format the xml

Hi @joaotab ,
I just overlooked the configuration. It has comments saying this part is used to wire services into the spring context.
<bp:blueprint>
		<bp:reference interface="com.ttn.aem.news.service.CategoryService" id="categoryService"></bp:reference>
	</bp:blueprint>

This line did the job and yes @Autowired or @Resource both works fine in controller.
Thank you again and apology for not giving enough time to go through the example to understand how it works.
You might like to mark it as question rather an issue, I am not able add tag.
So please add tag question and close it. or just confirm after adding i will close it.

Hi @visittoravi1 the blueprint namespace is the correct one. As a background, @Autowired / @Inject etc. inject beans from the application context. Thus, anything that shall be injected must be in the application context. In the case of OSGi services, these must thus be imported into the application context beforehand. As @joaotab correctly pointed out, this is done using the blueprint namespace via the bp:reference is the right way to do so.
Thanks a lot for this great discussion and thanks to @joaotab for pointing to the right solution!


Drag and drop does not work as expected for HTML5 draggable elements

Expected behavior
Should be able to drag and drop HTML5 draggable elements.
Actual behavior
Drag works fine but gets dropped to current cursor position instead of given position.
Steps to reproduce
(async () => {
    try {
        await openBrowser();
        await goto("https://gojs.net/latest/samples/htmlDragDrop.html");
        await dragAndDrop("Coffee",into($('canvas')));
    } catch (e) {
        console.error(e);
    } finally {
        await closeBrowser();
    }
})();

Upstream issue for the same ChromeDevTools/devtools-protocol#130

@NivedhaSenthil I see there is no update here for almost a year. We are facing a similar issue. Any help will be appreciated. Thanks

Below is an example of workaround to simulate drag and drop for html5 draggable. Hope it helps
async function html5dragAndDrop(source, target) {
  const arguments = { args: {source, target}};
  await evaluate((_, args) => {
    const sourceElement = document.querySelector(args.source);
    const targetElement = document.querySelector(args.target);

    const dataTransfer = new DataTransfer();

    const dragStartEvent = document.createEvent("CustomEvent");
    dragStartEvent.dataTransfer = dataTransfer;
    dragStartEvent.initCustomEvent("dragstart", true, true, null);
    dragStartEvent.clientX = sourceElement.getBoundingClientRect().top;
    dragStartEvent.clientY = sourceElement.getBoundingClientRect().left;
    sourceElement.dispatchEvent(dragStartEvent);

    const dropEvent = document.createEvent("CustomEvent");
    dropEvent.dataTransfer = dataTransfer;
    dropEvent.initCustomEvent("drop", true, true, null);
    dropEvent.clientX = targetElement.getBoundingClientRect().top;
    dropEvent.clientY = targetElement.getBoundingClientRect().left;
    targetElement.dispatchEvent(dropEvent);

    const dragEndEvent = document.createEvent("CustomEvent");
    dragEndEvent.dataTransfer = dataTransfer;
    dragEndEvent.initCustomEvent("dragend", true, true, null);
    dragEndEvent.clientX = targetElement.getBoundingClientRect().top;
    dragEndEvent.clientY = targetElement.getBoundingClientRect().left;
    sourceElement.dispatchEvent(dragEndEvent);
  },arguments);
}

(async () => {
  await openBrowser({headless:false});
  await goto("http://the-internet.herokuapp.com/drag_and_drop");
  await html5dragAndDrop("#column-a", "#column-b");
  await closeBrowser();
})();

@NivedhaSenthil thanks for your workaround. In your example, you are using elements id, but can I use xpath?

 const sourceElement = document.querySelector(args.source);
 const targetElement = document.querySelector(args.target);

From the code above uses query selectors which according to the documentation is

must be a valid CSS selector string;

Sorry but what i have to import to use that workaround?.
It can't execute evaluate()
        Stacktrace:
        ReferenceError: evaluate is not defined
            at html5dragAndDrop (tests/templates/elements/elements.js:22:3)

@NivedhaSenthil - Can we integrate your workaround in a Taiko release (dragAndDrop page action) so we don't have to use the code every time we need to invoke this command?


Update iina to <IP_ADDRESS>

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Thank you.
You should brew upgrade cask-repair — you’re using an old version.


timeout encountered when there's a lot of test to run, better to have true where command: -timeout=30m or greater. Thanks.

addressed using


BUG - Statement of Charge - No longer present for TLX (MIN/MIC/MOD) Systems

Describe the bug
See https://github.com/home-assistant/core/issues/85734
Probable resolution: Available in other API calls - add those to the upstream library and then use them
Growatt Device Type

Device(s): TLX aka MIN/MIC/MOD
Home Assistant information

Home Assistant version: N/A
Growatt Server API Integration version: N/A

Additional context

N/A

@bartpaeleman This is a duplicate of the ticket you raised in Home Assistant Core so that I can track it and fix it here.

Cheers Chris!

Given the fact that the Growatt API is increasingly unreliable (see #15) I have slowly winding down support for this repo and instead directing people towards trying Grott instead: https://github.com/muppet3000/homeassistant-grott
I'm happy to help people out migrating over to the new method, it's far more reliable and I'm focussing all my efforts into making it the best possible option for everyone (including feeding back changes to the main developer)


Uniform way of setting KSERVER_SOCKET in lib/checkJava

stop-kserver now correctly calls source lib/setenv, which will set the KSERVER_SOCKET.

Jenkins: test this please

Jenkins: test this please


Remove proposal_delay timeout (#1831)

Description of the Change

Remove proposal_delay timeout
proposal_delay = proposal_creation_timeout * 2

Issue
Remove proposal_delay timeout #1831

Benefits

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

Looks good. Thank you. Will approve it after 1.4 testing complete.

It will be better to make IrohaSettings abstraction. It means we can make 2 functions: getProposalDelay and getProposalCreationTimeout to hide the calculation from other code. Instead of now we need to to know and insert multiplication on 2 each time we use getProposalDelay.


Native Windows Volume OSD Still Shows

I was looking to replace the native OSD, however it does not go away. I'm running Win10 Pro 64 bit build 1909 with the version straight off the homepage, v2.9.2.
P.S.: Is this still being worked on? I noticed the last update to the code was a PR merge over 3 years ago.

It's been a long time since I've had enough free time to work on this, so unfortunately things have slowed down a lot... I'm open to spinning this off as an organization, adding maintainers, etc. if anybody is interested, though.
My Windows machine is dead, but at some point when I revive it I'm planning to at least go through the issues on Github to see if I can squash some lingering bugs.

Yeah, I understand that. So I have a question... well, let me open another issue for that... I'm going to go ahead and close this, since it's no longer an issue.


problem with shortcut refinement of generics

Consider:
abstract class Foo()
{
    shared formal Value foo<Value>(Value something);
}

final class Bar()
    extends Foo()
{
    foo = Bar().foo;

    Float float = foo(1.0);
}

I get the following errors in line Float float = foo(1.0);:
Specified expression must be assignable to declared type of float of Bar with strict null checking: Value is not assignable to Float
Argument must be assignable to parameter something of foo in Bar: Float is not assignable to Value

Additionally, if I replace the line foo = Bar().foo; with foo = identity;, I get the following error in that line:
Specified expression must be assignable to declared type of foo of Foo with strict null checking: <Value> => Value(Value) is not assignable to <Value> => Value(Value)

@gavinking told me shortcut refinement assignment for generic functions is not supported, but even then, the errors don't really imply that (they are not even on the offending assignment!), and the following supposedly unsupported code happily compiles:
abstract class Foo()
{
	shared formal Value foo<Value>();
}

final class Bar()
	extends Foo()
{
	foo = Bar().foo;

	value float = foo<Float>();
	value huh = foo();
}

If I tell IntelliJ to explicit the type of either float or huh, it will incorrectly explicit Value for both.

My initial analysis of this problem was way off base. It turns out that you can do shortcut refinement on generic methods. Or, at least, you're supposed to be able to, but it's simply broken.

@gavinking
Well, I'm glad. It feels like allowing such thing is a good quality-of-life feature to the language. My usecase was to create a custom immutable Map on top of the map function. For example:
class CustomMap()
	satisfies Map<String, Float>
{
	import ceylon.language {map}

	value foo = map<String, Float>(somethingHereProbablyAParameter);

	iterator = foo.iterator;
	defines = foo.defines;
	get = foo.get;
	getOrDefault = foo.getOrDefault; // generic overriden with shortcut refinement assignment
}

Fixed.


Xam.Geolocator on iOS: No way to get notified when user authorized GPS

In your iOS project you would create a new location manager and register for: this.manager.AuthorizationChanged += OnAuthorizationChanged;  to see when the user authorized. Since only iOS works this way for authorization there is no need to add it to the API.


IGNORE-VAULT doesn't work correctly if set in the file.

Consider:
vault.token
[root@puppettest01 ~]# cat /etc/puppetlabs/puppetserver/vault.token
IGNORE-VAULT

And in hiera.yaml
  - name: "Hiera-vault lookup"
    lookup_key: hiera_vault
    options:
      confine_to_keys: #Only lookup these
        - '^vault_.*'
        - '^.*password.*'
      ssl_verify: true
      address: <address>
      token: '/etc/puppetlabs/puppetserver/vault.token'
      default_field: value
      mounts:
        puppet:
          - 'nodes/%{facts.location}/%{trusted.certname}/'

I think this is because the check for Ignore is before the setting of the variable hiera_vault.rb#L56
And the to read the file into the variable comes way after hiera_vault.rb#L92

I've contributed a PR to fix this. Just waiting on author approval

This should have been fixed by the work by @SasSwart in https://github.com/petems/petems-hiera_vault/pull/63 and I also added a specific test for it in #70


whitespace free identifiers

What feature would like to see being added to the IPT?

Although a closed set of valid identifier characters would be too much to ask for
maybe you could at least disallow white space within the primary identifier.

Original issue reported on code.google.com by tom.conlin on 2014-04-11 07:53:07

Closing issue as won't fix. If there is renewed interest by other people in this issue, please continue to add your comments or thumbs up to the issue. Thanks


[Ionic v4] Can't bind to 'ngModel' since it isn't a known property of 'ion-toggle' / 'ion-range' / 'ion-checkbox' etc.

Ionic Info
@ionic/angular: "4.0.0-alpha.12"
Describe the Bug
The property ngModel isn't supported on ion-toggle
When I run a prod build I get the following error:

ERROR in : Can't bind to 'ngModel' since it isn't a known property of 'ion-toggle'.

If 'ion-toggle' is an Angular component and it has 'ngModel' input, then verify that it is part of this module.
If 'ion-toggle' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.
To allow any property add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

According the example in the documentation this should be still possible as it was with Ionic v3
https://github.com/ionic-team/ionic/blob/a4659f03b4300a51e52f9f1a4e885cfca9b66f52/core/src/components/toggle/usage/angular.md
Expected Behavior
Being able to use 'ngModel' on ion-toggle
Code
<ion-toggle [(ngModel)]="pepperoni"></ion-toggle>

UPDATE
Same error for 'ion-range', 'ion-checkbox', 'ion-input' etc. so generally speaking is that a breaking change or a bug?
Question
I don't use reactive forms or forms module on my side

No, this is working. Please keep in mind to add the FormsModule to your module or create a  SharedModule to import and export FormsModule
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    RouterModule.forChild([
      {
        path: '',
        component: HomePage
      }
    ])
  ],
  declarations: [HomePage]
})
export class HomePageModule { }

@paulstelzer funny thing is that with Ionic v3 respectively Angular v5 you didn't had to import FormsModule in any modules in order to be able to use ngModel, but, you are right, now with Ionic v4 respectively Angular v6, if you want to, it's a must
Side note, same with ReactiveFormsModule  if you use formGroup or formControlName which need to be imported


Provide guidance how to build an external scaler

Our current external scaler docs are very basic, we should enrich them in what it requires to be an external scaler.
Things it should cover are:

What does it need to expose
What are the data contracts that are required
..

Providing an OpenAPI spec for this might be a good option?

@ahmelsayed @TsuyoshiUshio can you give some insights on this?

@ahmelsayed @zroubalik Can you guys help with this? What does it take to be a good external scaler?
If we have that, I can provide an OpenAPI spec to comply with.

Apparently protobuf schema is the way to go for gRPC, added issue on https://github.com/kedacore/external-scalers/issues/3 to provide one

@ahmelsayed Can you pick this up given we have a lot of questions about this?

Yes I'll take this.

Done for 2.0 in #193, previous version to follow

This is done for 1.5 and 1.4 in https://github.com/kedacore/keda-docs/pull/221

Thanks @ahmelsayed !


Tensorflow Architecture Design

Detail out the complete Tensorflow Architecture Design.

Initial design available here: https://github.com/UniversalDot/documents/blob/master/designs/architecture/Tensorflow.drawio.png

The model for the current recommendation is explained here: https://arxiv.org/pdf/1907.04307.pdf

The final design is here: https://github.com/UniversalDot/documents/blob/master/designs/architecture/Tensorflow.drawio.png
Future improvements might be needed.


junos inventory file added

Signed-off-by: Rohit Thakur<EMAIL_ADDRESS>

recheck

recheck


Tolerance calculation seems wrong when content is misplaced

Expected behaviour
It should fail the test when the content position is changed when tolerance is configured
Actual behaviour
The test pass with a warning that there is a 0.0 % difference of pixels

Steps to reproduce
I used the shot-consumer project

Update the simple_fragment.xml changing the layout_gravity to top
Set the tolerance to 0.000001 on the build.gradle file
Run the tests and check the result

Version of the library
5.10.4

I did some digging and it seems that the problem is on this line:
https://github.com/Karumi/Shot/blob/100477e492b839c8a74372a2aec46b068b713ca4/core/src/main/scala/com/karumi/shot/screenshots/ScreenshotsComparator.scala#L49
Disclaimer: I never touched scala
From what I researched, the diff method doesn't consider the element position on the array, so an Image with the same pixels but on different order would pass on the check

I'm having the same issue

Hey @pedrovgs could you please take a look at my PR ?

Thank you so much for your help @andremion I'm releasing a new version with the fix right now.

New version released @andremion please let me know if everything is working fine for you with version 5.10.6.

@pedrovgs , I think you mixed up the Andres 😅


[BYOC-DNNL] enable conv3d->bn folding

This PR contains two modifications:

support conv3d-bn folding
add some layout in dnnl_json_runtime, and fix some typos.

Yes.


Add some helper text around why we show the ISPs that we show and explain why there are similarly named ones

this is in the about page, and also in the tooltip.


Double slash in URL makes git clone fail

Allow urls prefixes with double slashes be valid
e.g. http://localhost:3000//stuzer05/test_rights.git
Closes #20462

Hi @stuzer05, there's an oversight at work, we didn't connect PR #21333 to issue #20462, and this led to you overlooking the fact that there's already a PR addressing the same issue. Sorry for that.
That's not your fault, but I have to say this PR is duplicated and I have to close it. If you have different ideas, please feel free to reopen it.

My code looks cleaner for the same job, I think. It's mainly taken from middleware.StripSlashes. I can adjust it to strip all double slashes pretty easily

Hi @stuzer05, there's an oversight at work, we didn't connect PR #21333 to issue #20462, and this led to you overlooking the fact that there's already a PR addressing the same issue. Sorry for that.
That's not your fault, but I have to say this PR is duplicated and I have to close it. If you have different ideas, please feel free to reopen it.

My code looks cleaner for the same job, I think. It's mainly taken from middleware.StripSlashes. I can adjust it to strip all double slashes pretty easily

I understand, however, you know it's not a competition. We can also adjust the code in #21333. If you have better ideas, you are welcome to help review #21333.

Hi @stuzer05, there's an oversight at work, we didn't connect PR #21333 to issue #20462, and this led to you overlooking the fact that there's already a PR addressing the same issue. Sorry for that.
That's not your fault, but I have to say this PR is duplicated and I have to close it. If you have different ideas, please feel free to reopen it.

My code looks cleaner for the same job, I think. It's mainly taken from middleware.StripSlashes. I can adjust it to strip all double slashes pretty easily

I understand, however, you know it's not a competition. We can also adjust the code in #21333. If you have better ideas, you are welcome to help review #21333.

Sure! Don't get me wrong, I just want the code to be good, that's all)


Send TLS certificate data inline

Fixes #158

Thanks @davecheney for the suggestions! Fixed now.
Is the message of 56901e9 accurate enough? I'm not entirely sure if I go that right.

LGTM. Thank you, this passes the smoke test on my setup so I'm going to commit it.
I'll write up some e2e tests for lds now that we don't have to touch the file system.


CSV only contains nth tweet instead of all the tweets

The code is meant to download 10 tweets about Trump and export them into a csv file in my documents folder.
When I run it, 10 tweets are downloaded but the 10th tweet is the only one that shows up in the csv file.
Anybody else have this problem or know how to fix it?
Thank you for your time, much appreciated.

Thank you @Jefferson-Henrique I was able to use the exporter to get what I needed done.
ps
The setTopTweet criteria mostly gets german tweets when I use it. Do I also need to set geolocation when using the TopTweet criteria?


dependabot

Thanks for your PR, but there is actually some conflicts in files. We've already made dependabots pull requests ;)


When browser version of Google Maps is accessed from iOS, the pointer for the given location's coordinates is not shown

I'm trying to implement this module in my app, and have an issue related to the browser version of Google Maps. I've given the possibility to access multiple map apps (for now Apple map, and Google Maps), and when I choose from the menu the Google Maps, as expected it redirects me to the browser version of the Google, if the phone doesn't have Google Maps installed, and here appears the problem, the marker is not set on the location which I'm setting from my app, and moreover, it doesn't even want to build the path if I give and the startLocation's coordinates. In the Apple maps everything is going great
Here's a snippet of my code:
gMaps = async () => {
    const {startLocation} = this.state;
    const {lat, lon} = this.state.item.location; //lat & lon come as strings

    showLocation({
      latitude: parseFloat(lat),
      longitude: parseFloat(lon),
      sourceLatitude: startLocation.latitude,
      sourceLongitude: startLocation.longitude,
      title: 'Pickup Location',
      googleForceLatLon: true,
      alwaysIncludeGoogle: true,
      dialogTitle: 'This is the dialog Title',
      dialogMessage: 'This is the amazing dialog Message',
      cancelText: 'This is the cancel button text',
      appsWhiteList: ['google-maps', 'apple-maps'],
    });
  };

I fount the problem. When redirecting to the browser version, the app sends a link similar to this one https://www.google.com/maps?q=LAT2,LON2&api=1&saddr=LAT1,LON1&daddr=LAT2,LON2 (change LAT1, LAT2, LON1 & LON2 with yours coordinates), but now, google changed the structure of this link to this https://www.google.com/maps/dir/'LAT1,LON1'/'LAT2,LON2' , what can be done for resolving the problem?

Here's the structure of the links which redirects you to the directions from point A to point B and to the one which sets a pointer to the given place.

: Direction from a place to another

https://www.google.com/maps/dir/'LAT1,LON1'/'LAT2,LON2'

: Pointer to a desired location

https://www.google.com/maps/place/'LAT1,LON1'

Feel free to submit a PR for this.
One thing to note: the HTTP link is also used by Android to open the Google Maps app, so we need to check if opening Google Maps on Android still works as expected with this new URL structure.

If it is of any help, I've sent a link similar to this in messenger to myself, and accessed it from both iOS and Android, and it opened without any problems, though it was opened in messenger's in-app browser

Feel free to submit a PR for this.
One thing to note: the HTTP link is also used by Android to open the Google Maps app, so we need to check if opening Google Maps on Android still works as expected with this new URL structure.

I can make that pull request, but I didn't changed the scenario for placeID and encodedTitle, as I do not know how to work with them.

Ok, PR done

Hi there,
Maybe I missed something, but I have the v2.5.2 installed and the google maps link still sends to something like
https://www.google.com/maps?q=49.81458,0.58729&api=1&saddr=49.81345,0.51375&daddr=49.81458,0.58729, on iOS 13.1


Nothing is clickable once a modal is open

Built the Angular 4 full project and opened a modal, couldn't click anywhere afterwards

Just figured out that if you backwards in the order that the modals are placed in the HTML, the modals work, but if you skip one, then you won't be able to close the one that's open.

+1 I have two for loops, one that creates a button to launch a modal for each unique id and another that creates modals for each unique id. I though I had done something wrong, but if I start from the last one they all work.

Hi,
I able fixed this issue by comment out line 31 in scss/core/_temp.scss
/*.modal-open .modal {
  display: block;
}*/

@kitloong solution work for me. Thanks.


breakpoints don't work on symlinked files on windows

Using "npm link" to create a symlink from one node project's node_modules to another a project on windows server 2012 R2.  This sets up a directory in node_modules that is a symlink to the "required" project.  VS Code breakpoints in the linked projects' files don't work. I can step into/step through these files - that all seems to work fine, but breakpoints are ignored.  Breakpoints do work in the referencing project.
Here's repro steps:

Unpack this zip file:
symlinkBreakpoint.zip
cd B
run "npm link" command
cd A
run "npm link B" command
open VS code in A directory.
Set a breakpoint on line 1 of a.js
launch VS Code debugger.  Initial breakpoint will get hit.
on line 2 of a.js, step into b.foo() call.   (step into works)
set a breakpoint on line 5 of  b.js
hit f5 (continue).

Expected:  breakpoint on line 5 of b.js will be hit.
Actual:  breakpoint is skipped & program exits.

I have the same issue on Ubuntu 14.04

@mihaidma symlinked source is not yet supported

+1 very important for large projects

+1 for OSX

+1 very important for our projects as we plan to have several repos on the local machine. I tested it with regular "folder" it works. Is there something planned to be made available soon?

+1 Our application consists of multiple node apps, would be great to see support for symlinks to be able to debug them properly.

There is a work around. Open the original location of the file you want to debug and put the breakpoint there. You only can't add breakpoints into the symlinked folder. It does mean "breaking out" of the current project but then again it's all symlinked anyway.
+1 for fixing it properly though. Since it mostly works the problem is just the declared path of the breakpoint.

Starting with node.js 6.3 it is possible to pass a "--preserve-symlinks" as a runtime argument to node.js. This fixes the issue.
See #23753.


Resource bundle

Description of the PR
this now awaits @jsorva 's review

Actions
UI
Notifications
REPL
plugin.xml
Presentation

Testing

unit
integration
manual

- [ ] new unit tests created
- [x] all unit tests pass

- [ ] new integration tests created
- [x] all integration tests pass

- [x] manual testing went well

Have you updated the TESTING.md or other relevant documentation?

[ ] Yes
[ ] Not yet. I will do it next.
[x] Not relevant

test contains one UI addition, which probably should also go into the resource file

language selection?

Should the tests that look at the contents (for an example the tests that check the titles of notifications) actually assert that the contents are equal to the contents in the resource file instead of hard-coded strings like now? This isn't super important though

don't know, but was quite helpful when extracting Strings this time, and not a huge burden to change


QuaRot design [for comments only]

Questions:

Adding quarot as a new package under src/: should we modify the toml so that if someone wants only one of SliceGPT or QuaRot we don't install extra dependencies only used by the other? e.g. fast_hadamard_transform is only used by QuaRot
Should we be moving non-SliceGPT-specific things like model downloading from HF, distributing models over GPUs, dataloading, etc to a common dir?
Bump up the version number in toml file?

Questions:

Adding quarot as a new package under src/: should we modify the toml so that if someone wants only one of SliceGPT or QuaRot we don't install extra dependencies only used by the other? e.g. fast_hadamard_transform is only used by QuaRot
Should we be moving non-SliceGPT-specific things like model downloading from HF, distributing models over GPUs, dataloading, etc to a common dir?
Bump up the version number in toml file?

Yes to all. It will be a major version bump, so we can make breaking changes. It might also be a good opportunity to move to package versions for transformers and lm-eval rather than using specific git commits.


Fail to update cpu configuration of node

PAI Version: v0.13.0
steps to reproduce:

Edit the layout.yaml to update the vcore item of node from 16 to 32. then push to the cluster, restart pai service.
submit a job that request 20 cpus in a task. job failed with this reason:
Invalid resource request, requested virtual cores < 0, or requested virtual cores > max configured, requestedVirtualCores=20, maxVirtualCores=16

the maxVirtualCores is still 16, It seems the update for vcore does not work? What should I do to make it work? thanks.

The cpu is auto-detected by hadoop, not loaded from layout.yaml. Every vcore means a physical core.

Please change code if you realy want to customize: https://github.com/microsoft/pai/blob/49c11438354c99d8a3e403d4a2a188927fcb00ba/src/hadoop-node-manager/deploy/hadoop-node-manager-configuration/nodemanager-generate-script.sh#L74
But job might not get promised cpu time, because your node has only 16 physical core.

Thanks @mzmssg
As your mentioned, I make a test on work nodes which all have 64 vcores.  And indeed, the value of yarn.nodemanager.resource.cpu-vcores in yarn-site.xml is 64. but it still report 'Invalid resource request, requested virtual cores < 0, or requested virtual cores > max configured, requestedVirtualCores=64, maxVirtualCores=32' when I try to sumbit a job requesting 64 cpunumber. I am confused about this,  Could you please explain that?

We have a global maximum resource limit:
https://github.com/microsoft/pai/blob/bcc7978900056f55ef8361ab59c873b67b80d79c/src/hadoop-resource-manager/deploy/hadoop-resource-manager-configuration/yarn-site.xml.template#L349
I guess that you deployed an old version, previouesly it's 32

Oh, My!  thanks a lot.


Formalize Double-spend Validation

We already implemented these checks, but they are missing from the specs.

Do we also need to specify the validity of the amount on InputCoin and amount/sender/recipient/data on InputMessage?

Most likely, although that would be separate from tx format validation and requires interaction with state.


Why does 2023scripts get_ipids.py only parse NIMH?

Test if the get_ipids.py in /scripts can parse the other ICs or not

This might have been a later modification. Pretty sure we parsed all ICs at some point

Confirmed that new git_ipids.py in db9d842 is capable of parsing the ICs in the list


"Pre-comment" does not show in decompiled code view

Describe the bug
Usually, "pre-comments" seem to show - as expected - in the respective decompiled code view.
I specifically like to use them when I want to put some kind of reminder in the decompiled code so that I will find it again in the exported C/C++ program code.
Unfortunately there seem to be scanarios (the rationale behind which totally escapes me) where respective "pre comments" (or any other comment for that matter) just DO NOT show in the decompiled code view. Usability wise this is a total clusterfuck and I strongly hope that it is just a bug and not by design.
Example:
          *(undefined4 *)((int)&uStack5608 + iVar11) = 0;
          *(undefined4 *)((int)&uStack5608 + iVar11 + 4) = 0xbff00000;

The decompiled code here is obviously acting on a memory location that actually contains a double and what it means to do is: (double)((int)&uStack5608 + iVar11) = -1.0;
To remind me of the respective "todo" to cleanup that code manually later I click on the 1st line and enter a respective "pre comment". Interestingly the comment does show in the corresponding Listing view - where it is absolutely useless to me - but NOT in the decompiled code view:
                             XXX  just a simple "-1.0" assignment to a double
        0040c570 c7 84 3c        MOV                           dword ptr [ESP + EDI*0x1 + 0x674],0x0
                 74 06 00
                 00 00 00
        0040c57b c7 84 3c        MOV                           dword ptr [ESP + EDI*0x1 + 0x678],0xbff00000
                 78 06 00
                 00 00 00

The mapping from ASM ops to decompiled C statements seems to be rather 1:1 here.. so why does that comment not show in the decompiled code?!
PS: I tried "pre" and "plate" comments on both of the above lines and none of those show in the "Decompile" view - regardless of how many checkboxes I activate in the respective "show comments" preferences..
Expected behavior
Pre-comments should always show in the respective decompiled code view. (or there should be at least some type of comment that always shows - I don't really care). It just sucks not being able to edit ANY comment that will actually show in the decompiled code. Usability wise it should be obvious that when a user clicks in the "decompiled code view" and uses the "Comment ->Set.." functionality, then that functionality should default to something that actually creates a visible comment entry at that selected location!
Environment (please complete the following information):

OS: Win10
Ghidra Version: 10.1.1

This is actually configurable.  Right-click in the decompiler, select properties, and then scroll down.  Different comment types can be enabled.

I agree that having them disabled by default is confusing, though, and this setting isn't particularly discoverable.

I have the same problem with the latest Ghidra release as of the moment of writing. Comments show up in disassembly, but not in the decompiled C code.

Same issue persists through to version 10.3.2.

Probably that particular address does not correspond to any of the decompiled code. (If you highlight your decompiled code you can see which instructions in the listing they are linked to).

To add some information to this: I had this happen to a function, then later wiped the project the function was in and re-analyzed everything with a different set of analysis settings. Perhaps certain decompiler settings cause it?

Some more information: I've had this go away by recreating the function (which I guess forces some sort of remapping/reanalysis).


Hide members of confidential projects

Fixes #959.
Only the following people can see the list of members if a project is confidential:

The manager(s) of the project
Site admins
Org admin(s) of the org(s) the project belongs to, if any

Everyone else, including people who are themselves members of the project, cannot see its membership.

just tested this out and it doesn't work, the user gets an error trying to access a project that's confidential if they're not a manager.

@rmunn where's this PR at?

@hahn-kev - Picked this PR up again and made it work. What do you think?

@hahn-kev - Okay, I've gone ahead and implemented those changes, including the "members visible if confidentiality is not yet set" one. That one is a separate commit so it will be dead easy to revert later if we end up deciding this question the other way. Ready for re-review.


Can you provide examples code to run inference on video QA?

For the example in this page: https://github.com/mit-han-lab/llm-awq/tree/main/tinychat#usage
You can easily inference on images:
python vlm_demo_new.py
--model-path VILA1.5-13b-AWQ
--quant-path VILA1.5-13b-AWQ/llm \
    --precision W4A16
--image-file /PATH/TO/INPUT/IMAGE
--vis-image #Optional
However, how do you run video QA inference? Can you provide an example?

AWQ好像无法运行video吧

But I was able to run video QA on demo page: https://vila.hanlab.ai/
Is there a way to reproduce this locally?


Any Deploy for VPS

i have my personal server can i deploy this ? also any other way to keep bot running other then metioned https://uptimerobot.com/
please reply thanks

ah which vps bro dm me https://t.me/X_dm_me

i thing just run pip install -r requirements.txt python3 bot.py

Dm'd u brother

Clone the repo

Add cd repo name

Add cd repo name

Share commands to start bot and setup config please

bro he need renaem bot to just add thambnail

I don’t have rename bot


Cannot get any WiFi signal, no bluetooth

Describe the bug
Hi, I installed Big Sur, there are 2 bugs on my T440p
1, Cannot get any WiFi signal.
2, No bluetooth, bluetooth can work well in Win10.
Screenshots

Device (please complete the following information):

macOS Version: 11.6.1
EFI Version: 1.6.0
EFI type (regular or HeliPort): regular

Additional context
Thank you.

USB remap your ports.

Hey! 👋
It looks like you don't have a Intel WiFi card. Either you replace your wifi card, or you search for a suitable kext file, but I'm not sure if there any Realtek WiFi kexts exists.