Add AMI support for EC2 node drivers

PR Description
This PR adds support for EC2 images to be specified when testing with the Go automation framework. If you choose to not set this optional parameter, then the prior behavior of the default AMI per AWS region still maintains; this simply offers more configuration choice.
Tested with multiple quick start / community AMIs for the following distros:

Ubuntu 20.04: PASS
SUSE 15SP3: PASS
Ubuntu 22.04: PASS

Not supported, but the automation should still allow to pass, which it did.

Merging since prev PR had approvals.


Icon/logotype proposal

The nuget package lacks an icon so I am using this PR as a proposal for a new icon/logotype.

SVG version with changable colors
I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

Closing this due to lack of interest and adopting the icon until someone comes up with a better one.


Debug logs are not being sent to RabbitMQ, all other yes

Describe the bug
Debug type logs not being sent RabbitMQ, only other like information, warning, errors...
To Reproduce
RabbitMQ 3.13.0
Package version 7.0.1 (also tested with 7.0.0)
Steps to reproduce the behavior:
_logger.LogDebug("Sample text to Log");
or
Log.Debug("Debug log test");
none works! for other sinks they are being sent, just RabbitMQ they aren't.
I am using it in a aspnetcore background service and configuration in a appsettings file.
Also tested with sample project provided in this repo and same behavior is happening.
Anyone faced that before? Sorry if I didn't follow the rules in this post, first time ever...

I found the issue. The default LevelSwitch of the sink is set to Information. I'll change thisa to comply with the default used in Serilog. In the mean time as a work around you can add "levelSwitch": "Debug" to the appsettings file.

@ddcavalheiro I just released 7.0.2. It should fix this issue.


render: unconditionally read WLR_RENDERER

Prior to this commit, WLR_RENDERER was only looked up when the
backend returned a DRM FD.
Make it so WLR_RENDERER is always looked up, so that running wlroots
on a system without a GPU and with WLR_RENDERER=gles2 fails as
expected instead of falling back to the Pixman renderer.
cc @bl4ckb0ne

Small nit: I'd prefer the drm fd check to be done in the wlr_gles2_renderer_create_with_drm_fd function so the renderer autocreate function just has to deal with NULL wlr_renderers.
LGTM otherwise :)

Small nit: I'd prefer the drm fd check to be done in the wlr_gles2_renderer_create_with_drm_fd function so the renderer autocreate function just has to deal with NULL wlr_renderers.

I haven't gone with this approach because one code-path wants a WLR_ERROR log when there is no drm_fd, the other wants a WLR_DEBUG log. We shouldn't print a WLR_ERROR if we're going to try another renderer next.

Seems good then, merge when you're ready

Thanks for having a look!


Should be a view function

https://github.com/programmablewealth/gotchiverse-crowdfarming-contracts/blob/6487d7dca7cb93cd1448b315369956f2fff5203a/contracts/facets/CrowdFundingFacet.sol#L75
It is important to label functions that do not modify state as view, as this helps ensure to contract readers that the function is safe from modifying any state.

implemented 👍


fix(runtime-core): ref in v-for does not trigger watchEffect

close #6168
fix(runtime-core): ref in v-for does not trigger watchEffect

Fix Preview

Fix Preview

Beautiful.
I didn't know you could preference specific versions on the playground.
I look forward to this fixing a very similar problem we are seeing in our codebase..
(Fingers crossed they are related)..

Can I ask what the hold up is for this PR? Maybe I can help unblock it?

I see this is still not merged for some reason.. I was coming to see if there is anything I can do to help move this along?

I believe this same fix was merged in #6714, and was released in 3.2.41. The symptoms in the bug report for that PR were slightly different, but the fix ended up being the same.


Agent self-view mirrored, how to fix it please?

Self-view mirrored, but after connection shows correct.
How to fix it please? (it should show the letters correctly readable which is correct format for default: Talky, AppRTC is invalid, OpenWebRTC is showing it correctly only)

When i use:
        localVideo: {
            autoplay: true,
            mirror: false,
            muted: true
        }

then the image is completely stretched (not same as mirror: true), can you please have a look.

When i use mirror: false then the picture in picture (is not same)

To get the letters correct in self-view i used mirror: false, but then the self-view is not valid anymore, its not natural anymore, its totally stretched out left-right-top-bottom, that is not correct view.
It should keep it as it was when you use mirror: true

Use or don't use (depending on what you want) scaleX(-1) for the transform? That's just CSS

OK - no problem thank you. I thought the mirror: false should do those (temporary i am using CSS just to inform you)

afaics mirror: false works as intended.

YES - sorry its correct. i had my code problem where i was using scaleX(2) for #localVideo as a result it was not showing natural camera view. Thank you, its my mistake.
    if (opts.mirror) {
        ['', 'moz', 'webkit', 'o', 'ms'].forEach(function (prefix) {
            var styleName = prefix ? prefix + 'Transform' : 'transform';
            element.style[styleName] = 'scaleX(-1)';
        });
    }


BitBar app is unsigned and therefore will not be executed.

BitBar releases are unsigned. Checking with codesign -dv BitBar.app returns: BitBar.app: code object is not signed at all. Of course many people can compile this themselves, but the question should be raised if you expect everyone to compile this themselves?
It looks like with the latest OS X upgrade to 10.11.4 Apple may have made it harder to execute unsigned code. It used to be possible to just Right-Click + Open any app, which would then ask if you are sure you want to execute this downloaded application, but this didn't work for some reason when I installed the latest BitBar.app. I only got this Console output now when trying to start BitBar:
28/03/2016 10:55:13.000 AM kernel[0]: OSTIARIUS: /Applications/BitBar.app/Contents/MacOS/BitBar is from the internet & is unsigned -> BLOCKING!
28/03/2016 10:55:13.187 AM com.apple.xpc.launchd[1]: (com.apple.xpc.launchd.oneshot.0x1000001a.BitBar[32020]) Service exited due to signal: Killed: 9

The way to fix it was to go into the BitBar.app/Contents/MacOS package folder and do the Right Click + Open trick on the executable right there. I then had to do this again on the BitBar.app to be able to run it. This seems a little complicated for average users and I was wondering if BitBar should be released with  signed code?
I am not 100% sure about Apple's signing process, but I know you can get a certificate without paying for the developer program. You can sign apps without paying the annual fee to Apple, but I am not sure if those signatures then count as "identified developers". It wouldn't be complicated to do, though (just add the signature when you build the release in Xcode).

We just started automating our builds using Travis CI, so we would need to look into codesigning there. FWIW, I didn't run into any issues with our release builds so far, so I'm interested to hear if this is a common problem now.

If you right click the app and choose Open, it lets you run it.

Currently, BitBar's audience is developers - so the right click, Open trick seems to work but I would like to get it signed if possible. I have a developer program account, so can provide the necessary certificate. @iosdeveloper let's look into this.

The latest release is codesigned. :)


fix: Update sphinx autoapi and resolves vale issue

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 95.91%. Comparing base (0814ad5) to head (50a8c0e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   95.91%   95.91%
=======================================
  Files          19       19
  Lines        2178     2178
  Branches      278      278
=======================================
  Hits         2089     2089
  Misses         72       72
  Partials       17       17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

There are several regressions in my environment:

warnings about duplicate index entries, for example:
...\doc\source\api\ansys\scade\apitools\expr\access\index.rst:5169: WARNING: duplicate object description of ansys.scade.apitools.expr.access.UnaryOp.operand, other instance in api/ansys/scade/apitools/expr/access/UnaryOp, use :no-index: for one of them

warnings about files not added to toctree:
...\doc\source\api/ansys/scade/apitools/create/data_def/TransitionDestination.rst: WARNING: document isn't included in any toctree

some links are wrong, this must be linked to the first issue. For example, the link associated to the property value of _build/html/api/ansys/scade/apitools/expr/access/ChgIthOp.html#ChgIthOp targets another class, which has also a property value.

@Revathyvenugopal162 Edit: the issue with index entries is no longer present after a regeneration. There is one regression in my environment:

warnings about files not added to toctree:
...\doc\source\api/ansys/scade/apitools/create/data_def/TransitionDestination.rst: WARNING: document isn't included in any toctree

Edit2: the warnings are raised when the value of autoapi_own_page_level is "class". If we change to "function", which is the desired behavior, there no more warnings.

Thanks for the test.
if this is ok for you, we can merge this PR.

@Revathyvenugopal162 Edit: the issue with index entries is no longer present after a regeneration. There is one regression in my environment:

warnings about files not added to toctree:
...\doc\source\api/ansys/scade/apitools/create/data_def/TransitionDestination.rst: WARNING: document isn't included in any toctree

Edit2: the warnings are raised when the value of autoapi_own_page_level is "class". If we change to "function", which is the desired behavior, there no more warnings.

Thanks for the test. if this is ok for you, we can merge this PR.

Yes, this is fine


Feature: Hide App

Description:
Implements a feature to hide the app icon and launch it from phone dial.
Tasks:

[ ] Build CI Runs
[ ] Code Analysis up to standards

@sr093906 @mezysinc @Ismael034 translation needed

@sr093906 @mezysinc @Ismael034 translation needed


Coinbase Vault - BIP32, BIP16

I'm submitting a…

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x ] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

I have 3 XPUB keys that I would like to see the balance of, they were generated by Coinbase Vault back in 2014 however coinbase have very kindly decided to not honour upkeep of their tool which no longer works (bitpay API)
I am able to import all 3 of my XPUBS into here - https://unchained-capital.github.io/caravan/#/wallet
However the HD addresses its generating are different to the ones that the coinbase tool is generating.
BIP32, BIP16 m/0 path
I dont want to post my addresses here for security reasons, is it possible to have a secret chat?

We are not familiar with how coinbase does their setup - make sure address type is correct.

We default to P2SH but they have been using P2WSH


Strip comments from lines containing inline field

While it's debatable whether
Lorem ipsum dolor sit amet, consectetur adipiscing elit (Key::Val) , sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

should be allowed, I think lines with an inline field should be allowed to be commented.
Therefore, when adding
Key:: Val %% comment %%

to a note, the following query should return the link of that file:
LIST WHERE Key="Val"

Allowing multiline comments, such as
Key:: Val %% Lorem ipsum dolor sit amet, consectetur adipiscing eli,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. %%

would be of great interest, since it's IMHO the most natural syntax in Obsidian for semi-structured note templates with hints on how to use them -- the hints being enclosed by the comments delimiters.

