Tracking issue for adding custom plugins

This is a tracking issue for what we still need to do after adding custom plugins in #145 .

[ ] Complete pkg/custompluginmonitor/README.md
[ ] Support per-rule interval
[ ] Emitting events when Condition changes
[ ] support unknown condition status

Emitting events when Condition changes

Comparing with actual event, condition change should be rare. If node condition changes too frequently, it will cause even more issues, e.g. kubelet can't update node condition.
So I think it's fine to generate an event for condition change.

We also need to add integration test for custom plugin in https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/node_problem_detector_linux.go

Is this still in flight? master never registers the custom plugin with registerLogWatcher(customPluginName, ...). Is this something that is actively being worked on?

@byxorna For now, i am ok to work on any problem you have. But as @Random-Liu has no time to focus on this project for now, i can only help to address any issues or review PRs.
For merging or any other problem, we can only wait @Random-Liu to come back. :)

/remove-lifecycle stale

@andyxning cool, thank you! Is the custom plugin in a state where you will accept a PR to enable it?
Its unclear to me whether it is feature complete (but not hooked up) or still a WIP, because master has https://github.com/kubernetes/node-problem-detector/blob/master/config/custom-plugin-monitor.json committed, but will refuse to load that config due to No create function found for plugin "custom"

@byxorna
For now it is usable in the master branch. But there do have an enhance PR from @Random-Liu to enhance custom plugin manager in https://github.com/kubernetes/node-problem-detector/pull/151.
Actually, i have used custom plugin manager internally with #151 . I will dig into the reason about No create function found for plugin "custom".

@byxorna What command line did you use in your usage?

@byxorna Seems like that you run custom plugin monitor with --system-log-monitors. Just like something: --system-log-monitors=custom-plugin-monitor.json.
In the README about flags, it is documented that custom plugin monitor configuration file should only be used with --custom-plugin-monitors command line instead of --system-log-monitors.

@andyxning ah, thank you! that behavior is non-intuitive; I was passing the custom.json to --system-log-monitors.
An aside, but what is the intent of keeping --system-log-monitors and --custom-plugin-monitors separate? I imagine its operationally easier to just keep a dir with all your monitors (custom or otherwise) and let the config loading/parsing in NPD sort them out :)

@byxorna That's a good UX enhance suggestion. The reason to do seperate --system-log-monitors and --custom-plugin-monitors is they do have some different configuration. We can merge system log monitors config and custom plugin monitors together, but that will make the code more complicated and hard to maintain. By splitting them, we can make the code more moduling. :)

@andyxning on the other hand, it feels messy to make end users feel pain caused by the internal design details of this software; they shouldnt have to know or care how its implemented. 😄

Close this tracking issue as all tracking problems has been addressed.

We also need to add integration test for custom plugin in https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/node_problem_detector_linux.go

@Random-Liu I have recored this in my calendar and will complete this later. Since this is a tracking issue for adding custom plugin support in node-problem-detector, it is not suitable for keeping record this problem in this issue. :)


Update Package Version

Please update the package version so that other packages that depends on window_manager can update themselves.
Error that is resolved by  https://github.com/leanflutter/window_manager/pull/138

Please update to v0.2.3


Update Mutect2 Calling Workflow

As of GATK version <IP_ADDRESS>, new workflow steps have been added for variant calling. This includes the new Read Orientation Artifacts step. Implement these steps

https://gatk.broadinstitute.org/hc/en-us/articles/360035531132--How-to-Call-somatic-mutations-using-GATK4-Mutect2


Spot Perpetual Arbitrage -  spot limit order not being filled when price moves quickly

Using the Spot Perpetual Arbitrage strategy a spot limit order is placed while at the same time a futures market order is placed. The issue with this is that sometimes the limit order is not filled as the price moves away quickly and then the bot can get stuck for a long period waiting for the limit order price to be reached again (which could potentially never happen). The futures market order is filled though immediately. The end result could be a very negative position left open.
Steps To Reproduce
Configure spot perpetual arbitrage then start strategy and leave bot running.
Release version
0.41.0
logs_unfi_spot_perpetual_arbitrage.log
unfi_spot_perpetual_arbitrage.txt
┆Issue is synchronized with this Clickup task by Unito

I also have the same problem there is a way to configure only market orders?

or else add an exception that says if the limit order is not executed after 1 s to send a market order

hi @kevin9733 I don't think that we have that feature now.
You may submit a feature request for this on our Github page - https://github.com/CoinAlpha/hummingbot/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=
Or you may vote for this one to give it more priority:
Please check this blog about vote for bugs to help hummingbot improve performance in the future
https://hummingbot.io/blog/2021-06-help-us-improve-hummingbot-vote-for-bugs

Hi @JK5768 we recently release version 0.45.0 and made some changes as well for spot-perpetual-arbitrage on previous versions, just checking if you have tried it again and still experience the same issue? Thank you

Hi, @JK5768 we have not received any response since the last comment regarding the issue for Spot Perpetual- Arbitrage. Please be advised that there have been improvements added to the strategy on our latest version which is 0.46.0 that could fix the reported issue. We'll be tagging this ticket as resolved, please feel free to comment or open a ticket if found any issues. Thank you


Travis parallelized publish

Travis will now run the publish jobs in parallel. (To some extent)
The smallest and least likely to be changed apps were grouped together into a single job as a compromise made between the "run all the jobs" builds where a library has been changed, and a "run just one thing" build where the existing scripts can skip running tests and publishes.

I have no plans to bump the reaper version for the documentation update, and every plan to squash this mess before merging.


Is there a way to implement sample mixing?

Is there a way to implement sample mixing? Those. for example, I have several buttons, each of which has some sample attached to it. And if I press a certain button without waiting for the current sample to finish playing, the new sample should be mixed into what is currently playing.

Not yet..