^ +1 on this.
I was thinking of using typical JavaScript commenting style:
"//" for single line
"/** ... **/" for double line

I'd recommend using inline-inline fields for this for now, which allow you to inline metadata anywhere in your document: [key:: value]


dependency-check.sh should have an option for plain-text results, too.

currently, i find the output of the shell-script it hard to quick-understand, as the xml/json are hard to read, and the html with all the JS even harder ( with cmdline tools like ´more´).
An option to have similar output like generated by the gradle-plugin or so would be nice.

There is a CSV version of the report that might work for you?

Let's acknowledge that CSV is a pretty terrible format without a higher-level language involved.  However, in some circumstances, that's all one has to rely on.
That said...
The current format of the CSV output is actually very tricky/near impossible to read from tools like awk due to the ordering of the fields and the inconsistency of quoting.  The naive approach shows just how difficult this is:
awk -F, '{print $4":"$13":"$18}' dependency-check-report.csv

Field 4 only prints the jar when the ScanDate is in a US format.  By the time awk gets to field 13, it has already crossed through Description, License, and CPE which may or may not have commas in it. CWE may or may not have content in it. One is at the mercy of the submitter in the Vulnerability field.  By the time awk finally gets to Severity, one of the most important fields, it has crossed through a minefield.
Making the awk smarter by using a fairly complex FPAT helps, but isn't much better.  Pushing fixed fields (the ones without commas or the ones guaranteed to have a certain number of commas) to the front, offering a format without the extra text descriptions, and/or allowing users to specify what fields they want in the CSV would help tremendously.  Chances are if someone is forced to read the CSV file, they have fairly limited amounts of data they want out of it.


Problem after update

We have written the needed data intoPlease note that whenever I update VScode from within (i.e. from the Help menu), it doesn't start after the update is complete. This has occurred for the third consecutive time. Can you please guide me or help me troubleshoot this issue? I am currently running Windows 10 professional with 8 GB RAM. your clipboard because it was too large to send. Please paste.

Please note that whenever I update VScode from within (i.e. from the Help menu), it doesn't start after the update is complete. This has occurred for the third consecutive time. Can you please guide me or help me troubleshoot this issue? I am currently running Windows 10 professional with 8 GB RAM.

What is the error? Cany ou share a screenshot?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Remove Unmaintained Themes

Hugo Scroll Theme is unmaintained as per its README
Hugo Base Theme is unmaintained as per this issue that has remained unresolved for 4 years https://github.com/crakjie/hugo-base-theme/issues/3
EDIT
The second commit is about removing the Landing Page theme which is also unmaintained as per https://github.com/crakjie/landing-page-hugo/issues/17 which has been left open since 2016.

Yes sorry, I'm not maintaining theses themes anymore. But I will be happy to leave the merging/reviews right to someone motivated.


Migrate Cabot to Python 3.6.5 and Django 3.2.5

Hi, I migrated Cabot to python 3 and it works!
I also migrated the following plugins:
-cabot-check-http
-cabot-check-network
-cabot-alert-slack
-cabot-alert-email

I love it. Let me review

@Ladrusca @pablodgonzalez thanks for doing this. I'm going to carve out an hour to review this in the near future as I'd love to get merged. At the moment it's not super clear to me:

If there's major functionality that has been removed (e.g. REST API)
How to set up development
How to run tests
What modules work

Also if you can submit pull requests for the modules you've migrated that would be great.

Hi @dbuxton I am writing previusly to @Ladrusca do that
We have removed all plugins logic in cabot, and create an repo index with all plugins we have found in pypi/github here https://github.com/senzil/cabot-plugins
In that way cabot is thiner and more customizable to each use case.
For now we publish a pypi package named cabot3, forked all plugins and change the dependency from cabot to cabot3, no for a definitive setup but just temporal while the main cabot repo and pypi package are updated.
Right now we are working in the new Docker image and use github actions (because delete travis and docker hub has not more automated builds)
The plan is get the image working well and then add test steps in github actions. Of course, the tests about plugins does not have sense anymore. Maybe, is possible add some dummies check and alert to test the models and logic of cabot and growth the coverage?
Our idea is you can check all and to make progressive pull request to each plugin (some of course are unmaintained and I think they goes to keep in that way but the are in the index anyway)

Wow :)! Thanks for porting cabot to newer deps versions. Currently I have even trouble building the image.
Hope the MR goes through review :)

@dbuxton @Ladrusca  is there any chance this PR will go through ? I am also having difficulty understanding the building and using the steps to have an updated cabot image. I was trying to follow through from the forked repo, even though the cabot image builds but the application does not start up complaining about the missing plugins, so I am not sure how the plugins are supposed to be integrated?


Compatibility with OTP 24

The language server terminates repeatedly when using OTP 24 (and elixir master). I've tried compiling elixir-ls with the same version of OTP and Elixir, but compilation fails complaining about the use of erlang:get_stacktrace/0 which has been removed in OTP 24 (I think that might be an issue with rebar3 in elixir master).
Environment

Elixir & Erlang versions (elixir --version):

Erlang/OTP 24 [RELEASE CANDIDATE 1] [erts-12.0] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit] [dtrace]
Elixir 1.12.0-dev (compiled with Erlang/OTP 24)

Operating system:

macOS Big Sur Version 11.2.1

Editor or IDE name (e.g. Emacs/VSCode):

VSCode

Editor Plugin/LSP Client name:

ElixirLS

Troubleshooting

[x] Restart your editor (which will restart ElixirLS) sometimes fixes issues
[x] Stop your editor, remove the entire .elixir_ls directory, then restart your editor

NOTE: This will cause you to have to re-run the dialyzer build for your project

If you're experiencing high CPU usage, it is most likely Dialyzer building the PLTs; after it's done the CPU usage should go back to normal. You could also disable Dialyzer in the settings.
Logs
Started ElixirLS v0.6.5
Elixir version: "1.12.0-dev (compiled with Erlang/OTP 24)"
Erlang version: "24"
ElixirLS compiled with Elixir 1.8.2 and erlang 21
MIX_ENV: test
MIX_TARGET:
[Info  - 3:56:36 PM] Compile took 1053 milliseconds
[Info  - 3:56:36 PM] [ElixirLS WorkspaceSymbols] Indexing...
[Info  - 3:56:36 PM] [ElixirLS Dialyzer] Checking for stale beam files
[Info  - 3:56:36 PM] [ElixirLS WorkspaceSymbols] Module discovery complete

15:56:37.234 [error] Task #PID<0.349.0> started from #PID<0.315.0> terminating
** (ArithmeticError) bad argument in arithmetic expression
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:519: ElixirLS.LanguageServer.Providers.WorkspaceSymbols.build_range/1
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:487: ElixirLS.LanguageServer.Providers.WorkspaceSymbols.build_result/4
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:397: anonymous fn/4 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.index/1
    (elixir 1.12.0-dev) lib/enum.ex:2352: Enum."-reduce/3-lists^foldl/2-0-"/3
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:386: anonymous fn/1 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.index/1
    (elixir 1.12.0-dev) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir 1.12.0-dev) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib 3.15) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: #Function<32.766573/0 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.do_process_chunked/2>
    Args: []

15:56:36.909 [error] Task #PID<0.347.0> started from #PID<0.315.0> terminating
** (ArithmeticError) bad argument in arithmetic expression
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:519: ElixirLS.LanguageServer.Providers.WorkspaceSymbols.build_range/1
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:487: ElixirLS.LanguageServer.Providers.WorkspaceSymbols.build_result/4
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:397: anonymous fn/4 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.index/1
    (elixir 1.12.0-dev) lib/enum.ex:2352: Enum."-reduce/3-lists^foldl/2-0-"/3
    (language_server 0.6.5) lib/language_server/providers/workspace_symbols.ex:386: anonymous fn/1 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.index/1
    (elixir 1.12.0-dev) lib/task/supervised.ex:90: Task.Supervised.invoke_mfa/2
    (elixir 1.12.0-dev) lib/task/supervised.ex:35: Task.Supervised.reply/5
    (stdlib 3.15) proc_lib.erl:226: :proc_lib.init_p_do_apply/3
Function: #Function<32.766573/0 in ElixirLS.LanguageServer.Providers.WorkspaceSymbols.do_process_chunked/2>
    Args: []

Non stable elixir and OTP versions are not supported but we will appreciate a PR fixing that.

Understood, I wasn't requesting support, just registering the issue in readiness for OTP 24 (rc1 was released last week).
See also: https://github.com/elixir-lang/elixir/issues/10763
Will put together a PR if I manager to figure out how to fix it.


Added pathlib support.

Addresses issue #285 by adding support for both pathlib.Path objects and pathlib.Path.glob() generators. Tests have been added and docs have been updated to reflect this enhancement.

thank you so much for the pr :)


Add support for Angular up to v15 in package.json

The project is already working fine with Angular 15, however it required to be installed with --legacy-peer-deps because it's only compatible up to Angular 7 in package.json.
This PR adds compatibility with Angular up to v15.
More info:

tsickle last release uses typescript 4.7 while Angular requires 4.8, hence the fixed commit. I'm not sure if it's used but Google recommend to not use that package directly.
build-ng-packagr is deprecated and has been removed.
the build process requires exporting all classes, otherwise it raises an error: Unsupported private class build error
it's been built/tested with the following version:

 ➜ node -v
v18.12.1
 ➜ npm -v
8.19.2

I know this project is not heavily supported, but it would be nice if we could merge this, so I won't have to rely on a fork.

Thanks

released v0.3.0-rc.1 (RC until we are sure that it works fine in previous Angular versions)

It doesn't work in https://github.com/retejs/examples/tree/master/Angular10
When I try to install:
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@angular/elements
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!   peer<EMAIL_ADDRESS><16.0.0" from<EMAIL_ADDRESS>npm ERR!   node_modules/rete-angular-render-plugin
npm ERR<EMAIL_ADDRESS>from the root project

After install --legacy-peer-deps at start
ERROR in node_modules/rete-angular-render-plugin/node.service.d.ts:7:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

7     static ɵfac: i0.ɵɵFactoryDeclaration<NodeService, never>;
                      ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/node.service.d.ts:8:22 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectableDeclaration'.

8     static ɵprov: i0.ɵɵInjectableDeclaration<NodeService>;
                       ~~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/node/node.component.d.ts:18:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

18     static ɵfac: i0.ɵɵFactoryDeclaration<NodeComponent, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/node/node.component.d.ts:19:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.

19     static ɵcmp: i0.ɵɵComponentDeclaration<NodeComponent, "ng-component", never, { "editor": "editor"; "node": "node"; "bindSocket": "bindSocket"; "bindControl": "bindControl"; }, {}, never, never, false, never>;
                       ~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/socket/socket.component.d.ts:8:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

8     static ɵfac: i0.ɵɵFactoryDeclaration<SocketComponent, never>;
                      ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/socket/socket.component.d.ts:9:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.

9     static ɵcmp: i0.ɵɵComponentDeclaration<SocketComponent, "rete-socket", never, { "socket": "socket"; "io": "io"; }, {}, never, never, false, never>;
                      ~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/custom.component.d.ts:13:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

13     static ɵfac: i0.ɵɵFactoryDeclaration<CustomComponent, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/custom.component.d.ts:14:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵComponentDeclaration'.

14     static ɵcmp: i0.ɵɵComponentDeclaration<CustomComponent, "ng-component", never, { "component": "component"; "props": "props"; }, {}, never, never, false, never>;
                       ~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/control.directive.d.ts:11:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

11     static ɵfac: i0.ɵɵFactoryDeclaration<ControlDirective, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/control.directive.d.ts:12:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'.

12     static ɵdir: i0.ɵɵDirectiveDeclaration<ControlDirective, "[rete-control]", never, { "control": "rete-control"; }, {}, never, never, false, never>;
                       ~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/socket.directive.d.ts:13:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

13     static ɵfac: i0.ɵɵFactoryDeclaration<SocketDirective, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/socket.directive.d.ts:14:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'.

14     static ɵdir: i0.ɵɵDirectiveDeclaration<SocketDirective, "[rete-socket]", never, { "io": "io"; }, {}, never, never, false, never>;
                       ~~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/kebab.pipe.d.ts:7:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

7     static ɵfac: i0.ɵɵFactoryDeclaration<KebabPipe, never>;
                      ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/kebab.pipe.d.ts:8:22 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵPipeDeclaration'.

8     static ɵpipe: i0.ɵɵPipeDeclaration<KebabPipe, "kebab", false>;
                       ~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/module.d.ts:12:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵFactoryDeclaration'.

12     static ɵfac: i0.ɵɵFactoryDeclaration<ReteModule, never>;
                       ~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/module.d.ts:13:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵNgModuleDeclaration'.

13     static ɵmod: i0.ɵɵNgModuleDeclaration<ReteModule, [typeof i1.NodeComponent, typeof i2.SocketComponent, typeof i3.CustomComponent, typeof i4.ControlDirective, typeof i5.SocketDirective, typeof i6.KebabPipe], [typeof i7.CommonModule], [typeof i1.NodeComponent, typeof i3.CustomComponent, typeof i2.SocketComponent, typeof i4.ControlDirective, typeof i5.SocketDirective, typeof i6.KebabPipe]>;
                       ~~~~~~~~~~~~~~~~~~~~~
node_modules/rete-angular-render-plugin/module.d.ts:14:21 - error TS2694: Namespace '"/examples/Angular10/node_modules/@angular/core/core"' has no exported member 'ɵɵInjectorDeclaration'.

14     static ɵinj: i0.ɵɵInjectorDeclaration<ReteModule>;

Thanks, I'll take a look and see if I can make it work on both versions.


Features to allow users to replace existing files

There is no support for versioning of device data (files), if the user wants to replace an existing file (the file description remains, but the contents of the files are changed), he/she must contact the data managers to delete the old files.
We can add a feature to allow the original uploader (the one who upload the old files) to replace the old file.
The backend will verify the user by comparing him/her with the original uploader, then delete the old file and upload the new file.

Given that the API of getStudy will be modified so that it will 1) return all files for admin users 2) return the latest file within files that have the same name for general users, we considering the integration with API versioning.


Helm Install scripts for v.2.10.0 linux broken

$ ./get_helm.sh --version v2.10.0
Downloading https://kubernetes-helm.storage.googleapis.com/helm-v2.10.0
v2.15.0-linux-amd64.tar.gz
curl: (3) Illegal characters found in URL
Failed to install helm with the arguments provided: --version v2.10.0

It appears to be defining $TAG incorrectly in the v2.10.0 release. v2.9.1 works as expected.

Thanks for pointing this out! I'll have a look.


Memory Leak in GPU_CreateRenderer_OpenGL_4

I'm getting a memory leak from this function GPU_CreateRenderer_OpenGL_4.
It looks like renderer->impl is not freed in any of the GPU_FreeRenderer functions.
Adding:
if (renderer->impl)
SDL_free(renderer->impl);
in GPU_CreateRenderer_OpenGL_4 solved the leak.

Yep!  This is an oversight from when I added the impl separation.  It is fixed in cc33fde4a5e30a39362cee273ee2fe64007ab366 now, for every renderer.  Thanks!


Placement Policy API

Added PlacementPolicy API. Only supporting DISTRIBUTED runnables for now.
Allocating Containers for one runnable instance at a time (for DISTRIBUTED runnables), instead of grouping them together based on Resource Specs.
Added blacklist support for DISTRIBUTED PlacementPolicy.
Moved Hosts and Racks from ResourceSpecs to PlacementPolicy.
Unit tests: Added PlacementPolicyTestRun Class.

Gourav

I think this one already merged. Could you verify and close it if it so?

Yes, the patch is merged. Closing the pull request.


Starfinder Enhanced equipment

Adds Equipment from Starfinder Enhanced - Augmentations, Magic Items, Technological Items, Hybrid Items, Grenades, Serums, Personal Items

Some items look like they could use an effect item to apply their effects in an automated way. No need to do it now, but at some point we should make effect items for these. I'll try to add these to the effect item tracking post as I spot them (Issue #1188)


Interactive effects not working

interactive effects arent working in any profile except desktop

Works fine here...

yea if u have the window opened it works but once u start the game it doesnt anymore for some reason

Just launched dota 2. Worked fine.

strange... i tried gta 5 and bns and neither worked

Same games could be taking full control of the keyboard. Not usual to see with games.


Fix Tutorial Document

Change bash docker exec -it tcf bash to
docker exec -it tcf bash.
Signed-off-by: danintel<EMAIL_ADDRESS>

Rendered document with correction is here:
https://github.com/danintel/avalon/tree/tutorial/docs/workload-tutorial


Does mocha watch the test files modified only?

I use mocha -w --recursive cli to watch my test files changed.
But it will re-run all my tests, even I just modify a single test file.
I want something like just watch and re-run the modified test file tracked by git?

Hi @mrdulin - very interesting! Mocha doesn't necessarily want to know about the GIT domain, because what about the Mercurial people and such.
Can I suggest you look into Husky or Lint Staged. Lint staged is probably what you're after, because it gives you a list of staged files.

@maraisr I am looking for a way that re-run the test file I modified , not all test files. Like Jest watch mode.

@mrdulin I had a similar issue and this is how I use to avoid re-run entire test suites.
Instead of watching all test files, you can specify files that you want to test/watch only.
For example,
// package.json
"tdd": "mocha ${TEST_FILES:-test/} --watch --recursive"

# terminal
TEST_FILES='test/a.spec.js test/b.spec.js' npm run tdd

This will only test files specified in TEST_FILES and watch the changes.

@junpos This seems like a manually work. My thought is If mocha know the test files modified which tracked by git . So mocha can re-run the modified test files.

@mrdulin I think git tracks all file changes not limited to test files. So Mocha doesn't know which files it should be watching at. Instead you can pass a list of filenames for Mocha with this simple bash script (I assume test files contain .spec.js)
# If your changes are not committed yet
mocha --watch $(git diff --name-only | grep .spec.js)

# If it's commited
mocha --watch $(git diff master... --name-only | grep .spec.js)

@junpos Yeah.git tracks all file changes. But Mocha should be care about the test files according to file extension or directory name. e.g: *.spec.js, *.test.js, /__tests__/.
Can you take a look about jest --watch cli option? I don't know do I explain clearly.
https://facebook.github.io/jest/docs/cli.html#watch

// package.json
"tdd": "mocha ${TEST_FILES:-test/} --watch --recursive"

# terminal
TEST_FILES='test/a.spec.js test/b.spec.js' npm run tdd

This can be done without environment variables:
// package.json
"test": "mocha --watch --recursive"

# terminal
npm test test/a.spec.js test/b.spec.js

OR in test/mocha.opts
-- watch --recursive

# terminal
mocha test/a.spec.js test/b.spec.js

My thought is If  mocha  know the test files modified which tracked by  git  .

Mocha doesn't know anything about Git, Mercurial, SVN etc.

To answer the question as generally as possible:

Any files passed to Mocha, whether by NPM script or by the CLI command, and any files specified in mocha.opts, are all "test files" -- they will be loaded with describe, it etc., which Mocha uses to run the tests.

The default file is the test directory; when a directory is specified Mocha will interpret it as referring to all .js files in that directory, or all .js files in the directory and all subdirectories if --recursive is also specified.

--watch will rerun all the "test files" (see above) when any of the following are changed:

any files in the project, whether test files or not, with the .js extension
any files in the project, whether test files or not, with extensions specified in --watch-extensions

Mocha doesn't have any knowledge about which tests are testing which files; such a tool could presumably be built, but...
The built-in --watch feature has never been favored by Mocha's maintainers to begin with: the recommendation for more sophisticated watching behavior is to use an external watcher such as Chokidar (however, --watch has not been removed because we are aware of efficiency problems spawning an entirely new mocha process for each test run and consistency problems when making multiple runs through the programmatic API).

Hi, this script will allow you to execute only affected files. Please modify:

your mocha execution pattern to fit your needs
your test matcher

KNOWN ISSUE
This will not work if you are using imports by variables, such as const b = 'path', const a = require(b)
var watch = require('node-watch');
var execSync = require('child_process').execSync;
var dependencyTree = require('dependency-tree');
var glob = require('glob');

var changedFiles = [];
var timeout = null;
var trees = {};

function buildDependencyTree(filename) {
  return dependencyTree({
    filename,
    isListForm: true,
    directory: './src',
    filter: path => path.indexOf('node_modules') === -1
  });
}