((
This would be a very useful feature.

Extended Audio Functionality is part of the arduino-audio-tools. Here is an example
And here is the link to the documentation.


'NoneType' object is not subscriptable

'NoneType' object is not subscriptable

Hi , can you provide me a screen shot and tell me which solver you are using?

Hmm, I fixed but ez-captcha not working get token.

yes ez-captcha is currently broken . please use capsolver


Unable to include libraries in a relative directory

Bitrise Build Issue Report template
Description of the issue
I am getting an error when building a project that has a dependent library and headers in a directory that is a sibling to the directory with the XCode project.
Please describe the issue here
My setup:

XCode project is in //.xcodeproj
Dependent library header is in /vuforia-sdk-ios/build/include/Vuforia/Vuforia.h

This builds fine in XCode locally, but when built on the server, I get:
/Users/vagrant/git/RedStripeIR-IOS/RedStripeIR/Classes/Features/ImageTargets/ImageTargetsEAGLView.mm:15:9: 'Vuforia/Vuforia.h' file not found
#import <Vuforia/Vuforia.h>
Environment:
Where did the issue happen?
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
On www.bitrise.io, using stack Xcode 8.2.x, on macOS 10.12 (Sierra)
Which build Step causes the issue and which version of the step?
<EMAIL_ADDRESS>Reproducibility

Does a "Rebuild" help? (You can trigger a rebuild from the Build's page, by clicking the "Rebuild" button in the top right corner of a finished build) : YES/NO

NO

Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : YES/NO
If you have multiple different build configurations (workflows), does the issue affect all/more than one? : YES/NO
If it's an issue which happens sporadically, what's the frequency? (e.g. Once a day ; about x% of the builds) :
Does upgrading the build Step to the latest version help? : YES/NO
When did the issue start? :

2016-12-19
Linux/Android stack builds
Can it be reproduced by running the build locally, after doing a clean git clone (git clone the repository, into a new directory, somewhere on your Mac/PC) and running the build from there with the Bitrise CLI ( https://www.bitrise.io/cli )? If no, can it be reproduced with Docker (using the same docker images / environment we use on bitrise.io)? Related guide: https://bitrise-io.github.io/devcenter/docker/run-your-build-locally-in-docker/ .
Other stacks
Can it be reproduced by running the build locally with our CLI ( https://www.bitrise.io/cli ), after doing a clean git clone (git clone the repository, into a new directory, somewhere on your Mac/PC) and running the build from there with the CLI ( https://www.bitrise.io/cli )?
Build log
Please attach the build log (you can download the build log from the build's page,
once the build is finished, using the "Download log" button - floating at the bottom right corner of the log viewer),
or if you can't attach the whole log then send the full log through a private channel (e.g. email - https://www.bitrise.io/contact ), with a link to the related GitHub issue.

The issue was a git ignore (in .global_gitignore) in this case.
If you have a similar issue, do a clean git clone into /tmp, and try to build your project from there. This can help to reproduce the issue locally, if it's caused by a missing or ignored dependency, or some other ignored file.


Design tweaks

Starting a list of small changes to improve the over all experience

Add a "+" icon to the add button for repeats
For the add button for repeats, add the repeat label (really the label of the outer group) in the button text. That would be similar to Collect. For example, if the repeat label is "person", the button label would be "Add person". The danger is that of course the repeat label could be poorly selected. In Collect, the repeat name is used as-is and put in quotes (Add "person"?). We could consider doing things like forcing lowercase.

For the add button for repeats, what do you think about also adding the repeat label (really the label of the outer group) in the button text? That would be similar to Collect. For example, if the repeat label is "person", the button label would be "Add person". The danger is that of course the repeat label could be poorly selected. In Collect, the repeat name is used as-is and put in quotes (Add "person"?). We could consider doing things like forcing lowercase.

@lognaturel Yes, I think this would be a super nice improvement and would align nicely with Collect!

Comments by @eyelidlessness about Form Header on #132:

I was curious to see how wrapping looks for forms with long titles. Pretty good! I think we may want to iterate later on...

More consistent alignment of controls (icons in larger views, hamburger menu in smaller). The vertical centering makes those a moving target. I think we'll probably want some design guidance on that.
Maybe slightly reducing text size/weight over a certain character length? (Honestly the weight feels pretty heavy regardless of length, wrapping.)

Normalize vertical spacing, especially after text boxes:


ET3 Production Code

This PR is for the entirety of ET3's production code for the early August go-live.
It was a from-scratch rebuild of the current third-party ET3 form (erroneously called a "lift and shift") so there are small issues in the form which have already been placed into tickets in the ET3 epic.
Refactoring, usability improvements and correcting third-party "bugs" will be phase two of the development of this form. Please bear in mind that this code isn't as great as it could be on that basis.
We will be having a proper code review towards the end of August where I would really appreciate suggestions and improvements to my code. The purpose of this PR is to provide one final chance for service-breaking bugs to be highlighted before we go live.

:wave:


Add related docs

add readme python env set up notes
add workspace editor and cli generator docs

@AllyW, will you update the yml file?

yes, in next commit with proper command usage and testing docs


Implement Deeper 'Redaction' of Interactivity Reserved Words in Tooltips

We implemented a top-level 'redaction' process in #80, but this is not angry enough.
If we apply transforms that result in more deeply nested objects, such as the values aggregate, this can get out of hand. Ideally, we should write something a little more thorough in its analysis of an object that we want to serialise for tooltips.

Resolved in build 126


Assignment 20 -- Presentation of RBL Progress

Review previous assignments

#18
#19

Create presentation slide combining previous assignments.
Perform presentation in today session within 15 mins

10 mins for presentation
5 mins for questions and suggestions

Upload today slide to OSF and share link to the slide here.
Report also your ID and name.

Ahmad Zaini Zahrandika (20923302)
OSF link: https://osf.io/fwkgn

Kahfi Rizky Kosasih (20924006)
OSF link: https://osf.io/gaus7

Name : Arvin Cansius
NIM : 20924003
osf link : https://osf.io/g5px8

Marco Sustina Putra
ID: 20924001
OSF Link: https://osf.io/3pu54

Gerend Christopher (20924009)
OSF: https://osf.io/r58dw

Ilona Joan M (20924008)
https://osf.io/q9smz


Cards: Bulk Optimization

Feature Description
Reusable component for bulk video optimization card in new version of the prepublish checklist.
Alternatives Considered

Additional Context
https://www.figma.com/file/1YM3jA9h4QGc4xLdyaXIJS/Stories-Sprint-1.7?node-id=8378%3A3528

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
The bulk optimization card might can probably share some basic styling with the other card issues but  needs to be its own thing because of the extra functionality in it.
There's a checkbox to enable auto optimization (as there is currently in the PPC) if it's not checked already (logic is same as before)
When a video is hovered over there's a gear icon that shows, when clicked that optimizes a single video.
There's a CTA below the thumbnails to optimize ALL the videos.
The new bulk optimize UI is a little line at the bottom of the thumbnail (see the media panel for examples, that's the same ui).
When optimizing all the videos the button is disabled and tells you which one it's on. IE) 2 of 7.
If there's an issue with an optimization an error state is present. You get an option to try again.
A bit of back and forth with Ivo on this might be necessary.
This ticket is NOT for functionality, just the UI.
Implementation Brief

@embarks I think this issue is getting covered by your work on #8079
let me know here if you want to separate out anything and use this issue for that, otherwise we can move this issue with that existing PR.


How do I use these File Actions in Power Automate

How do I use these File Actions in Power Automate.  Lots of useful things to do but no relationship to how Power Automate actually works

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

ID: 307cfcfa-687c-d1d6-e255-43d3e4c9ce0c
Version Independent ID: c63e178e-04d8-3dcf-36f5-06cee150afe4
Content: File | Microsoft Docs - Power Automate
Content Source: articles/desktop-flows/actions-reference/file.md
Service: power-automate
Sub-service: desktop-flow
GitHub Login: @mariosleon
Microsoft Alias: marleon

Hello @GuyBoswell, thank you for using Power Automate and helping us improve our documentation.
The actions reference contains a small getting started guide regarding deploying file actions. We will update it to include some additional information that introduces the basic functionality of the group.
If you have any specific scenarios you would like to see covered in the documentation, feel free to mention them so we can add them to the how-to section.

You can find our updated getting started guide here. Thank you very much for your feedback!

Still doesn't explain at all how these are used in Power Automate????
From: Georgios Trantzas @.>
Sent: 02 November 2022 07:09
To: MicrosoftDocs/power-automate-docs @.>
Cc: Guy Boswell @.>; Mention @.>
Subject: Re: [MicrosoftDocs/power-automate-docs] How do I use these File Actions in Power Automate (Issue #823)
You can find our updated getting started guide herehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect-eu.mimecast.com%2Fs%2FrnGoCwEZwCvBE2IV6ZAb%3Fdomain%3Dlearn.microsoft.com&data=05|01|guy.boswell%40cff.org.uk|7710d1973b7a4d67ef4408dabca12d13|aa51b8672b6a40c2b45e272c09bfd4a4|0|0|638029697672883785|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=RV7hucFDqVboXAnnL0LOIfkRtdKY0ovpDEncj2kNews%3D&reserved=0. Thank you very much for your feedback!

Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect-eu.mimecast.com%2Fs%2F7PtBCxV9xfLY5zIv2z2E%3Fdomain%3Dgithub.com&data=05|01|guy.boswell%40cff.org.uk|7710d1973b7a4d67ef4408dabca12d13|aa51b8672b6a40c2b45e272c09bfd4a4|0|0|638029697673040421|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=IrbQ8a44tgdq8dZyomyHjYbrkuyBT4EuJXuLW1oVdTQ%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fprotect-eu.mimecast.com%2Fs%2FLMpSCy6Myt7xPpIQSVGO%3Fdomain%3Dgithub.com&data=05|01|guy.boswell%40cff.org.uk|7710d1973b7a4d67ef4408dabca12d13|aa51b8672b6a40c2b45e272c09bfd4a4|0|0|638029697673040421|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=IutFKfBZap1LK5fsPSwA5Z1BawsO6ZW52D0q0vKqFA0%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Thank you for the quick answer! The getting started guide shows how to deploy and configure these actions in your desktop flows. If you want to trigger your desktop flows for your cloud flows, you can refer to our respective article here.


read_root not compatible to new pandas version

As announced in older pandas versions the read_root method is not compatible anymore in new pandas versions like 0.25.
The announcement for example in 0.24.2 is:
 /opt/miniconda/envs/root_forge_36_test/lib/python3.6/site-packages/root_pandas/readwrite.py:320: FutureWarning: '.reindex_axis' is deprecated and will be removed in a future version. Use '.reindex' instead.   df = df.reindex_axis(columns, axis=1, copy=False)
The error in pandas version 0.25 is:
 File "/opt/miniconda/envs/root_forge_36_test/lib/python3.6/site-packages/root_pandas/readwrite.py", line 278, in read_root     return convert_to_dataframe(arr)   File "/opt/miniconda/envs/root_forge_36_test/lib/python3.6/site-packages/root_pandas/readwrite.py", line 320, in convert_to_dataframe     df = df.reindex_axis(columns, axis=1, copy=False)   File "/opt/miniconda/envs/root_forge_36_test/lib/python3.6/site-packages/pandas/core/generic.py", line 5180, in __getattr__     return object.__getattribute__(self, name) AttributeError: 'DataFrame' object has no attribute 'reindex_axis‘

@chrisburr should comment but we could probably make a simple release with an update of dependencies, modulo fixes such as the one neeed here. Would you be willing to prepare a PR with the fix? Thanks.

Thanks for the report! A fixed release (0.7.0) is working it's way through the CI and will be available soon.


missing documentation on how to build and run a provisioner

when working on NooBaa provisioner it would have been helpful if there were more technical documentation and examples regarding the provisioner build.

how to build and run the provisioner locally (dev mode)
how to build a Docker image (an example dockerfile)
what are the permissions required by the provisioner when running in k8s (example yaml)

@dannyzaken @erinaboyd @jeffvance @copejon
See if this satisfies this a bit better...
Link from main lib README.md
Provisioner Developers should look <link>here</link> for some guidance/recommendations/tips on how to get started with creating your own Provisioner.

that link points to this doc
We also have additional examples (including on how to run and test)
aws-s3-provisioner README
examples

Thanks, looks great. very helpful

sorry, closed by mistake. in any case it looks much better now. decide if you want to close it

Closed via above links


Update defender-endpoint-plan-1-2.md

Updated licensing information for P1 and P2

@JohanFreelancer9 Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/8800


Remove CinderV1 support from  Cloudprovider

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
Cinder v1 is deprecated long back . So the support for the same have to be removed from cloudprovider.
What you expected to happen:
cloudprovider only to support active versions v2, v3
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign


freshness review

@jaszperez,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@jaszperez : Thanks for your contribution to the Azure documentation! The author, @ajamess, has been notified to review your proposed change.

#sign-off


Add Export Path to User Preference

Issue #104: Add settings tab with basic GUI.
Also added configurable export path in preference.json.

Do try to rename all the new settings stuff to preferences for consistency, now it's half half

Renamed all settings to preferences now.


Eliminate need of secrets in label workflow

Currently our label syncing workflow relies on one of our individual GitHub Personal Access Tokens to push labels to the relevant repos. This can expire or be revoked by us silently and in an undocumented manner, and the label syncing action fails silently in that case. We should consider inverting the problem and creating a simple workflow that we implement across the relevant repos. This could check out our labels.yml and run the label sync action directly on those repos, eliminating the secret and perhaps enable more direct label control per-repo.
I've provided my PAT for the next 90 days to get this workflow running again, which I've confirmed to solve the issue for now.

Pinging for discussion today as these 90 days are up and that token has expired. Regardless of action, I'll plan to provide a new token to tide us over.

I'm just clueing into the existence of this workflow now, it seems to solve the problem in #44, just needs updating to expand the list of repos. I guess we are still looking for a long term solution to the access token issue?

Currently our label syncing workflow relies on one of our individual GitHub Personal Access Tokens to push labels to the relevant repos. This can expire or be revoked by us silently and in an undocumented manner, and the label syncing action fails silently in that case. We should consider inverting the problem and creating a simple workflow that we implement across the relevant repos. This could check out our labels.yml and run the label sync action directly on those repos, eliminating the secret and perhaps enable more direct label control per-repo.

I think this makes sense. We could include label syncing in the nightly build action that is already triggered individually in each repo with shared code in the cookbook-actions repo

Since we're hopefully now using the "high priority" label to get things onto our meeting agendas, let's come up with a plan for this at the next IWG meeting.

If this action becomes part of the standard Cookbook actions suite, it needs to separated from others in a way that makes it possible for someone to turn it off -- in the case where they want to use different labels for their cookbook.

At today's IWG we decided to punt for another 90 days on this. @dcamron will put in a new PAT that will get us through the summer hackathon. We will circle back to a PAT-free solution later.


⚠ ClamAV has degraded performance

In cb4293b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 61 ms

Resolved: ClamAV performance has improved in 38cd542.


Displaying a response prints status message twice

My response is displayed as:
HTTP/1.1 200 OK OK
Content-Length: 735
Content-Type: application/json
Access-Control-Allow-Origin: *

with two repeating OKs; this is unexpected. Perhaps I'm not expecting the right thing though--my reference is this Wikipedia article.

This is a bug because the hyper status representation changed.


Add runtime and geckoProfiler

Codecov Report

Merging #7 into master will decrease coverage by 7.53%.
The diff coverage is 40%.

@@            Coverage Diff             @@
##           master       #7      +/-   ##
==========================================
- Coverage   61.11%   53.57%   -7.54%
==========================================
  Files           5        7       +2
  Lines          18       28      +10
  Branches        7        8       +1
==========================================
+ Hits           11       15       +4
- Misses          1        6       +5
- Partials        6        7       +1

Impacted Files
Coverage Δ

src/index.js
100% <ø> (ø)
:arrow_up:

src/setup.js
100% <100%> (ø)
:arrow_up:

src/runtime.js
20% <20%> (ø)

src/geckoProfiler.js
33.33% <33.33%> (ø)

Continue to review full report at Codecov.

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


[TouchRipple] Fix issue #5626

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

In some browsers (Firefox and Safari), the addition of the ripple element during mousedown event was preventing the parent element from receiving click events. This patch fixes the problem by disabling pointer events for the ripple element.
You can test this by clicking at the GitHub button at the documentation page. Note that
you need to click outside the label text. In addition to the browser, the used operating system may also affect results. I have tested this patch on OS X. See the related issue for a more detailed discussion.
Closes #5626

Thanks.


new commands and event

created new commands and event!

Sorry. Also, it looks like I need to make a few more changes to merge.

Pylint
This is very useful to prevent pylint error!
I recommend this extension


Clean up unused variable roots in graph flow

How to categorize this PR?

/area robustness
/kind cleanup
/priority normal
What this PR does / why we need it:
Reduce the doubts of other readers when they read codes in pkg/utils/flow/graph.go
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

None

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

Thank you @kqzh for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.


bigmi is great, but can i have this feature?

like re-construct a psbt tx,i trying to implement mempool sniping

Hey, we have plans to add functionality to construct PSBTs, please stay tuned :) Also, please share more details on your use case so we can consider it.

Hey, we have plans to add functionality to construct PSBTs, please stay tuned :) Also, please share more details on your use case so we can consider it.

cool,but what i trying to explain is RE-construct psbt.so that i can extract the sign sinal utxo,and re-sign again,that make me snip stb. and there are some tools provide this featur out theree ,like  https://magicpool.space/ ,https://magisat.io/


curl: (35) SSL received a record that exceeded the maximum permissible length.

Hi,
Have updated VBO to V4, as well as json Dashboard and script.
Now i get a series of "curl: (35) SSL received a record that exceeded the maximum permissible length." when running the script.
RestAPI is verifed OK with the swagger URL.
Thanks for all the hard work

Hello, probably you will need to look at the URL of the veeamInfluxDBURL, as that will require now http://FQDN or https://FQDN :) try it and let me know

Any luck?


RSS feeds

Finally came across your project, exactly what I've been looking for.
My setup requires me to use RSS feeds to automate a number of "subscriptions".
Is this something that you would consider in-scope and would support, or should I write an external tool to handle my use case?
Thanks.

I have considered it but haven't had the time to decide if it is in scope or not :smiley: Until then, you might be interested in autobrr which handles RSS feeds and indexers very well.

Many thanks, great recommendation.

Happy to help! I'll close this for now, since there's no current plan for RSS feeds.


optimize asList

…etonList’
Motivation:
Explain here the context, and why you're making that change.
What is the problem you're trying to solve.
Modification:
Call to asList with only one argument could be replaced with singletonList to save memory
Result:
Fixes #.
If there is no issue then describe the changes introduced by this PR.

@netty-bot test this please


AbstractImplementationSymbolVisitor: change extractImplementations overloads

The varargs overload was only ever called with one argument resulting in an
unnecessary array allocation.
Removed the collectPhase overload because it doesn't really reduce any
boilerplate but just made it unclear which symbols of the phase are being
extracted.

ack


configuration: controller identity_password value stored in plain text

the configuration file has the identity password stored in the clear. This seems bad.

/etc/ciao/configuration.yaml is created as 644 which allows everyone to read the stored password.
This should be changed to 600

Field removed by #1410


[Task]: When git push fails, show the underlying error instead of throwing a custom Appsmith error

SubTasks

Reported error should be traced back to origin
Appsmith wrapper should still exist, but only to retain the type

There have been multiple scenarios where this would have been useful for us:

Azure Devops depreciated signing algorithms recently.  Azure Devops were randomly failing connections using the older signing algorithm. Having the output from the git push would have made it clear what was going on, as they returned a deprecation message when this occurred.

Appsmith introduction of atomic commits broke pushes to Azure Devops which doesn't support this feature, without the relevant error in the logs it was hard to track this down.

We recently had issues pushing to a branch, it turns out that branch  protection had been enabled on the branch but once again it took as a while to realise the underlying issue.


[MvxCachedImageView] Add ability to customise creation of image loading task

Description
For MvxCachedImageView split UpdateImageLoadingTask method into few separate steps eg creation and configuration of loader.
Steps to Reproduce

Expected Behavior
You can override image loader creation / configuration
Actual Behavior
You can override only whole UpdateImageLoadingTask method
Basic Information

Platform: iOS/Android

Screenshots

Reproduction Link / Code

#1319

nice issue, thanks


Is there a subtract method?

Only intersection, union, difference

It seems that greinerHormann.diff() = polygonA - polygonB.
miss difference(xor)?

It seems that greinerHormann.diff() = polygonA - polygonB.
miss difference(xor)?

I suggest you to use w8r/martinez instead

I suggest you to use w8r/martinez instead

Wow, working with self-intersecting polygons and degenerate polygons!
thanks.

Wow, working with self-intersecting polygons and degenerate polygons!
thanks.


custom currency format

Hello! How can I set 123$ instead $123?

On the list of currencies change currency_before - currency_after

Thank you a lot. It works!


Downsampling is not working but compaction seem to be fine

Hi,
we are running Thanos with google bucket as remote storage. Below are the configuration settings on the current setup:(min and max compaction : 2h)

--log.level=debug

--objstore.config-file=/var/bucket.yml
--retention.resolution-raw=30d
--retention.resolution-5m=365d
--retention.resolution-1h=1h
--sync-delay=30m
--data-dir=/var/thanos/store
--wait

In the compactor logs, we have seen compaction as well as downsampling is happening. But when we look at store and remote storage ULID(meta.json) file we don't anything got downsampled. Attached the logs for the same.
evel=info ts=2019-01-24T18:41:35.293282997Z caller=compact.go:816 msg="start sync of metas"
level=info ts=2019-01-24T18:41:35.832007529Z caller=compact.go:822 msg="start of GC"
level=info ts=2019-01-24T18:41:35.84597813Z caller=compact.go:207 msg="compaction iterations done"
level=info ts=2019-01-24T18:41:35.846158613Z caller=compact.go:214 msg="start first pass of downsampling"
level=info ts=2019-01-24T18:41:36.453676668Z caller=compact.go:220 msg="start second pass of downsampling"
level=info ts=2019-01-24T18:41:36.788466012Z caller=compact.go:225 msg="downsampling iterations done"
level=info ts=2019-01-24T18:41:36.788610995Z caller=retention.go:17 msg="start optional retention"
level=info ts=2019-01-24T18:41:37.175464351Z caller=retention.go:46 msg="optional retention apply done"
level=info ts=2019-01-24T18:46:35.290352093Z caller=compact.go:816 msg="start sync of metas"
level=debug ts=2019-01-24T18:46:35.649414618Z caller=compact.go:174 msg="download meta" block=01D20JNFWMN5A98DCK3C48HH1E
level=debug ts=2019-01-24T18:46:35.916952831Z caller=compact.go:192 msg="block is too fresh for now" block=01D20JNFWMN5A98DCK3C48HH1E
level=info ts=2019-01-24T18:46:35.91726417Z caller=compact.go:822 msg="start of GC"
level=info ts=2019-01-24T18:46:35.925582759Z caller=compact.go:207 msg="compaction iterations done"
level=info ts=2019-01-24T18:46:35.925696324Z caller=compact.go:214 msg="start first pass of downsampling"
level=info ts=2019-01-24T18:46:36.450720059Z caller=compact.go:220 msg="start second pass of downsampling"
level=info ts=2019-01-24T18:46:36.895809384Z caller=compact.go:225 msg="downsampling iterations done"
level=info ts=2019-01-24T18:46:36.895909826Z caller=retention.go:17 msg="start optional retention"
level=info ts=2019-01-24T18:46:37.354046696Z caller=retention.go:46 msg="optional retention apply done"
level=info ts=2019-01-24T18:51:35.299952556Z caller=compact.go:816 msg="start sync of metas"
level=debug ts=2019-01-24T18:51:36.17085564Z caller=compact.go:174 msg="download meta" block=01D20JNFWMN5A98DCK3C48HH1E
level=debug ts=2019-01-24T18:51:36.437762023Z caller=compact.go:192 msg="block is too fresh for now" block=01D20JNFWMN5A98DCK3C48HH1E
level=info ts=2019-01-24T18:51:36.437867922Z caller=compact.go:822 msg="start of GC"

Can you help us find the root cause for the same and let me know if you need any other config options or logs to confirm the issue?

Hey, Thanks for report! :wave:
We are aware that this part related to downsampling might be confusing. Created ticket with some answers you might want and to track this further: https://github.com/improbable-eng/thanos/issues/813 Let's move the discussion there.

#813  is about delete data,but this issues is downsampling not work

Hi, does the issue still persist?
As noted in the issue Bartek linked above. The dowsampling happens only after 40h in the object storage for the 5m data so till then you won't see any downsampled blocks. The conpactor logs the downsampling phase even when it does not find any data to downsample.
If it still does not work please try running command thanos bucket inspect and paste it here so we can see all the blocks in the storage
https://thanos.io/components/bucket.md/#inspect

I would recommend new freshly web page even: https://github.com/improbable-eng/thanos/pull/1248


Use Transaction::{V1, V2, V3} proptest strategies in finalized state tests

Is your feature request related to a problem? Please describe.
In #2159, we stopped generating V1-V3 transactions in proptests for non-finalized state. We still have these proptest strategies.
Describe the solution you'd like
Use these strategies in proptests for finalized state, so that we exercise handling V1-V3 transactions.
Describe alternatives you've considered
Do not handle these cases, remove these test strategies.

We have good coverage already.


[Feature] Background request should be added

Now we need to request data from backend to render on crx.
The request module should be added into the common background script which in common/background/util.js to provide data request function to the crx.

Chrome will forbid extensions to send web requests otherwise they are in the whitelist defined in  src/manifest.json
Also, when hacking with the content-script, there may be some CROS problems we should handle first. These all lead to the question that we should know where the back-end service will be deployed first when developing the extension.
{
  ...
  "permissions": [
    "*://your-domain.com/*",
    ...
  ],
...
}

It's out-of-date.
Closed.


Update composer.lock

Fix #13

composer.json ?

No need to update

@SpEcHiDe added json payload

ok all fine


DRILL-7704: Update Maven to 3.6.3

DRILL-7704: Update Maven to 3.6.3
Description
Update Maven dependency to 3.6.3
Documentation
Need to update https://drill.apache.org/docs/compiling-drill-from-source/ page
Testing
Ran all tests.

@vvysotskyi / @paul-rogers thanks for the code review.


liblz4 error when trying build validator-keys-tool

rippled installed successfully.

https://github.com/XRPLF/rippled/issues/4462

I'm having this same issue when trying build validator-keys-tool (not rippled).

command:   cmake -DCMAKE_BUILD_TYPE=Release ../..
get this error:
Could` not find a package configuration file provided by "lz4" with any of the following names:
lz4Config.cmake
lz4-config.cmake
Originally posted by @rudy113 in https://github.com/XRPLF/rippled/issues/4462#issuecomment-1902824994

@rudy113 Please try following the build instructions: https://github.com/ripple/validator-keys-tool?tab=readme-ov-file#dependencies
Also, there are packages which build validator-keys-tool with the validator-keys   target (so perhaps you could refer to that to see how building works). Note that the validator-keys-tool is provided in rippled packages, so if you're on Ubuntu or CentOS, there is usually no need to build it yourself.


Integration without forms

Hello,
i have a project with ios/android native xamarin (c#) application and i would know if there is any possibility to use this library without xamarin forms.
Thank you!

I'll separate bindings projects into a separate nuget packages probably it will be available over this weekend

Hey @AeonDave now we have separate nuget for
Xamarin.PayPal.Android.CardIO
Xamarin.PayPal.Android
Xamarin.PayPal.iOS
you can see native implementation examples from here:
Android: https://github.com/AlejandroRuiz/PayPal.Forms/tree/master/MobileApps/PayPal.Forms/PayPalAndroidTest
iOS: https://github.com/AlejandroRuiz/PayPal.Forms/tree/master/MobileApps/PayPal.Forms/PayPalAndroidTest/PayPayiOSTest


[Request] Please sign the NuGet  with a strong name

First of all, thanks for this awesome project!
can you please sign this NuGet with a strong name? this will help to integrate it in a strong name solution.

Yes please!

Something like StrongNamer or StrongNameSigner should have you covered here. Let me know if this doesn't solve your issue


Fix MeshLibrary and GridMap change notifications

Fixes MeshLibrary and GridMap change notifications.
Fixes https://github.com/godotengine/godot/issues/76429.
Properly other older bug reports that had issues with Editor GridMap palette updates as well.

Doesn't seem enough to close the issue:
https://github.com/godotengine/godot/assets/2223172/44dbbe75-3d10-49f3-9eca-c14b88b49b0f
The preview is not updated when material changes.

Not sure how to handle this. The palette used fixed images that can be customized by the user or not, else the preview property wouldn't be exposed on the MeshLibrary item. But there is no distiction between the auto-generated preview and a user defined custom preview. So we can't just auto-update the preview on (sub) resource changed signals cause then any user custom preview gets replaced by a generic preview again.

We could store them separately internally, could we not? And return the auto-generated one if user never set a custom one. The signal can be fired whenever any one of them changes, it shouldn't be a problem.

On a side note, I don't know who thought that storing the preview inside the library is a good idea. The image is getting embedded in the resource. If you inspect the library from the MRP, 90% of its content is binary data saved as text.

Reacting to changes in the subresources revealed that there is a problem with a cascade of update trigger by it.

What does it look like? What's the impact on the editor or the user?


Improving User Experience

This can be improved to make a difference among all the represented info.
Kindly assign this issue to me under hactoberfest, gssoc-ext and relevant tags.

👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our GitFinder team will review it shortly. Stay tuned!

What do you want to do?

The image and name should align. The name should be differentiated, whether by using bold or a different color. All the text here are of same color that can be modified.


⚠ Bofrost.gr has degraded performance

In 667fcac, Bofrost.gr (https://www.bofrost.gr) experienced degraded performance:

HTTP code: 200
Response time: 3617 ms

Resolved: Bofrost.gr performance has improved in f5a3401.


Environmental Sensor Board Inaccurate Readings

Hello,
I’d like to report strange reading taken from the Environmental Sensor Board attached to the Coral Dev Board. Using the official sample code provided, the temperature, humidity and luminosity readings were significantly less accurate than reported in the tech specs.
Below is a table of comparison between the Environmental Sensor Board and reference meters. I haven’t tested barometric pressure. I have also attached a photo of the setup.

I layout the steps I took to produce the error, following normal procedure of operating the CORAL Environmental Sensor Board:

Followed this guide: https://coral.ai/docs/enviro-board/get-started/ (steps 1, 2, and 3)
Placed the CORAL Environmental Sensor Board using header extenders (see attached photo)
Modified the code to send readings to Firebase Database (link to code)
Ran the code continuously for more than 24 hours in an office environment
Obtained the below validation results with respect to reference meters ThermoPro TP52 and
V·RESOURCING W-U113 using the following equation: relative error = | (reference value - measured value) / reference value | * 100:

Parameter	CORAL Sensor Accuracy
Temperature	±26.57%
Humidity	±11.85%
Ambient Light Level	±57.3%

As you can see, the light level sensor gives almost twice as high as the reference value.
I have linked here the data as a Firebase Database JSON file, where it sorted by a UNIX timestamp key. This file shows data collected and displayed on the CORAL.
I have tested the Environmental Board on 3 different locations (i.e. two labs and an apartment). Moreover, I have verified the values with a thermocouple as well as the mentioned ThermoPro TP52. In all settings, the Environmental Board showed non-minimal discrepancies as discussed in the previous email.
I'd appreciate your assistance in identifying the issue at hand (hardware/software) and resolve it. I'm using the above setup for a research project.

Hello @Abdol , temp inaccuracy could be due to the Enviro sensor board is above the heat sink. Can you please try to check the accuracy by connecting the sensor board via ribbon cable. Thanks!

Thanks @hjonnala for the suggestion. I'll update you once I get my hands on a ribbon cable.

Feel free to reopen if you still have any questions here. Thanks!

Thanks @hjonnala. Using the ribbon cable improved the readings' accuracy. Having tested this on two Environmental Sensor Boards, one of the boards worked fine and the other continued displaying faulty readings.
I would suggest including this tip, i.e., connecting the Environmental Sensor Boards to a ribbon cable to mitigate board heating effect rather than a header, in the sensor's getting started page page.  It may help others troubleshoot such issues.


Document new time options

This PR includes the updates introduced in https://github.com/chartjs/Chart.js/pull/4595

@etimberg could you give this one a look? thanks!


fix bold + italic: consider adding traits to a base font instead of requiring font names

I found that to get a bold & italic font, coming up with a XYZ-BoldItalic name doesn't work, but adding a font trait via NSFontManager does work.
Instead of requiring font names in the theme files, my suggestion is to add another property, maybe even call it "traits", where you can specify "bold", "italic", or both.

If the current style scope has a font setting, it adds the traits to the font name -- thus making a setting like "font": "Menlo-Bold", traits: [ "bold" ] redundant.
If the current style's scope has no font name set, the style will use the base (body) font and add the traits.
If no style ever did set a custom font, it falls back to the current system font.

What do you think?

Sounds great!

This is a great idea in I'd love to see this too. Maybe I will find time to submit a PR.

I tried to implement this because I need it in my current project too. Do you want to take a look and maybe merge? https://github.com/ruddfawcett/Notepad/pull/47

Hey thanks so much @funkenstrahlen — I'll take a look!


Include dirs for N-API messed up

I think this utility is messing up include directories. Building a N-API module yields the following issue:
/home/rsa/js/node-argon2/node_modules/node-addon-api/napi.h:4:10: fatal error: node_api.h: No such file or directory
 #include "node_api.h"
          ^~~~~~~~~~~~

The same problem does not happen with node-gyp rebuild.
Relevant bindings.gyp entries:
"sources": [
  "src/argon2_node.cpp"
],
"include_dirs": ["<!@(node -p \"require('node-addon-api').include\")"],

I am unsure how to debug further since prebuildify does not expose node-gyp verbose flag, and I can't see the compiler command line.

Okay, I managed to spit node-gyp build commands with export npm_config_loglevel=verbose, and the faulty command is:
g++ (...) -I../argon2/include -I/home/rsa/.node-gyp/5.0.0/include/node (...) -I/home/rsa/js/node-argon2/node_modules/node-addon-api  (...)   -c -o Release/obj.target/argon2/src/argon2_node.o ../src/argon2_node.cpp

So the issue seems to be that it is trying to build against Node 5.0, which is not supported by N-API (it requires at least Node 8 for non-experimental support). Furthermore, my package.json engine key should be honored, building only for Node 8.0 and higher.

So it was my node-gyp installation broken. I had remains of Node 5.0 and node-gyp doesn't care if it was updated ever. Running rm -rf ~/.node-gyp fixes it, redownloading Electron 5.0 over old Node 5.0 place.
This will futurely become an issue should Electron versions ever overlap supported Node versions, e.g. Electron reaches 8.0.0 before Node 8.0.0 phases out, as there will be two versions with the same version and different ABIs. Should definitely be looked into.


Clothing issue

When i try to add tattoos and want to see the skin, i go to the icon under the camera in the menu. when i toggle the shirt, it goes to another shirt. How do i fix that to make it where he is shirtless?

@bcrossen95 you have custom clothing that's why. Read the instructions in the #faq channel of my discord at: https://discord.illenium.dev


comment-whitespace not working correctly?

When I run Tailor on my .swift file that looks like this:
  /// Retreives a user.
  ///
  /// - note: The network call is made asynchronously.
  ///
  /// - parameters:
  ///    - username: The name to retrieve user information for.
  ///
  func getUser(username: String) {

I get the following output, where line 33 is the beginning of that comment block and line 39 is the end of the comment block:
/Users/rohannagar/Documents/Developer/UserService.swift:33:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:34:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:35:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:36:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:37:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:38:5: warning: [comment-whitespace] Single-line comment should start with whitespace
/Users/rohannagar/Documents/Developer/UserService.swift:39:5: warning: [comment-whitespace] Single-line comment should start with whitespace

There are two problems with this: 1, there is in fact whitespace after each single-line comment that has text following it, so I'm not sure why I'm getting the warnings. And two, documentation comment lines without text should not require a whitespace after ///.
I am getting this very often on all of my .swift files. Let me know if you need more information or if I am doing something completely wrong. Thanks!

Hey @RohanNagar, it is a bug and has been fixed in #211.  The bugfix will be incorporated the upcoming release very soon.

Ah, apologies. Thanks for the quick reply.


Countdown refactor

@pvinis and I took a look at countdown clocks in Eigen today and found ourselves a bit overwhelmed - the countdown structure is pretty wild. We eventually realized that what we wanted for Viewing Rooms was going to look almost exactly the same as the Fairs countdown, so we said "well, let's generalize it a little bit and use it for both." This PR implements that refactor.
Do we foresee using a similar countdown clock in enough places for this to be worth generalizing? Auction screens already make use of a very similar timer, but it diverges enough from this Fairs/VR version that I don't think it's worth trying to make it fit so I left it separate.
Input is appreciated! If folks feel like this refactor makes sense, we can merge and proceed, and if not I can simply copy/paste most of the code from the Fair countdown for ViewingRoom
#trivial

This looks great! Can you post gifs of the countdown in the places the refactored component is used? Always nice to have visual confirmation that a refactor still performs as expected!

ah smart thinking, thanks @ashleyjelks! just added those to the PR description


Locate on punctuation looks up the empty string

Running locate on various bits of OCaml punctuation results in merlin trying to look up the empty string. In the case that the punctuation is '=', it looks up '=' and usually finds Pervasives.(=) and proceeds to complain that the definition isn't available.
It would be better to gently refuse such nonsensical requests with a nice message.

Ok so, two things here :

since 920bd6ff729becd80e8d994608a8ed598bdda038 , merlin will not try to locate the empty string (hurrah!)
with the way locate (and type-enclosing) are implemented, we do not have sufficient to differentiate between the case where the = you're looking up/typing is an operator and the one where it is a keyword (in which case the request doesn't make sense).
But I feel like in these case, it is ok to try and type/locate =-the-operator.


UnaryPositive expression doesnextends

Describe the bug
A clear and concise description of what the bug is.
Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.
Expected behavior
A clear and concise description of what you expected to happen.
Environment details (please complete the following information)

Environment location: [Standalone, YARN, Kubernetes, Cloud(specify cloud provider)]
Spark configuration settings related to the issue

Additional context
Add any other context about the problem here.

This seems like it was created by mistake and is a dup of https://github.com/NVIDIA/spark-rapids/issues/11136


Improve article 2210.04610

Exact location of issue
Article fails to convert.
Problem details
Fatal:timeout:if_limit Conditional limit of 3599999 exceeded, infinite loop?

This is a pgf-related issue with latexml, which likely leads to an infinite loop and times out.

Thank you for the report, I have updated it with more details from the log


proposal: x/text/transform: Add func (*Reader).Reset(r io.Reader, t Transformer)

The x/test/transform.Reader constructor allocates two 4kb buffers. I want to reuse existing Readers with a sync.Pool to reduce allocations. I'm proposing a Reset method similar to bufio.Reader.Reset
func (rd *Reader) Reset(r io.Reader, t Transformer) {
	t.Reset()
	rd.r = r
	rd.t = t
	rd.err = nil
	rd.dst0 = 0
	rd.dst1 = 0
	rd.src0 = 0
	rd.src1 = 0
}

CC @mpvl

@ianlancetaylor is @mpvl still actively participating in this project? I appreciate that people are busy, but #49117 has been sitting for over a year. I'm wondering if we're waiting for someone who's never going to respond.


Handle nill helper for OpenStackAnsibleEE

It's possible to get nil from helper.NewHelper(). We don't seem to handle that.

/retest

/test golint


Removed java code generation from genconfig

All references to java have been purged

Approved; see comment in https://github.com/DUNE-DAQ/daq-cmake/pull/127


golang 1.15 post-submit

Issue #, if available:
https://github.com/aws/eks-distro-internal/issues/206
Description of changes:
post-submit for 1.15. need to add the release make target.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


HyP-183 Offline compatible API

name: Offline compatible API
about: Making demonstrator available when offline
Summary
At the moment we must be online for the demonstrator. The person should be able to connect to the demonstrator without internet (such as the demonstrator provides embodied CO2 even when the API is not connected.)
This is strictly related to the Jira ticket HYP-183.

Motivation
To allow for the demo to be performed in all conditions.

Describe alternatives you've considered
Considered adding a similar logic inside the  src/controllers/v1/certificate/index TypeScript file.

Additional context

In this solution, the back-end tries to call the await fetch(url) function and pass the result to response. If for some reason ( in this case because being offline ) this is not possible, a different block of code will be executed. In this block, the input will be multiplied by a preconfigured hardcoded factor ( this factor can be change but it seems in-line with what we get anyway when on-line ) :
output = hardcodedFactor * energyConsumedWh // e.g.: 0.07 * 10000 -> 700

NOTE: this does not contain any new integration tests or on-chain tests.

Tested with npm run init from sqnc-hyproof-client repo while offline - works correctly

Closed in favour of https://github.com/digicatapult/sqnc-hyproof-client/pull/140


Godot fails to build Mono glue with the latest update

Godot version:
master / 7c1415b99
OS/device including version:
Manjaro Linux (Testing/KDE)
Issue description:
After checking out the current master branch and run scons to build the Mono glue, it fails with the following output:
Generating _ClassDB...
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
...
Generating AnimatedSprite.cs...
ERROR: Parameter "prop_itype" is null.
   at: _generate_cs_property (modules/mono/editor/bindings_generator.cpp:1433)
ERROR: Failed to generate property 'animation' for class 'AnimatedSprite'.
   at: _generate_cs_type (modules/mono/editor/bindings_generator.cpp:1297)
ERROR: Generation of the Core API C# project failed.
   at: generate_cs_api (modules/mono/editor/bindings_generator.cpp:1115)
ERROR: --generate-mono-glue: Failed to generate the C# API.
   at: handle_cmdline_args (modules/mono/editor/bindings_generator.cpp:3181)
...
(similar logs repeated many times)
...
Project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (1) is building "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" (2) on node 1 (default targets).
/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj(83,3): error MSB4019: The imported project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/Generated/GeneratedIncludes.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" (default targets) -- FAILED.
Project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (1) is building "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj" (3) on node 1 (default targets).
/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj(38,3): error MSB4019: The imported project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/Generated/GeneratedIncludes.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj" (default targets) -- FAILED.
Done Building Project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default targets) -- FAILED.

Build FAILED.

"/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->
"/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" (default target) (2) ->
  /home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj(83,3): error MSB4019: The imported project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp/Generated/GeneratedIncludes.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

"/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->
"/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj" (default target) (3) ->
  /home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/GodotSharpEditor.csproj(38,3): error MSB4019: The imported project "/home/fender/workspace/godot/modules/mono/glue/GodotSharp/GodotSharpEditor/Generated/GeneratedIncludes.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    0 Warning(s)
    2 Error(s)

I haven't been able to build Godot since the Vulkan update, but I'm not sure if it's the same problem with #36111 or not.

I'm having the same issue

I can confirm this issue also occurs on Windows 10.

It was fixed for a small time but after some new commits I also get this on Arch Linux:
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
Generating _Directory...
Generating _Engine...
Generating _File...
Generating _Geometry...
Generating _GodotSharp...
Generating _JSON...
Generating _Marshalls...
Generating _Mutex...
Generating _OS...
Generating _ResourceLoader...
Generating _ResourceSaver...
Generating _Semaphore...
Generating _Thread...
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
Generating _VisualScriptEditor...
Mono glue generated successfully
Declaring global enum 'Type' inside static class 'Variant'
ERROR: Cannot resolve type reference in documentation: 'Vector2i'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'Rect2i'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'Vector3i'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'StringName'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'Callable'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'Signal'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'PackedInt64Array'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
ERROR: Cannot resolve type reference in documentation: 'PackedFloat64Array'.
   at: bbcode_to_xml (modules/mono/editor/bindings_generator.cpp:536)
Declaring global enum 'Operator' inside static class 'Variant'
Generating ARVRAnchor.cs...
Generating ARVRCamera.cs...
Generating ARVRController.cs...
Generating ARVRInterface.cs...
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
Generating ARVRInterfaceGDNative.cs...
Generating ARVROrigin.cs...
Generating ARVRPositionalTracker.cs...
ERROR: Type not found. Creating placeholder: 'StringName'.
   at: _get_type_or_placeholder (modules/mono/editor/bindings_generator.cpp:2137)
Generating ARVRServer.cs...
Generating AStar.cs...
Generating AStar2D.cs...
Generating AcceptDialog.cs...
Generating AnimatedSprite.cs...
ERROR: Parameter "prop_itype" is null.
   at: _generate_cs_property (modules/mono/editor/bindings_generator.cpp:1433)
ERROR: Failed to generate property 'animation' for class 'AnimatedSprite'.
   at: _generate_cs_type (modules/mono/editor/bindings_generator.cpp:1297)
ERROR: Generation of the Core API C# project failed.
   at: generate_cs_api (modules/mono/editor/bindings_generator.cpp:1115)
ERROR: --generate-mono-glue: Failed to generate the C# API.
   at: handle_cmdline_args (modules/mono/editor/bindings_generator.cpp:3183)

and
[5%] clang ++ -o main / tests / test_math.x11.opt.tools.64.llvm.o -c -std = gnu ++ 17 -g1 -O2 -flto = thin -pipe -fpie -pthread -Wall - -Werror = return-type -DDEBUG_ENABLED -DTYPED_METHOD_BIND -DTOUCH_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DVULKAN_ENABLED -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -DHAVE_MNTENT -Ithirdparty / freetype / include -Ithirdparty / libpng -Ithirdparty / glad -Ithirdparty / vulkan -Ithirdparty / vulkan / include -Ithirdparty / vulkan / loader -Ithirdparty / zstd -Ithirdparty / zlib -Iplatform / x11 -I. main / tests / test_math.cpp
platform / x11 / os_x11.cpp: 244: 2: warning: Forcing vulkan video driver because OpenGL not implemented yet [-W # warnings]
#warning Forcing vulkan video driver because OpenGL not implemented yet
 ^
[5%] clang ++ -o main / tests / test_oa_hash_map.x11.opt.tools.64.llvm.o -c -std = gnu ++ 17 -g1 -O2 -flto = thin -pipe -fpie -pthread -Wall - -Werror = return-type -DDEBUG_ENABLED -DTYPED_METHOD_BIND -DTOUCH_ENABLED -DALSA_ENABLED -DALSAMIDI_ENABLED -DPULSEAUDIO_ENABLED -D_REENTRANT -DJOYDEV_ENABLED -DX11_ENABLED -DUNIX_ENABLED -DVULKAN_ENABLED -DPTRCALL_ENABLED -DTOOLS_ENABLED -DMINIZIP_ENABLED -DZSTD_STATIC_LINKING_ONLY -DGLAD_ENABLED -DGLES_OVER_GL -DHAVE_MNTENT -Ithirdparty / freetype / include -Ithirdparty / libpng -Ithirdparty / glad -Ithirdparty / vulkan -Ithirdparty / vulkan / include -Ithirdparty / vulkan / loader -Ithirdparty / zstd -Ithirdparty / zlib -Iplatform / x11 -I. main / tests / test_oa_hash_map.cpp
Generated / GodotObjects / PathFollow2D.cs (94,21): warning CS0108: 'PathFollow2D.Rotate' hides inherited member 'Node2D.Rotate (float)'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / NativeCalls.cs (3220,94): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / NativeCalls.cs (3223.95): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / NativeCalls.cs (3226.95): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ARVRInterface.cs (149,16): error CS0246: The type or namespace name 'StringName' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / Object.cs (471,45): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / Object.cs (481,47): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / Object.cs (490.48): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ARVRPositionalTracker.cs (80,16): error CS0246: The type or namespace name 'StringName' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ARVRPositionalTracker.cs (68,39): warning CS0108: 'ARVRPositionalTracker.GetType ()' hides inherited member 'object.GetType ()'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ArrayMesh.cs (144,36): warning CS0108: 'ArrayMesh.BlendShapeMode' hides inherited member 'Mesh.BlendShapeMode'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ArrayMesh.cs (40,21): warning CS0108: 'ArrayMesh.ArrayFormat' hides inherited member 'Mesh.ArrayFormat'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / ArrayMesh.cs (80,21): warning CS0108: 'ArrayMesh.ArrayType' hides inherited member 'Mesh.ArrayType'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / LightOccluder2D.cs (36.20): warning CS0108: 'LightOccluder2D.LightMask' hides inherited member 'CanvasItem.LightMask'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
Generated / GodotObjects / CPUParticles.cs (15,21): warning CS0108: 'CPUParticles.Flags' hides inherited member 'GeometryInstance.Flags'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
The creation of the project "/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" has been completed (default goals) - ERROR.
The creation of the project "/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" has been completed (standard goals) - ERROR.

Build process failed.

"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->
"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" (default target) (2) ->
(CoreCompile target) ->
  Generated / GodotObjects / PathFollow2D.cs (94,21): warning CS0108: 'PathFollow2D.Rotate' hides inherited member 'Node2D.Rotate (float)'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ARVRPositionalTracker.cs (68,39): warning CS0108: 'ARVRPositionalTracker.GetType ()' hides inherited member 'object.GetType ()'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ArrayMesh.cs (144,36): warning CS0108: 'ArrayMesh.BlendShapeMode' hides inherited member 'Mesh.BlendShapeMode'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ArrayMesh.cs (40,21): warning CS0108: 'ArrayMesh.ArrayFormat' hides inherited member 'Mesh.ArrayFormat'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ArrayMesh.cs (80,21): warning CS0108: 'ArrayMesh.ArrayType' hides inherited member 'Mesh.ArrayType'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / LightOccluder2D.cs (36.20): warning CS0108: 'LightOccluder2D.LightMask' hides inherited member 'CanvasItem.LightMask'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / CPUParticles.cs (15,21): warning CS0108: 'CPUParticles.Flags' hides inherited member 'GeometryInstance.Flags'. Use the new keyword if hiding was intended. [/Run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]

"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln" (default target) (1) ->
"/run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj" (default target) (2) ->
(CoreCompile target) ->
  Generated / NativeCalls.cs (3220,94): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / NativeCalls.cs (3223.95): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / NativeCalls.cs (3226.95): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user / git /godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ARVRInterface.cs (149,16): error CS0246: The type or namespace name 'StringName' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / Object.cs (471,45): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / Object.cs (481,47): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / Object.cs (490.48): error CS0246: The type or namespace name 'Callable' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]
  Generated / GodotObjects / ARVRPositionalTracker.cs (80,16): error CS0246: The type or namespace name 'StringName' could not be found (are you missing a using directive or an assembly reference?) [/ Run / media / user / user /git/godot/modules/mono/glue/GodotSharp/GodotSharp/GodotSharp.csproj]

    7 Warning (s)
    8 errors

Elapsed time 00: 00: 25.10
scons: *** [bin / GodotSharp / Api / Debug / GodotSharp.dll] RuntimeError: 'msbuild' exited with error code: 1
Traceback (most recent call last):
  File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 150, in run_command
    subprocess.check_call (args, env = env_override)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError (retcode, cmd)
subprocess.CalledProcessError: Command '[' / usr / bin / msbuild ',' /run/media/user/user/git/godot/modules/mono/glue/GodotSharp/GodotSharp.sln ',' / p: Configuration = Debug ',' / p: NoWarn = 1591 ']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/SCons/Action.py", line 1209, in execute
    result = self.execfunction (target = target, source = rsources, env = env)
  File "/run/media/user/user/git/godot/modules/mono/build_scripts/api_solution_build.py", line 20, in build_api_solution
    build_solution (env, solution_path, build_config, extra_msbuild_args = extra_msbuild_args)
  File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 214, in build_solution
    run_command (msbuild_path, msbuild_args, env_override = msbuild_env, name = 'msbuild')
  File "/run/media/user/user/git/godot/modules/mono/build_scripts/solution_builder.py", line 152, in run_command
    raise RuntimeError ("'% s' exited with error code:% s"% (name, e.returncode))
RuntimeError: 'msbuild' exited with error code: 1
1 warning generated.
scons: building terminated because of errors.

Confirming this (original issue), with near-identical logs on Ubuntu 19.04/ msbuild 16.3.0/ Mono 6.6.0.

Confirming this. I'm on Windows 10.

Thanks for the report. We don't need more confirmations, we're well aware that the Mono bindings need fixes to account for recent changes in the master branch. This is expected.

Seems to be fixed now.

Oops, fixed by #37050

This seems to be back again...

@darrylryan
But should be a new issue as those errors are different.

There's no need to report Mono build issues at this stage, the master branch is changing a lot with compat breakage, and of course it means that the Mono bindings need to be updated.


Unable to reset settings from the Main Window

Hi,
I have tried reseting the User interface i.e. windows layout from view but I cannot get back to original.
I have removed the Spyder-Py2.app and reinstalled it but it doesn't restore to default. Also, I have tried using Anaconda but still the same problem.

Any suggestion on proper removal of Spyder or setting it to default. Thanks.

Have you tried running from a console
spyder --reset
?

It states, 'name spyder not defined.'

It should be run from a shell, not from python. Alternatively you can delete manually ~/.spyder, this is exactly what the command above does.

Thanks @Nodd .
rm -f ~/.spyder worked perfectly.

This is a complaint I've heard several times lately, so I think it's something we should solve for 3.0.
The idea is to provide a menu entry (under Tools?) to let users easily come back to factory settings after a restart.
@goanpeca, would you mind to take a look at it?

Sure :+1:

So... the plan would be.
The restart method in spyder.py should have a named parameter by default reset=False, so that it can pass an extra argument to restart_app.py where we can first reset and then restart spyder.
Also I think we could have a soft reset and a hard reset, because some people cannot get spyder fixed when running reset, sometimes they need to fully erase .spyder

The restart method in spyder.py should have a named parameter by default reset=False, so that it can pass an extra argument to restart_app.py where we can first reset and then restart spyder.

+1

Also I think we could have a soft reset and a hard reset

Nop, the problem @dezember was having is that he couldn't call spyder --reset because our Mac app can't be called from the console like that. So he needed to remove ~/.spyder2by hand.

ok

I would really like to start working on some PRs, but I really would like to get the gitattributes issue solved soon....

We're basically waiting for @SylvainCorlay, who asked to not do it before we merge the FontAwesome PR :-)

Thanks, it is working.
spyder --reset


Small memory leak in iOS

First of all, thanks for all your effort with this plugin. While I was debugging our iOS app, we found a memory leak. I'm not that pro in debugging yet, but I think there needs to be some code added to the following file:
PluginMarker.m on line 1456
You need to add
[session finishTasksAndInvalidate]
See this thread:
https://stackoverflow.com/questions/21554987/nsurlsession-memory-leaks-occur-when-using-web-services-in-ios
Thanks again for your plugin!
I have question about the DOM analyzing. Do you check the whole DOM or only the DOM elements that are visible in the viewport?

Thank you for letting me know. I will test this.

Fixed. The code will be released in the next stable version.

No problem! Glad that I could help. I still have a question about the DOM watcher. Do you keep the whole DOM watched? Or only the elements that are visible in the viewport? If not, you could gain more performance by only checking elements that are visible. Thanks again for your plugin!

The plugin needs to know size and position of all HTML elements, in order to detect touch correctly.


FV:  The position of the camera frame is too close in relation to the text

Precondition:
The "Face verification" page is opened
Steps to reproduce:

Click the "ok, verify me" button at the bottom
Pay attention to the position of the camera frame in relation to the text

Actual result: The position of the camera frame is too close in relation to the text
Expected result: The distance should be greater between the camera frame and text
Checked on DEV env V0.22.1-0
Reproduced on:
Desktop: Windows 10 // Google Chrome 83.0.4103.61

The position of the camera frame is displayed well
Checked on DEV env V0.22.1-1
Desktop: Windows 10 // Google Chrome 83.0.4103.61


bundler 1.13.0 seems to break rails new

Don't know if it's a bundler problem or a Rails problem, so I'm double-reporting.   Gem::Source
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/bundler-1.13.0/lib/bundler/rubygems_ext.rb:65:in `extension_dir'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb:46:in `gem_build_complete_path'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:2170:in `missing_extensions?'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb:71:in `contains_requirable_file?'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `block in find_in_unresolved'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `each'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `find_all'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `find_in_unresolved'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:73:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/bundler-1.13.0/lib/bundler/rubygems_ext.rb:23:in `source'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/bundler-1.13.0/lib/bundler/rubygems_ext.rb:65:in `extension_dir'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb:46:in `gem_build_complete_path'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:2170:in `missing_extensions?'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/basic_specification.rb:71:in `contains_requirable_file?'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `block in find_in_unresolved'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `each'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `find_all'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/specification.rb:1067:in `find_in_unresolved'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:73:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/bundler-1.13.0/lib/bundler/rubygems_integration.rb:2:in `<top (required)>'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/bundler-1.13.0/lib/bundler.rb:11:in `<top (required)>'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/generators/app_base.rb:373:in `bundle_command'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/generators/app_base.rb:401:in `run_bundle'
	from (eval):1:in `run_bundle'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/commands/application.rb:17:in `<top (required)>'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/railties-<IP_ADDRESS>/lib/rails/cli.rb:14:in `<top (required)>'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /opt/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Users/jrochkind/.gem/ruby/2.3.1/gems/railties-<IP_ADDRESS>/exe/rails:9:in `<top (required)>'
	from /Users/jrochkind/.gem/ruby/2.3.1/bin/rails:23:in `load'
	from /Users/jrochkind/.gem/ruby/2.3.1/bin/rails:23:in `<main>'

What I expect to happen is NOT getting an uncaught exception backtrace as a result of running rails new.
does not happen with bundler 1.12, which seems to work fine.

perhaps this is related? #4944

This is fixed on master and should be released in 1.13.1 soon. Thanks!

thanks @segiddins


Implementation of SLF4J Should Be Left To Users Of java-nats-streaming

When used in a library that others will consume (java-nats-streaming, for example), logging implementation should be deferred to the consumer.
SLF4J agrees here: http://www.slf4j.org/codes.html#StaticLoggerBinder
Instead of requiring specific implementations of logging, java-nats-streaming should bind to "slf4j-api".

Michael, I'm not sure I follow. java-nats-streaming doesn't bind to any specific logging implementation. It does implicitly depend on slf4j-api (through jnats), but that's it.
When/where did you see otherwise? Maybe an older version of the examples?

When we call ConnectionFactory.createConnection we get the following:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

I think perhaps you misinterpreted what you read regarding StaticLoggerBinder. The error you're getting is because you have not bound a logger; slf4j prints the error and defaults to a no-op  implementation in this case. As stated on their page, if you don't care about logging and want to suppress this error, just put slf4j-nop.jar on your classpath, or if you do care about logging, place one of the many slf4j bindings on your classpath (e.g. log4j, jdk1.4, logback-classic, etc).

I have updated the README in both nats-io/jnats and nats-io/java-nats-streaming to include this info.

Agreed - I finally managed to sort through this and the issue wasn't yours.

Cool, glad you got it sorted!


fix(2fa): qrcode generation

Description
Fixes the qr code generation
Reverts to the change in version 2.x
$this->request->get('user') always returns NULL on my instance

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

Hey @tuanbinhtran thank you. This is indeed a regression.


Use protogen for typescript

[ ] https://github.com/improbable-eng/ts-protoc-gen

In v2 merge Ethcode doesn't use protos anymore


Problem looting / HOWTO

Thank you for the module. I run into some problems partially because I couldn't at first figure out how it should work :D

Do I need to manually turn every dead enemy in to loot sheet and give players access to them?

Took me a long time to actually figure out how my player can access the loot sheet in the first place, before I understood that I need to switch the sheet to loot sheet. Is there a setting (didn't find) or macro to do this automatically when enemies die?

I get an error for no active GM present when trying to loot the enemies.

After getting to the loot sheet, I tried to split the gold three ways and was instantly given a message that there is no active GM on your scene. I have a GM session running in my Foundry VTT app, like always, and was testing this module as a player in Chrome. I can see the GM logged in the lower left hand corner and if I open a new connection to the game, I can see that the GM option has been grayed out, so the game recognizes that there is an active GM connection, so what could be the root of this error?

I should prepare a video about the module to help with these parts, because it is simpler than people think it is.
I'll make a video to be clearer, but in advance
1- No. You don't need to change the file, you don't need to give authorization or anything. (maybe this is the reason for the second question)
2- It is probably due to the use of the module, it is very simple. but explaining something simple is usually laborious and I think a video works better.
I will record one in the next few days

I make a video (in my original language, but have legend)


Number of output from the mx.sym.SoftmaxOutput

I am training a model using CNN to classify images between class 1 and 0, but after prediction, I get number of classes equal to number of nodes in the fully connected layer which precedes the softmax layer
This is the code I use for building the model:
data = mx.sym.var('data')
conv1 = mx.sym.Convolution(data=data, kernel=(3,3), num_filter=6)
relu1 = mx.sym.Activation(data=conv1, act_type="relu")
pool1 = mx.sym.Pooling(data=relu1, pool_type="max", kernel=(2,2), stride=(2,2))
conv2 = mx.sym.Convolution(data=pool1, kernel=(6,6), num_filter=12)
relu2 = mx.sym.Activation(data=conv2, act_type="relu")
pool2 = mx.sym.Pooling(data=relu2, pool_type="max", kernel=(2,2), stride=(2,2))
flatten = mx.sym.flatten(data=pool2)
fc1 = mx.symbol.FullyConnected(data=flatten, num_hidden=48)
lenet = mx.sym.SoftmaxOutput(data=fc1,name='softmax')
lenet_model = mx.mod.Module(symbol=lenet, context=mx.cpu())
lenet_model.fit(train_iterator,
.....
num_epoch=10)
The solutions I tried to use to fix the problem:
1-
lables = mx.sym.Variable('softmax_label')
lenet = mx.sym.SoftmaxOutput(data=fc1,label=lables,name='softmax')

result:  did not fix the problem, still after prediciton the number probability coresponding to the classes=48

2-
lables = mx.sym.Variable('softmax_label')
lenet = mx.sym.SoftmaxOutput(data=fc1,label=lables, preserve_shape=True, name='softmax')

result:  did not fix the problem, still after prediciton the number probability coresponding to the classes=48

3-
lables = mx.sym.Variable('softmax_label')
lenet = mx.sym.SoftmaxOutput(data=fc1,label=lables,
preserve_shape=True,
multi_output=True, name='softmax')

result:  did not fix the problem, still after prediciton the number probability coresponding to the classes=48

4-
lables = [0,1]
lenet = mx.sym.SoftmaxOutput(data=fc1,label=lables,
preserve_shape=True,
multi_output=True, name='softmax')

result:  error, lables should be a symbole

5- adding an extra hidden layer after fc1and pass it to the softmax
extra_hidden_2nods = mx.symbol.FullyConnected(data=fc1, num_hidden=2)
lenet = mx.sym.SoftmaxOutput(data=extra_hidden_2nods, name='softmax')

result:  fixed the problem but this is not what I want

Environment info
I am using the last version of mxnet, python, anaconda, win10, cpu
Thanks in advance

what you need:
...
fc1_act = xxx
fc2 = mx.symbol.FullyConnected(data=fc1_act, num_hidden=2)
lenet = mx.sym.SoftmaxOutput(data=fc2,name='softmax')
...

@apache/mxnet-committers: This issue has been inactive for the past 90 days. It has no label and needs triage.
For general "how-to" questions, our user forum (and Chinese version) is a good place to get help.

Hi @EsraaRagaa are you still facing the same issue?

Thanks, I found that I should edit my network.


gha@v3 updates

Pull request questions
updating gh actions on a fresh cut of main

this was just exploratory