function scan() {
  glob('./src/**/*.test.ts?', {}, function(er, files) {
    trees = {};

    for (let file of files) {
      trees[file.replace('./', '')] = buildDependencyTree(file);
    }
  });
}

scan();

watch('./', { recursive: true, filter: /\.tsx?/ }, function(evt, name) {
  changedFiles.push(name);

  if (timeout) {
    clearTimeout(timeout);
  }
  timeout = setTimeout(() => {
    try {
      // build test list
      let tests = [];
      for (let file of changedFiles) {
        console.log('Check: ' + file);
        if (file.indexOf('.test') >= 0) {
          tests.push(file);
        } else {
          // find it in dependency tree
          for (let f of Object.getOwnPropertyNames(trees)) {
            if (trees[f].some(n => n.indexOf(file) >= 0)) {
              tests.push(f);
            }
          }
        }
      }

      changedFiles = [];

      if (tests.length) {
        let files = tests.join(',');
        const command = `CI=true TS_NODE_FAST=true ./node_modules/.bin/mocha -R luis-mocha-reporter --exit --require ./mocha.js --ui snapshots './src/tests/client_start.ts' '${files}' -P`;
        console.log('\n-- Running --\n');
        console.log(command);

        execSync(command);
      }
    } catch (ex) {
    } finally {
      scan();
    }
  }, 100);
});

Just add it to package.json as
{
"watch": "node mocha-watch"
}

@tomitrescak Hello Sir, I am using node js API project using javascript only not typescript. Then may I use this script and how? Please help, urgently needed.


Inventor Dark AC (Tuya compatible, Greek brand) small feature set

Thanks for you hard work:)
I'm using an Inventor AC split unit at home, which uses the Tuya framework. Their own app (Inventor Control) handles in large like Tuya's own with some added or removed bells and whistles. I had to compromise and set up the device through the Tuya app (I would like to keep the original one, but I can't link it with Tuya IoT so I can't get the key needed to use a LAN control plugin), and it does work, but there are a couple of features missing, most importantly the fan speed (which is exposed as a native HomeKit control and is available in the instruction and status set for this particular device). Moreover, the °C/°F control in HomeKit does nothing for the device, while the corresponding control in the Tuya app and the online debugging interface works normally.
Could you please update the plugin to allow for fan speed control, and maybe fix the Celsius/Farenheit issue? If it would help, I could fork the project and try to work something out and issue a pull request, but in my experience, the original developer usually keeps things tidier :)
Thank you again,
Spyros

Hey! Feel free to try and work something out yourself.
You might first want to try and see if the API is exposing the desired values (the API that this plugin is using is different from the Tuya cloud API)
Please post the result of the steps under "How to check whether the api this library uses can control your device". to see if these values are available in this API.

Thanks for the speedy reply.
I didn't know the tyuaha API is different from Tuya's own IoT cloud API; indeed, there are no speed controls available using the Python script. Oh well, it was worth a try.
Keep up the good work! :)


Replace the pagination API

Relates to #345
See https://github.com/porygonco/porybox/issues/345#issuecomment-231894729 for an explanation of why the pagination API needed to be replaced
To do:

[x] Implement the new API on the client
[x] Fix a bug where a new page is fetched before you scroll down (possibly related to https://github.com/sroze/ngInfiniteScroll/pull/7#issuecomment-85194328)
[x] Add a loading icon

I think this is probably ready to merge.

Pages don't load when the screen width is <600px. Once that's fixed, 👍

I think it's fixed now.


Super() Expected 1 argument but got 2

Hi,
Looks like an interesting library which I'm investigating for a project.
I get an error on the super() call below when I try to run the sample saying that it

Expected 1 argument but got 2

constructor() {
        const initialState = {
            customers: [],
            customer: null
        }
        super(initialState, { trackStateHistory: true });
    }

Thanks Chris - not sure why that error is showing. Can you let me know which sample you're running?

Actually I was just creating a new app with NG new and copying in the code from the readme

Thanks for the info. Did you run the npm install @codewithdan/observable-store command and then derive your service class from ObservableStore? I'd have to see more to help on this one.

Hi Dan, Yeah I did, it was pretty much from a NG new project too, I've not had a chance to create a test project to share

Ok. Let me know. The samples in the Github project should help too.

I get same problem.  ObservableStore constructor takes only 1 argument but the readme text shows 2.  The samples only use 1.
angular-store-edits sample customers.service:
super({ trackStateHistory: true, logStateChanges: true });
The ReadMe is out of date,  showing a 2 parameter constructor being used:
const initialState = {             customers: [],             customer: null         }         super(initialState, { trackStateHistory: true });
The sample accomplishes the same thing by calling setState directly after the call to super()

Sorry folks. Sounds like that's totally on me. I forgot about the readme update (and that we simplified the constructor). I'll get that updated soon though.

no problem, Thanks for the library.  The samples are great, and are the better getting started guide anyway.

Thanks. My apologies @chrisallisonmalta for not realizing the docs were out of sync. I've been using the project for over a year with two constructor parameters and wasn't thinking about the change that was made to simplify it to one parameter (old habits die hard I guess). Thanks @jasonkoon for reminding me. :-)

Updated the readme

Thanks @DanWahlin


Add integration tests for runtime firmware

First commit moves the driver test harness to its own crate.
Second commit adds the ability to test two scenarios:

Boot ROM + FMC, then run a self-contained test runtime image
Boot ROM, FMC, and Runtime, then run end-to-end integration tests via
soc registers and the mailbox.

Looks to be related to the emu feature. This seems to help:
diff --git a/drivers/test-fw/Cargo.toml b/drivers/test-fw/Cargo.toml
index 4fd5499..1d86b51 100644
--- a/drivers/test-fw/Cargo.toml
+++ b/drivers/test-fw/Cargo.toml
@@ -14,7 +14,7 @@ caliptra-test-harness = { path = "../../test-harness" }
 cfg-if = "1.0.0"

 [features]
-emu = []
+emu = ["caliptra-test-harness/emu"]

 # This feature is used to filter all these binary targets during normal builds
 # (targets must be built with cargo arguments:
diff --git a/test-harness/Cargo.toml b/test-harness/Cargo.toml
index d7963e3..177d70b 100644
--- a/test-harness/Cargo.toml
+++ b/test-harness/Cargo.toml
@@ -13,3 +13,4 @@ runtime = []

 [dependencies]
 cfg-if = "1.0.0"
+caliptra-drivers = { path = "../drivers", features=["emu"] }


R32.6.1-t210: gpu_burn test fails

Describe the bug
Testing on wip-dunfell-l4t-r32.6, jetson-nano-emmc, core-image-sato.
The gpu_burn test hangs without displaying any progress.  Process must be manually killed to exit the test.
The same test does work OK on TX2 and Xavier.
Needs investigation.

Hey @madisongh
Could you please share the command line that you used here ?

cd /opt/cudatests/cpu_burn
./gpu_burn

This is working fine on Jetson Xavier AGX

Yes, it was only on the Nano I had the problem, as I mentioned.

I re-ran this with a fresh build and didn't encounter the hanging problem, so this was probably an issue with the environment I had at the time.  Closing.


C/C++ for Visual Studio Code won't update.

VSCode Version: Code 1.8.1 (ee428b0eead68bf0fb99ab5fdc4439be227b6281, 2016-12-19T14:49:23.350Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

Theme-Blackboard
gerane
0.0.2

MagicPython
magicstack
1.0.3

cpptools
ms-vscode
0.9.3

you-complete-me
RichardHe
1.0.24

Spell
seanmcbreen
0.9.1

python
tht13
0.2.3

Output:
Updating C/C++ dependencies...
Downloading package 'C/C++ language components (Windows)' Failed at stage: downloadPackages
Error: connect ETIMEDOUT <IP_ADDRESS>:443
Finished
[9:52:57 PM] Connection to server is erroring. Shutting down server.
[9:52:57 PM] Connection to server is erroring. Shutting down server.
[9:52:57 PM] Connection to server is erroring. Shutting down server.
[9:52:57 PM] Connection to server is erroring. Shutting down server.

@scareware047 it looks like a network issue but it has nothing to do with Code. Please file issues in the CPP extension repository you are using.

@scareware047 it looks like a network issue but it has nothing to do with Code. Please file issues in the CPP extension repository you are using.

This issue was moved to Microsoft/vscode-cpptools#428

This issue was moved to Microsoft/vscode-cpptools#428


[4pt]  -Display Comments pop up with selected item's details - Abbas

Create a comments popup only with the top section (displaying details of the selected item)

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.
Add event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

https://github.com/Log-benjamin/Microverse-Javascript-Capstone/pull/49


Review form related modules structure

Move all form modules under a common parent project.

@pefernan as we discussed.

@cristianonicolai looks good but I think we could be more optimistic and merge some of that form related projects together.
Knowing that:

the jbpm-console-ng-generic-forms module has the basic API's to use forms on the console,
the jbpm-console-ng-process-runtime-forms & jbpm-console-ng-human-tasks-forms modules, are basically separating the process & task forms rendering API's (and include the rendering of the old FTL forms).

I think that these modules can  be merged together into a jbpm-console-ng-forms-(api/backend/client)
And then there are the modules the integrate the kie-wb-common forms engine & jbm-form-modeler ones.
Since kie-wb-common-forms will be the default form engine, IMO it can be merged too into the new jbpm-console-ng-forms-* modules.
The ones from jbpm-form-modeler probably can live into a diferent module to make easy the maintenance & removal when required.
What do you think?

@pefernan I think these are all great suggestions. I've myself also tried to reduce the number of maven modules to only a few necessary ones, if we can do that for forms it would be great!
If you don't mind, I would just prefer to do these merge in different steps/commits to break down the number of changes. WDYT?

@cristianonicolai totally agree.
BTW, I think that we should also have to review the current integration between tasklist & forms. Right now every action on tasklist / action buttons on the form displayer is forcing to refresh the form. That means requests to kie-server to get task / process info, forms, data... When the jbpm runtime was embedded on the workbench that wasn't a "big issue" but since it is on the kie-server it would be a good idea to change it.

@pefernan are you happy for us to merge this as is? Also, could you create a JIRA for the issue you mentioned regarding the task list integration and forms?

@cristianonicolai +1

@pefernan thanks!


Merge Develop into Master 5/2/2018 - Magneto release note, new Sender Auth video, fixing typos.

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Please, provide speed benchmark to Pytorch, TensorFlow and Mxnet.

@tchaton Hi, we will provide Ascend 910 based benchmark in April :) Thanks for raising the issue

Any updates on this?

Any updates on this?

Hi Ashwin,
We had a cifar-10 benchmark out in Chinese description, but as you could guess we run two tests with 1P and 8P Ascend910 respectively and the result is measured in image/sec. We will have English version up as soon as possible
We haven't fully finished "TF/PyTorch/MXNet + GPU" comparison yet but I think there are a lot of public benchmarks. You can compare it with yourself with as much the same baseline as possible :) We will try to put out more benchmarks in the following days, thanks for being patient with us :)

Great to hear. We're all interested to see how Mindspore compares with the other deep learning libraries so a complete comparison would be good.

Any update?

Any update？


Master

AFImageResponseSerializer tests

Current coverage is 78.24%

Branch #3420 has no coverage reports uploaded yet.

No diff could be generated. No reports for 2974 found.

Powered by Codecov. Updated on successful CI builds.


add Binascii crc hqx

add fn binascii.crc_hqx
test result
/Users/yangbeom/github/RustPython` ❯❯❯ cargo run --release Lib/test/test_binascii.py
    Finished release [optimized] target(s) in 0.08s
     Running `target/release/rustpython Lib/test/test_binascii.py`
.xx...x.xxxxxxxxxx.xx...x.xxxxxxxxxx.xx...x.xxxxxxxxxx.xx...x.xxxxxxxxxx
----------------------------------------------------------------------
Ran 72 tests in 0.015s

OK (expected failures=52)

For now, I have no idea why adding crc_hqx leads test failures.
If you want a2b_qp to be merged first, please create a new PR only with a2b_qp.

Hmm.. As crc_hqx does not exist before, all the uses of BinHex.{_write, _writecrc, _read, _checkcrc] in binhex.py caused AttributeError such as "binascci has no attribute crc_hqx".
Because of the existence of expectedFailure, test_binhex test cases were passed.
crc_hqx implementation is now available, there is no failure in the middle of test cases and it leads to tearDown calling.
We need to focus on them. But I think they need to be addressed in a separate PR 😊

removed not neccesery code about a2b_qp

This is happened by a potential bug of binhex. But binhex is deprecated since Python 3.9. I don't think it is worth to fix it.
Let's remove useless test_binhex.py


Name error

changed URL to https://keys.qcoinz.com/bitcoin/random then ran the program. this is what i got back.
Installing required packages...
Requirement already satisfied: beautifulsoup4==4.9.3 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 1)) (4.9.3)
Requirement already satisfied: requests==2.31.0 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 2)) (2.31.0)
Requirement already satisfied: soupsieve>1.2 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from beautifulsoup4==4.9.3->-r requirements.txt (line 1)) (2.5)
Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 2)) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 2)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 2)) (2.0.7)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\mb341\appdata\local\programs\python\python311\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 2)) (2023.7.22)
Running the script...
Traceback (most recent call last):
File "C:\Users\MB341\ByeBye-Bitcoin-Remaster\main.py", line 64, in
process_wallet(wallet)
File "C:\Users\MB341\ByeBye-Bitcoin-Remaster\main.py", line 22, in process_wallet
if "Private Key" in getwallet:
^^^^^^^^^
NameError: name 'getwallet' is not defined. Did you mean: 'wallet'?
Script execution completed.
Press any key to exit...

i tried this aswell, changed 'getwallet' to 'wallet' and now im getting 'syntaxwarning: invalid escape sequence'

i can see at the top the wallet checked number is increasing, so i assume its working, unsure as of yet

Change  line 22, in if "Private Key" in getwallet:  to  if "Private Key" in wallet: would get resolved

the api does not work anymore, bitcoinlist.io is down and qcoinz.com is returning errors, do you have any new site to use?


[snack-babel-standalone] Add eslint bundle and documentation

Why
The current vendored ESLint system is super hard to maintain or upgrade. This change allows us to simplify that process by creating a similar snack-eslint-standalone package, with the @babel/eslint-parser bundled and "hot-wired" to snack-babel-standalone/eslint.
How

Added specific entry point for ESLint
Tested building a bundle for snack-eslint-standalone with @babel/core aliased to<EMAIL_ADDRESS>
Test Plan
This change will be added to the SDK 46 upgrade and should be available on Staging soon.

Note that this PR doesn't affect anything on its own, as this package is decoupled from the monorepo system.

Something we could do is add a bundle-size check to the snack-babel-standalone package and snack-eslint-standalone. That should keep the bundle size visible, as the previous one grew to 28mb.

@brentvatne going to merge this now, bc I need it for staging.


getPickImageChooserIntent permission bug

I got some errors on my nexus 5(droid-6.0.1) while using the getPickImageChooserIntent because when I chose the camera I did not have enough permissions. So I used the code placed below to fix it. Maybe this can be useful for someone else (or could be integrated into the library).
It's a bit dirty because it asks you to give it permissions regardless of choosing the camera. If someone has a more clean solution I like to hear it.
if(android.os.Build.VERSION.SDK_INT >= 23){
  if (activity.checkSelfPermission(android.Manifest.permission.CAMERA)
    != PackageManager.PERMISSION_GRANTED) {
      page_fragment.requestPermissions(arrayOf(Manifest.permission.CAMERA), 3333);
  }
}

Did you use the standard Android camera?
Did you get the error right after selecting the camera in the chooser? did the camera app opened?

I guess I use the default camera from google, and the error is just after the intent is fired, but from the operating system. Something with with revoked permission android.permission.CAMERA

Strange.. I never experienced it..
Also it doesn't make sense as the app itself doesn't use the camera, it request the camera app for an image..
Not sure what to do as I don't want to always request this permission.. :confused:

Maybe it could be because I use the camera in an other part of the app to scan barcodes?

Holly shit, you are right, when I added <uses-permission android:name="android.permission.CAMERA"/> to the manifest choosing camera in the picker stopped working :scream:
I will document this behavior, ****ing Android.

Hmmm... I changed the camera intent action from MediaStore.ACTION_IMAGE_CAPTURE to MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA and it started working in the emulator, which should actually do the same thing...
Can you copy the code from CropImage.getPickImageChooserIntent and change the camera capture captureIntent and see if it will work?

Digging a little deeper.

My comment on using MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA is irrelevant, it doesn't capture an image, just opens the camera app.
This is the designed behavior by Android as described in the StackOverflow question.  see quote below from Android developer.
Requesting camera permissions before the chooser intent is the only approach possible.
It maybe better UX to separate pick from camera and pick from gallery buttons so not to request the permissions unless the user really wants camera.
I will add the required permissions handling to the library for future and document this issue.

“This is intended behavior to avoid user frustration where they revoked the camera permission from an app and the app still being able to take photos via the intent. Users are not aware that the photo taken after the permission revocation happens via different mechanism and would question the correctness of the permission model. This applies to MediaStore.ACTION_IMAGE_CAPTURE, MediaStore.ACTION_VIDEO_CAPTURE, and Intent.ACTION_CALL the docs for which document the behavior change for apps targeting M."


forge init fails: fatal: pathspec '.gitmodules' did not match any files

Component
Forge
Have you ensured that all of these are up to date?

[x] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (a1f41be 2023-03-14T00:15:36.156534Z)
What command(s) is the bug in?
forge init
Operating System
macOS (Apple Silicon)
Describe the bug
Following Creating a New Project documentation, when running forge init forge I get the following error:
forge init forge

Initializing /Users/moo/code/executor/ethdubai-2023-hackathon/forge...
Installing forge-std in "/Users/moo/code/executor/ethdubai-2023-hackathon/forge/lib/forge-std" (url: Some("https://github.com/foundry-rs/forge-std"), tag: None)
Error:
fatal: pathspec '.gitmodules' did not match any files

Existing git repository
macOS
zsh

The following command works:
forge init --no-git forge

My suggestion for the fix

Detect that you are already in a git repository
More helpful error message

Tracked it down to:
https://github.com/foundry-rs/foundry/blob/1e0b628d47a7fc18f4fbe0b0b84581fe6a9ad3b3/cli/src/cmd/forge/install.rs#L178-L180
Repro:
# or git init and add a .gitmodules
forge init a
cd a

forge init b
# error: no .gitmodules ... because the gitmodules were added to the root one

@mattsse what's the best way to fix this? Recursing up until we find the .gitmodules file?

I had the same issue. To fix I deleted the git files and then run: git init

I get the same error when installing forget-std in a subfolder of my project.

I have the same issue, I just committed all the changes before install new libs.
I tried install openzeppelin-contracts and solmate, but there is only an error when I install the former :
Install openzeppelin-contracts
MBP14:test_erc20 Ox$ forge install OpenZeppelin/openzeppelin-contracts
Installing openzeppelin-contracts in "/Users/reporterha/Documents/test_erc20/lib/openzeppelin-contracts" (url: Some("https://github.com/OpenZeppelin/openzeppelin-contracts"), tag: None)
Error:
**fatal: pathspec '.gitmodules' did not match any files**

Install solmate
MBP14:test_erc20 Ox$ forge install transmissions11/solmate
Installing solmate in "/Users/reporterha/Documents/test_erc20/lib/solmate" (url: Some("https://github.com/transmissions11/solmate"), tag: None)
    Installed solmate

likely some git edge case, but hard to say without a repro

I was having this exact issue when trying to use Foundry on a project that was already initialized to use git
I did the test to initialize a new foundry project on both, a total clean empty folder, and under a folder that has already been initialized with git
The result, in the clean empty folder, the forge init --force command works as a charm, and in the other project I was getting the .git error reported on this thread, the solution to works with Foundry under a project that has already been initialized with git it is to always add the --no-git option at the end of each forge install command. i.e.
forge install OpenZeppelin/openzeppelin-contracts --no-git

There seems to be a problem with the detection of an existing git repository when forge init is run in a sub-dir.
Apart for reproducing the same problem I also noticed that forge init still fired a git commit despite it shouldn't be doing this as per fix #252

why's this closed when there is no solution yet

This has been fixed in #5201. If you still face this, open another issue @Dayo-Adewuyi


Fixed potential error in getSettings

It's possible for /<cpTrigger>/sprout-forms/settings/spam-protection to error with
array_merge(): Argument #1 is not an array
1. in /Users/home/Sites/viget/viget.com/vendor/barrelstrength/sprout-forms-google-recaptcha/src/integrations/sproutforms/captchas/GoogleRecaptcha.php
at line 92

This happens (at least. I didn't dig deep) if $settings is NULL. Fix is to only merge $settings if there are settings to merge.
Saw other places in this file where a single function has multiple possible return points so wrote this like that. Happy to refactor.

@olets I appreciate the PR however the issue was a bit deeper in our implementation so I've resolved things a different way by removing config override support from this plugin and delgating that responsibility to the Sprout Forms captchaSettings setting.
If you are not using config overrides on your project, updating to the latest should continue to work as you got things working in your PR. If you happen to be using config overrides in your project, see the upgrade notes on where to place these settings in the config/sprout-forms.php config:
https://sprout.barrelstrengthdesign.com/docs/forms/installing-and-updating-craft-3.html#upgrading-to-forms-v3-10-0


update: based on spec, updated messages of notation key command

This PR is based on spec changes in here: https://github.com/notaryproject/notation/pull/606.

Codecov Report

Merging #684 (34d44e1) into main (ed22fde) will increase coverage by 5.39%.
The diff coverage is 17.64%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #684      +/-   ##
==========================================
+ Coverage   58.55%   63.94%   +5.39%
==========================================
  Files          40       40
  Lines        2210     2219       +9
==========================================
+ Hits         1294     1419     +125
+ Misses        815      679     -136
- Partials      101      121      +20

Impacted Files
Coverage Δ

cmd/notation/key.go
58.33% <17.64%> (-3.08%)
:arrow_down:

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


A pattern matching for predicate function

Hello @mortberg I have some problem with pattern matching. This is my pretty easy code
filter(A: U) (p: A -> bool): list A -> list A = split
  nil -> nil
  cons x xs -> split@(p x -> bool) with
    true -> cons x (filter A xs)
    false -> filter A xs

Could you please correct it? Or provide more better solution.
Also I think this will be will be helpful, but I got error
if_then_else (A: U): bool -> A -> A -> A = split
  true -> \(x: A) (y: A) -> x
  false -> \(x: A) (y: A) -> y

Checking: if_then_else
Type checking failed: case branches does not match the data type

Thanks

Your if_then_else works for me; how did you define bool?
Regarding your filter:
The parser is for example happy with:
filter (A : U) (p : A -> bool): list A -> list A = split
nil -> nil
cons x xs -> (split@(bool -> list A) with
true -> cons x (filter A p xs)
false -> filter A p xs
) (p x)
(Note that the annotation for the split is the type of the function
you are defining.)
But the type-checker doesn't accept this currently, as it doesn't
infer the types, even though it could since splits are annotated with
their type internally.  I'll think about whether we should add
this--but I am not really sure if anyone ever wants to write
<EMAIL_ADDRESS>...) foo".
Alternatively you could write:
filter (A : U) (p : A -> bool): list A -> list A = split
nil -> nil
cons x xs -> let ifte : bool -> list A = split
true -> cons x (filter A p xs)
false -> filter A p xs
in ifte (p x)

Yes, as @5HT says the order of the constructors matters. This could quite easily be relaxed for normal datatypes (we actually had this at some point), but for HITs things are more subtle as the lower dimensional constructors should come before the higher dimensional ones. Maybe the best would be to have a better error message for this, feel free to make a PR with this.
Regarding @simhu's comment I don't think<EMAIL_ADDRESS>...) foo is useful unless we have type inference so that the type can be omitted. If we had type inference we could have a match/case construct that was sugar for<EMAIL_ADDRESS>...) foo, but for now I think the version with a local definition using let-in/where is ok.

I'm closing this issue now, but if someone wants to contribute please make a PR with a better error message for this.

Thanks, @mortberg, cubical is the best language and implementation we have seen so far in this world :-) Please keep it simple and concise as long as possible! <3


Clarification of documentation to facilitate install.

Simple clarification of installation documentation in README.md to facilitate development.
Fixes #[replace brackets with the issue number that your pull request addresses].
Changes proposed in this pull request:

[list out summary of changes here]
[list out summary of changes here]
[list out summary of changes here]
[etc]

Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Thanks! (you can delete this text)
cc @HospitalRun/core-maintainers

@ashmwelch can you update this PR?  I would like to merge it in with the suggested change or close the issue if it is abandoned.

@ashmwelch one last ping before I close this. If you'd like to implement the changes, we'd be glad to include this.


Data is outdated. (Stocker)

Hello, I cannot help but notice that data input stops at a certain point, leading the predictor to predict wildly inaccurate stock prices because the last stock information that it has been given was from about 2 years ago. Are there any ways or plans to move away from quand and to a newer way of data collection? Thank you.

@Pixel8edstudios you can use yahoo finance python library for newer data. It is free to use


Not required to create a dir path if it doesn't exist.

The original cmdseq does not create a directory path to a cookie if that path does not exit. We should remove this from our program to keep things simple.

Fixed in branch refactoring.


Fix TokenTree.getPos() when pos is null

This fixes a Cannot read properties of null (reading 'file') error in vshaxe when using go to definition feature

pos == null is only true for Root elements, in which case getPos should return the full document position instead of just null
why someone would call getPos on a tokentree root element is another question

How would it return the full document position if there's no position, though?

So indeed we're in a situation where we end up using getPos() on a Root element.
We can dodge it by identifying the Root element, but imo pos == null situation should also be handled in some way here to avoid such exceptions.

How would it return the full document position if there's no position, though?

getPos calculates a position that encompasses current node plus all child nodes, so for a root node that should be everything from first token to last


Can't install

node_modules/vue3-simple-html2pdf/src/index.js:1:31: error: Could not resolve "vue3-simple-html2pdf/src/vue3-simple-html2pdf" (mark it as external to exclude it from the bundle)
1 │ import Vue3SimpleHtml2pdf from 'vue3-simple-html2pdf/src/vue3-simple-html2pdf'
╵                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please give more details. Or see this https://stackoverflow.com/questions/60502164/rollup-js-exclude-module-from-bundle

I also get a similar error:
`✘ [ERROR] Could not resolve "vue3-simple-html2pdf/src/vue3-simple-html2pdf"
node_modules/vue3-simple-html2pdf/src/index.js:1:31:
  1 │ import Vue3SimpleHtml2pdf from 'vue3-simple-html2pdf/src/vue3-simple-html2pdf'
    ╵                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can mark the path "vue3-simple-html2pdf/src/vue3-simple-html2pdf" as external to exclude it
from the bundle, which will remove this error.
13:59:15 [vite] error while updating dependencies:
Error: Build failed with 1 error:
node_modules/vue3-simple-html2pdf/src/index.js:1:31: ERROR: Could not resolve "vue3-simple-html2pdf/src/vue3-simple-html2pdf"`


Save startup state

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

First of all, thanks for this excellent library. I've been using it for a few days now and it not only works perfectly but it also is very easy to use.
In the ATEM Software Control the current state can be saved as the Startup State. It would be great if this could also be done via this lib.

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

I'm using an ATEM Mini Pro, if that matters.

This is now available in the 3.0.0-nightly-latest-20210530-131342-1fecaa3.0 beta build.


workbench.action.terminal.runSelectedText w/PowerShell inserts extraneous >>

VSCode Version: 1.9.0
OS Version: Windows 10

Steps to Reproduce:

Make sure PowerShell is the active shell
Type any shell command into an editor, highlight it, open the command palette, and run the "Run Selected Text in Active Terminal" command
After running the command, ">>" will be appended to the line after the prompt line

Expected behavior:
Nothing should be inserted after the prompt line
In the image below, the first command was run directly in the terminal and outputs correctly. The second command was run by using the "Run Selected Text in Active Terminal" command on the text in the editor. After this command ran, an extraneous ">>" appears after the new terminal prompt.

@daviwil can you repro this one?

@Tyriar I've the same here :/
With line selection :

Wihtout line selection :

Any idea ?

Yeah, this is similar to issues others have filed when running selections in the terminal when PSReadline is loaded.  Here's one: https://github.com/Microsoft/vscode/issues/9715.  I'm planning on using VS Code's built-in run selection command for the PowerShell extension in an upcoming release so I'll see if I can fix it on our side then.

Ok thx !
👍

This is probably related to sending Write-Host "Hello world"\r\n when only \n is probably needed.

This is actually related to PSReadline since 32-bit PS (which doesn't load PSReadline) works just fine. @daviwil is this something that would be fixed upstream do you think?

Yeah, I'll see if I can fix that in PSReadline before we try to look for other solutions.

@daviwil I might close this off for now, let me know if the fix should be in vscode :smiley:


"Access your data on all sites" permission corrupts Google search result subtitles.

Description
When granted https://support.mozilla.org/en-US/kb/permission-request-messages-firefox-extensions?as=u&utm_source=inproduct#w_access-your-data-for-all-websites on https://koji.fedoraproject.org/koji/rpminfo?rpmID=38118194, https://www.google.com/search?client=firefox-b-d&q=wexextension.org+github causes:

Disabling and enabling that preference causes the problem to occur immediately (sometimes without page refresh) and reproducibly.

How to replicate the issue + URL

Install cpe:/o:fedoraproject:fedora:40.

Write https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40_Beta-1.10.iso using flatpak install https://dl.flathub.org/repo/appstream/org.fedoraproject.MediaWriter.flatpakref && flatpak update app/org.fedoraproject.MediaWriter/x86_64/stable --commit=08f95f0584ba56e427555192146ebe9f4e558521bff8588d7fa83998ad184b86.

Enable https://support.mozilla.org/en-US/kb/permission-request-messages-firefox-extensions?as=u&utm_source=inproduct#w_access-your-data-for-all-websites for https://addons.mozilla.org/firefox/downloads/file/4252355/refined_github-24.3.20.xpi via about:addons.

Install https://addons.mozilla.org/firefox/downloads/file/4252355/refined_github-24.3.20.xpi.

Install https://koji.fedoraproject.org/koji/rpminfo?rpmID=38118194.

Visit https://www.google.com/search?client=firefox-b-d&q=wexextension.org+github.

Extension version
https://addons.mozilla.org/firefox/downloads/file/4252355/refined_github-24.3.20.xpi

Browser(s) used
https://koji.fedoraproject.org/koji/rpminfo?rpmID=38118194

When granted

Yeah, don't grant it. This is not a bug. You're asking the extension to run on the wrong sites.

https://github.com/refined-github/refined-github/issues/7319#issuecomment-2021743410

@fregante, because https://addons.mozilla.org/firefox/downloads/file/4253367/augmented_steam-3.1.0.xpi doesn't expose the ability to enable this permission via about:addons, per https://discourse.mozilla.org/t/how-to-ask-user-to-grant-permissions-for-access-your-data-for-all-websites-through-a-prompt-during-the-installation-process/110637/6, removing
permissions: ["activeTab"],
origins: ["<all_urls>"]

from your extension manifest should remediate this.

It's an optional permission. You enable it so you deal with the consequences. The permission must exist to support GitHub Enterprise users that enable the extension on each specific domain. It's not meant to run on all URLs


feat: FTL-14135 create ready-to-use PAT with quiet flag

Ready-to-use PAT can be created with --with-permissions flag for token create-token command.

Lets review the flag name before merging.

Let's review the flag name before merging.

@carlos-affinidi, flag renamed to --with-permissions

:tada: This PR is included in version 2.5.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Avoid doing autoprefixing twice

This PR removes postcss-loader and autoprefixes require to avoid double processing of stylesheets with same optimizations. css-loader is using cssnano under the hood, and cssnano is already using autoprefixer as one of the optimization. So, autoprefixer is running twice if we explicitly declare it.
More information is (here)[https://github.com/webpack/css-loader#minification] and (here)[http://cssnano.co/optimisations/autoprefixer/]

Actually, they disabled the autoprefixing in css-loader: https://github.com/webpack/css-loader/commit/008e6fd8c2f4621269410de194e9117791c09d15

Closing 😢 as we've moved to webpacker


Dump all apis

Currently, only the client-server is made available as an OpenAPI JSON file. This adds support for the rest of the API.

application-service and push-gateway work.
server-server does not work yet. It fails to resolve a specific reference, still investigating.
identity does not work yet. I haven’t had time to look into it yet. YAML reading works fine, the problem occurs when writing the JSON output.

Work towards https://github.com/matrix-org/matrix-doc/issues/1458 ~ TravisR

Preview: https://pr3684--matrix-org-previews.netlify.app

@turt2live I’d like this to be included with the v1.2 release, so the new JSON is made available (and so that Rapidoc can pick them up and allow switching between them). I don’t know if I’ll be able to fix the server-server and identity generation by then, but the PR could be merged as it is (and the missing API could be added later on). 2 new API JSON files is better than none.

It looks like this is a draft. Is it ready for review?

I set it as draft because of the missing API, but we can review and merge if that works for you without them.

The server-server issue comes from #3689.

So… it looks like the server-server is not valid and we didn’t know about it because CI didn’t try to validate it so far.
We have places with "properties": [] when it should be "properties": {}. I can fix those, and it looks like that wasn’t valid JSON Schema to begin with. Do I need to add a spec changelog for that? Do I have to check anything else with regards to synapse or such things?

I think if there are no user-visible changes, you don't need a changelog.

At this point, I’m thinking a JSON file that doesn’t pass validation is better than no file at all, especially considering that the errors have been there for a while and we just didn’t know about them. Don’t you think?
We can spend time fixing the validation errors, but I am not sure we will get all of them resolved by the time we release v1.2. I propose we remove the server-server validation for now to make CI happy, and track the server-server validation errors in a new issue & PR. What do you reckon?

Generating data that is invalid and also isn't covered by CI is far from ideal - if we can make it valid, great, but if not then let's just not generate the server-server json at all until it can be fixed.

Just to make it clear: the CI says the server-server YAML file is invalid. That is slightly different from “generating data that is invalvid”. That also means that the data consumed by hugo (and potentially 3rd parties) is already invalid.

Looking at the error from CI (and reproduced locally), I don't think it's invalid data. It looks like the $ref handling is relative to the wrong directory still.

That seems to be https://github.com/APIDevTools/json-schema-ref-parser/issues/251

I ran the validator locally on all server-server files and, aside from the path issue, 12 out of 22 are not valid (with genuine errors, not $ref handling). There is no way I’m going to fix this quick, so I am removing the server-server API for now, and it can be added later on. With this change, I am removing the draft status as this is ready to be merged.


Fix problems with '#' in branchname

Add proper escaping of '#' in branchname in compare when doing pull
requests. This addresses issue #2822.

Thanks!


Run December 2020 ConMon scans

In order for us to update the JAB on our compliance in a consistent way, we need to run Continuous Monitoring scans on approximately the 23rd of the month. (If this date falls on a weekend or federal holiday, adjust to the last business day before the date.)
For context, see our Continuous Monitoring Strategy, including the monthly reporting summary explanation.
Running ZAP Scans
ZAP scans take hours. We recommend you start in the morning. There are two separate scans to run and the second one takes considerably longer than the first.

Check that you have the latest stable version of ZAP or install via Homebrew with brew cask install (or brew upgrade --cask) owasp-zap (recommended). Upgrade if necessary.

Be sure you have Firefox installed (with Homebrew brew cask install firefox or any way you chose). Chrome does not support proxy settings while Firefox does.

Configure ZAP as a proxy for Firefox: https://www.zaproxy.org/docs/desktop/start/proxies/

Download the cloud.gov conmon cloud.gov context from this repository and update it if necessary

Load the cloud.gov context into ZAP (File > Import Context)

You have to log in to each site in the context list so that ZAP can scan inside the authenticated websites. You have to be on the VPN. In Firefox, log in to each site in the context list. You can see the list by clicking the cloud.gov common context > Include in Context.

To prevent getting noise in the scan results (since that causes major confusion when the FedRAMP team processes the ConMon report), review the Sites list to ensure only the cloud.gov sites have a small red circle/sight on them (denoting the site will be included). Remove any sites not needed by CTRL-clicking on them and selecting Delete.

CTRL-click on the cloud.gov common context and run the Spider scan.  This takes a little less than an hour.

After the Spider scan is complete, again CTRL-click on the cloud.gov common context and this time run the Active Scan. This takes at least 4-5 hours, minimum.

After both scans are complete, export the results as both XML and HTML from the Reports menu. Name the files according to YYYYMMDD-ZAP.xml/html.

[ ] Upload both reports to Google Drive in a folder named YYYYMMDD-ZAP-Nessus.

You can shut down ZAP and Firefox. If you use Firefox in your day to day, you likely want to remove the proxy.
Export Nessus Scans

Log in to Nessus: https://nessus.fr.cloud.gov/

Select All Scans

Click on each scan except for staging, and export the .nessus file (Export > Nessus) and the Executive Summary report (Report > HTML).

[x] Upload all exports (both Executive Summary and .nessus files) to the same Google Drive folder you put the ZAP scans in.

Update the POAM Inventory sheet
A python script is used to generate the inventory list.

Open the POAM Inventory sheet

Delete the data rows (starting after the RDS database listings)

For the tooling and production jumpboxes, login to each of them and from the initial home directory you start in, run python3 cg-scripts/generate-POAM-inventory.py. This will output data to your terminal window in CSV format. Copy the entire CSV output.

Paste the contents in the spreadsheet by selecting the first cell in row 3 then pasting with CTRL-Shift-V to paste without formatting. Then select the paste icon that appears and click Split text to columns

[x] Verify you have pasted the inventory for both production and tooling.

@pburkholder I am not sure my GFE can run ZAP since the latest MacOS update. I ran this on Wednesday and it crashed after 16 hours. I re-ran this on Sunday and it again crashed. I will try again today and hope for the best. Otherwise, we may need to run ZAP via docker on a VM instance (I assume this is possible).

I am going to split the context file into two (thanks Ben) to get this working for this iteration.

The first half of the context went fine. The second half crashed. I re-running this set in two batches.


Message lost when bot is busy

Hello,
I'm trying processing some really big data remotely with slack but when the bot is busy on processing some message, bot will ignore any message from slack. I would like to know if there is a solution that can form incoming message into a queue so that we can deal with them later.
For an example, add following codes into scripts and bot will ignore any messages for 10 seconds when bot received a "foo".
robot.respond /foo/, (res) ->
  start = new Date.getTime()
  continue while new Data().getTime() - start < 10000

Thanks.

This is an unfortunate side effect of using a single-threaded language and framework for doing realtime processing of event streams. Your only options are to move your big data processing into something more async friendly by breaking the upload into chunks so that you can handle incoming events in the middle, I'm sorry to say. How are you handling the big uploads now? My bet is there is a module out there somewhere that can assist.


Add a NEWS entry covering the FIPS related changes.

Follow on to #21363

[x] documentation is added or updated
[ ] tests are added or updated

Shouldn't there be a CHANGES entry too?

I didn't think we did both.
Easy enough to add something.

I didn't think we did both.

We do.

If you don't know what that means, it's very confusing what that text says. I can read it as that the FIPS provider is now enabled by default.

Comments addressed.

Text updated.

Ping @openssl/committers for second review

Merged, thanks for the feedback.


Utility improvements

asString now return the formated string leading to usage improvement
Fully unit test Utility.h
Simplify appendTitle implementation
CommandHandler: simplify the message formating

[ ]   General Comment
 :+1: @dawagner please review
 100% coverage on Utility.cpp !
 :shipit: :+1:
 @tcahuzax please review
 :shipit:
 @tcahuzax please review
[x]   File: parameter/ConfigurableDomain.cpp:L301-308
 This is has a completely different effect than it previously had. Same comment in all places below.
 True, it is completly wrong.
[x]   File: utility/CMakeLists.txt:L52-67
 I'm not sure this is needed in this particular case.

This pull request is now managed with CodeReviewHub. Refresh.

:+1: @dawagner please review

100% coverage on Utility.cpp !

:shipit: :+1:

@tcahuzax please review

:shipit:

@tcahuzax please review

:+1:


1.1.0 optimizations - messed up CSS?

Short description of the problem:
Building/running (with --prod) on a device (Nexus 5 in this test) seems to mess up the CSS while the two new flags (ionic_experimental_manual_treeshaking and ionic_experimental_purge_decorators) are enabled.
What behavior are you expecting?
No visual differences while using the optimizations.
Steps to reproduce:

Set ionic_experimental_manual_treeshaking and ionic_experimental_purge_decorators to true in the "config" section of package.json
ionic prepare
ionic run android --prod

Which @ionic/app-scripts version are you using?
1.1.0
Screenshots - without (normal) and with flags

My system information
Cordova CLI: 6.5.0
Ionic Framework Version: 2.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.0
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.5
Xcode version: Xcode 8.1 Build version 8B62

I had exactly the same problem, but wasn't sure if it was due to this. Seems like the root font size is increased.

Can either of you please open the built css file and see if the following rule is being included:
html {
  font-size: 62.5%;
}

Thanks :)

These are the only occurrences I found in the built main.css:
html{width:100%}
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}
So no, nothing like font-size:62.5%

Also seeing this problem... any ideas on how to fix?

My solution so far:
Add the following to global.scss and it appears to work well.
html {
  font-size: 62.5% !important;
}

[text-center] {
  text-align: center;
}

It should be fixed in the framework in the next release, to try out the nightly:
npm install ionic-angular@nightly

This should be fixed in Ionic 3. We restructured some CSS.
Thanks,
Dan


Micrometer support for all Spring Cloud Task

Add Task Timer and LongTaskTimer.
Set common tags for taskName and executionId.
Add tests.
Add post-processor to disable the influx/prometheus by default.
Set the core global dependencies

Resolves #14

Why is this being done here instead of in SCT itself?

This PR has been reworked to build upon the SCT micrometer integration implemented in spring-cloud/spring-cloud-task/issues/608

@tzolov: Given that the core of the work is now moved to SCT via https://github.com/spring-cloud/spring-cloud-task/issues/608, I'd imagine then this PR will receive another commit to streamline the integration in the Apps Starters - yeah? Could you push that commit, please?

@sabbyanandan  It is already streamlined with the a spring-cloud/spring-cloud-task#608 leaving in only the bits that are not part of 608. Like the SpringCloudTaskMicrometerEnvironmentPostProcessor, the actuator, prometheus and influx dependencies.
I had squashed and force-pushed the changes, that is why you don't see multiple commits

Thanks, @tzolov! @mminella: Continuing our chat from yday, this appears to be good to go as well.

Merged upstream.


feat: honey bottle cures and heals

Honey bottles can cure any effect same as milk bukkets, it can also heal a player and add additional potion effects if any specified.
IRL Honey has numerous benefits, it'd make sense if it serves more benefits than just the saturation effect.

I'm not sure what to do with this, https://github.com/PurpurMC/Purpur/blob/c27e67a4a830c1c9c003a4da80226a5f98bf6d95/patches/server/0309-Honey-bottle-cures-and-heals.patch#L32

Technically, milk bukket should be a food item, should I add it to Foods class and move MilkBukketItem class's properties to it?

https://discord.com/channels/685683385313919172/720374890472931328/1028914991421726730

Closing as it doesn't seem like there will be any progress done anytime soon.


incl: make the description more appealing

just make it pop more, add more info, and make sure grammar is good.

I would just say remove the "by nulkem" part as it makes it seem like the BetterSEQTA+ project is maintained by him

made some issue templates

@Crazypersonalph


Dropbox throttled?

Hey everyone.
Has anyone else seen a problem with dropbox slowing to a crawl since the 13th/14th Feb?
Sync status remains at 2+ days:
[root@lamarque src]# dropbox status
Syncing "agi-bin" • 2+ days
Indexing "agi-bin" (2+ days)
Installed version: 91.4.548
Nothing in docker's logs to suggest an issue.
Virtual host version:
FROM debian:stretch
top shows dropbox not using much CPU.
3 servers all had the issue at the same time. A 4th server, also with the same docker file is having no issues.
Is anyone else having a similar problem?
Many thanks,
Ray

I have a variation of the same problem. I haven't solved it, but I suspect Dropbox may need more filesystem watchers (fs.inotify.max_user_watches). Maybe setting a higher limit will work for you.

You might want to try my more up-to-date fork of this.

Thank you! I just updated to your fork, and it appears to be working much better. I also appreciate some of the other nice things you've added.
I glanced through the commit history and didn't see anything in particular that I would expect to fix this issue. Is it just the update to Debian Buster? I'd love to know what the fix was.

The max_user_watches setting is only relevant if you sync more than 10000 folders with Dropbox.
But probably, at least if you are using this exact base image here, you will not be running the latest version of Dropbox.

Ah, I see that. Thanks.


CheckListEditor

Is there a guide on how to add the CheckListEditor off of an enum list?  I'm having trouble adding it to my row.

I don't think it will work with enums. You might need to subclass it add your items.

Do you have an example on how to subclass CheckListEditor?  I can't find a good example.  Thanks!

PermissionCheckListEditor


Write a Ruby program to print hello world

Description
Write a Ruby program to print hello world
Desciption
Hello World !!!

How to contribute

Save the solution in PrintHelloWorld.rb file
Add PrintHelloWorld.rb file in print-hello-world folder

!assign


Non clickable sidebar with Material theme

When using Material theme, if the browser window is resized small enough, the menu in the sidebar is not clickable (looks not in focus). This only happens with material theme.
Steps to reproduce:

Download a Vaadin 14 project from https://start.vaadin.com
Modify the application theme:

@Theme(value = Material.class)
public class MainView extends AppLayout

Resize the browser so that the sidebar disappears.
Click on the hamburger icon.

This seems to be related to the z-index values set by applayout material styles:
:host([primary-section="drawer"]) [part="drawer"] {
z-index: 1;
}

It works fine with a z-index of 3.
(Reproduced with Vaadin 14.2.3 / app-layout 2.0.6)

Thanks for reporting this, as a workaround you can remove the setPrimarySection(Section.DRAWER); as this won't happen if primary section is NAVBAR which is the default.


⚠ Bofrost.lu has degraded performance

In 727ff8c, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1533 ms

Resolved: Bofrost.lu performance has improved in b4ab4a6 after 20 minutes.


Uncaught Error: ENOENT: no such file or directory, open '/services/2checkoutService.ts'

[Enter steps to reproduce below:]

Create a file named 2Checkout.ts
Rename file to checkOut.ts

I'm not sure if these are the steps (or which step) resulted in the error, but this is what I was doing at the time.
When the problem occurred, the ide opened hundreds of tabs. I was not able to work again until I had manually closed all the tabs.
I have noticed a couple of related(?) issues:

when I rename a file in the tree, a file with the new name is created but a file with the old name remains. This only happens if the file is open in the editor (e.g. if I left-click on the tree item, then right-click and rename). If I right-click on the tree-item and rename, the file is renamed correctly.
When I delete the old file from the tree, the file remains open in the editor, but with the 'trashed' name.

Atom Version: 0.194.0
System: Mac OS X 10.10.3
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, open '/Users/admin/Documents/workspace/coachcommune/services/2checkoutService.ts'
At events.js:141

Error: ENOENT: no such file or directory, open '/Users/admin/Documents/workspace/coachcommune/services/2checkoutService.ts'
  at Error (native)

Commands
     -7:18 linter:lint (atom-text-editor.editor)
     -7:06.1.0 core:backspace (atom-text-editor.editor.mini)
     -7:05.8.0 core:confirm (atom-text-editor.editor.mini)
     -7:05.8.0 linter:lint (atom-text-editor.editor)
     -6:55.9.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
  4x -4:20.8.0 core:close (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-dracula-theme.theme-unity-ui)
     -2:56.9.0 core:confirm (atom-text-editor.editor.mini)
     -2:24.1.0 core:backspace (atom-text-editor.editor.mini)
     -2:18.8.0 core:cancel (atom-text-editor.editor.mini)
  2x -1:52.5.0 core:confirm (atom-text-editor.editor.mini)
     -1:28.3.0 core:cut (atom-text-editor.editor)
     -1:21.9.0 core:paste (atom-text-editor.editor)
     -1:14.7.0 core:save (atom-text-editor.editor)
  2x -1:11.9.0 linter:lint (atom-text-editor.editor)
     -0:07.8.0 core:save (atom-text-editor.editor)
     -0:07.2.0 core:close (atom-text-editor.editor)

Config
{
  "core": {
    "themes": [
      "unity-ui",
      "dracula-theme"
    ],
    "disabledPackages": [
      "sublime-tabs",
      "atomatigit",
      "autocomplete-paths",
      "autocomplete-html",
      "language-java",
      "language-make",
      "language-objective-c",
      "language-perl",
      "language-php",
      "language-python",
      "language-ruby",
      "language-ruby-on-rails",
      "language-sass",
      "language-sql",
      "language-xml",
      "dev-live-reload",
      "language-coffee-script",
      "language-csharp",
      "language-go",
      "language-toml",
      "project-manager",
      "merge-conflicts",
      "color-picker",
      "jumpy",
      "linter",
      "linter-tslint",
      "angularjs"
    ]
  },
  "editor": {
    "invisibles": {},
    "showIndentGuide": true,
    "softWrapAtPreferredLineLength": true
  }
}

Installed Packages
# User
angularjs-styleguide-snippets, v0.7.0
atom-beautify, v0.24.1
atom-typescript, v3.0.4
autocomplete-plus, v2.12.0
dracula-theme, v0.7.6
editorconfig, v0.3.3
emmet, v2.3.8
unity-ui, v2.0.5

# Dev
No dev packages

Did you rename the file from the tree view or outside of Atom?
This might be a duplicate of #6210.

From the tree-view.i was using the unity theme at the time. Have switched
back to a default theme and deleting and renaming seems to work correctly.
I  haven't experienced the issue again since switching.
On Wed, 22 Apr 2015 18:32 Wliu<EMAIL_ADDRESS>wrote:

Did you rename the file from the tree view or outside of Atom?
This might be a duplicate of #6210
https://github.com/atom/atom/issues/6210.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/6468#issuecomment-95256413.


ORA-01000: maximum open cursors exceeded

Description
When there is a fewer number of cursors allowed in the DB level, the ORA-01000: maximum open cursors exceeded issue occurs
Steps to Reproduce

Start APIM 3.1.0 server.
Created an API product with a large number of resources (more than 100).
Set the cursor limit to less than 100.
Go to the Devportal and subscribe to the API product and then list the application through the Devportal UI.
Then the following error can observe.
[20xx-xx-2x 1x:xx:0x,xxx] [0xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx7] ERROR {org.wso2.carbon.apimgt.impl.dao.ApiMgtDAO} - Failed to retrieve scopes of application_xxx_XXxxxxXxxXxXXXXxxxXxXxx java.sql.SQLException: ORA-01000: maximum open cursors exceeded

Affected Component
APIM
Version
3.1.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Fix: https://github.com/wso2/carbon-apimgt/pull/10974