Unnecessary errors for JIRA connection.

Describe the bug
When clicking on the JIRA Plugin and the user is not connected two errors are shown:

Unknown Error
AccessTokenExpired

At least the first error it unneccessary, maybe even both error popups.
What part of Nexus is affected

[ ] Fusion
[ ] Delta
[ ] CLI
[ ] Documentation

To Reproduce
Steps to reproduce the behavior, e.g. for Fusion:

Go to any entity in the search
Click on 'JIRA'

Expected behavior
Ideally no error shown, as it is clear that the user must connect first
Screenshots

Additional context
User: adietz
Nexus Delta v1.8.0-M2
Nexus Fusion v1.8.0-M5

The Jira plugin has been removed as Jira supports now OAuth 2.0


fix: Nuxt instance unavailable in defineI18nConfig

🔗 Linked issue

#2548

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This should fix the issue of not being able to access the Nuxt instance in defineI18nConfig/Vue I18n config files. I added a test to confirm this, let me know if there are most cases to be tested.

📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Awesome 🥳. When will it be available?

This is included in the edge channel so you can try it by installing the latest edge release!

Much thanks for your job @BobbieGoede


About the learning rate

Hi,
I'm struggling to understand a particular piece of code regarding the optimizers here:
def configure_optimizers(self) -> Tuple[torch.optim.Optimizer, torch.optim.Optimizer]:
        """
        Setup model and distriminator Optimizers
        Returns:
            Tuple[torch.optim.Optimizer, torch.optim.Optimizer]: Model and discriminator optimizers
        """
        param_groups = [{'params': filter(lambda p: p.requires_grad, self.get_parameters()), 'lr': self.cfg.TRAIN.LR}]

        optimizer = torch.optim.AdamW(params=param_groups,
                                        # lr=self.cfg.TRAIN.LR,
                                        weight_decay=self.cfg.TRAIN.WEIGHT_DECAY)

May I ask why a learning rate warmup scheduler was not used?
I've read that training a from scratch transformer is quite difficult without some warmup so just curious.
Thanks!

I see there is no need with prenorm:
https://arxiv.org/abs/1910.05895


Add a point to line chart

hey, is there any way of adding a point, given an x and y values, to a line chart?
Thanks, Rui

Something like a scatter line? http://www.chartjs.org/docs/#line-chart-scatter-line-charts

What I need is to add a point to the chart in the image below. Didn't manage to get it working with scatter line. Do you have any suggestion @AdeelK93 ?

Closing for now. Please refer to the Chart.js documentation for questions around configuration and/or usage of the library. If you have a bug or enhancement related directly to Chart.js, please open an issue on their Github.


RelativeRotationSpriteTests need to be cleaned up significantly.

Other tests likely do too. Let's go ahead and clean this up.

Tolerances could be Variables (for Close_Fraction). Potentially add to stdafx.
predicate should be in fixture
names shouldn't lie (setScale(scaleFactor))
numbers shouldn't be hardcoded (sizes, positions, origins)

RelativeRotationSprite was removed with issue #205. Closing.


Zepto support

add test_jquery.sh and test_zepto.js
And also add zepto.js support with unit tests

I'm not sure that it's possible to monkey patch zepto as it is currently implemented to support $( template ), if zepto exposes a $.clean function then that would be the way to go. In the interim, you could redo the patch just supporting $.create and append/prepend etc.


Hard Coded Text in the Script on the Address Template.

At line 229 of the "customers/addresses.liquid" file we have a script that has the following hard-coded conditional statement
if (confirm(confirm_msg || "Are you sure you wish to delete this address?")) {
        Shopify.postLink('/account/addresses/'+id, {'parameters': {'_method': 'delete'}});
}

It looks like this value can be edited in "Checkout & Systems" translation page under the key "Confirm".
What happens if someone changes that value, will the script continue to run?

I just tested and it does delete the record, even if you change the alert message translation. So I'll close this.


Session archive view

Describe the solution you'd like
Design and implement a list of sessions from past Dev Days that is clearly different from the current event (grid/list).
Easy solution: list and detail views
Maybe folding elements

I created this wireframe for the archive list view. The icons on the right should only be visible if the corresponding talk.models.TalkMedia instance exists and has values in the youtube/slideshare/codelink fields.

@artifactdev Can you please provide some HTML structure/CSS styling for the new archive page? The current rough draft can be inspected on the test system.

@artifactdev thanks for styling the archive list view in #133. It would be great if the session detail pages for archived sessions would be recognizable as archived somehow too. It's a bit hard to tell that i.e. https://www.devday.de/devday16/talk/keynote-englisch-rationale-continuous-delivery/ is a session from a past year.

@jandd Like we wrote a PR is comming, needs some rework so the archive class can be set if it's not an actual talk.


[PROPOSAL] Bonfire

Describe your proposed improvement below in 150 words or fewer.
Create a bonfire that over time consumes the wood it was built from, and eventually destroys itself
Why is this a worthy improvement? How will fellow citizens benefit?
Who doesn't love a community bonfire?
In a Markdown list, detail the steps that you think you need to complete to implement this proposal.

Make a new set of intructions for bonfire
Include a function that destroys the bonfire over time
Add a feature that delets the bonfire once it has finished burning

What knowledge do you believe you are missing in order to execute this improvement.
Stuff with time, and destroying an object once it has been created

This is the wrong repository for filing these, @InsomniaLad  -- make this issue on your copy when you have a chance.


switch to two runs

I've been reading everything & anything I can, I want to know as much as possible.. excited!

I've been reading everything & anything I can, I want to know as much as possible.. excited!


CodeMirror plug-in collapse external links

version 0.2 Sanctum
The CodeMirror plug-in's collapse external links feature does not work at my end. I disabled all my plug-ins and snippets, to no avail.
This is the code I use as a workaround:
div:not(.CodeMirror-activeline) > .CodeMirror-line .cm-string.cm-url:not(.cm-formatting) {
    font-size: 0;
}
div:not(.CodeMirror-activeline) > .CodeMirror-line .cm-string.cm-url:not(.cm-formatting)::after {
    content: '🔗'; /* » */
    font-size: 1rem;
}

After talking to the plugin developer, it was concluded that it was a plugin issue, and so I'll be closing this.


[Go Live][March 15]

Push to live

Docs Build status updates of commit 7f4340d:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/assets/images/adaptive-cards/channel-teams.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-admincenter.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-admincenterimage.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-devpreview.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-setuppolicies.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-switchtodevpreview.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/meeting-token-generator/meeting-token-generator-toggleOn.PNG
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/Global.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/Teams to do app.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/addtoteam.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/apppackage.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/basicdetails.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/channel.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/configure.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/connector.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/create.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/details.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/finaloutput.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/local-host.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/manageapp.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/manifest folder.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/manifest zip folder.PNG
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/manifest.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/manifestnavigation.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/messagecard.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/mobile.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/ngrok.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/ngrok1.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/notification.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/open.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/output.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/sln.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/taskportal.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/tasks.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/update.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/upload.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/web.PNG
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/webnavigation.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-connector/zip.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-meetings-stage-view/clone repository.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-meetings-stage-view/meeting-token-generator-admincenter.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-meetings-stage-view/meeting-token-generator-devpreview.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/sbs-meetings-stage-view/mobile.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/tabs/personaltab.png
:white_check_mark:Succeeded
View

msteams-platform/assets/images/tabs/tabs.png
:white_check_mark:Succeeded
View

msteams-platform/bots/how-to/authentication/add-authentication.md
:white_check_mark:Succeeded
View

msteams-platform/mstdd-landing.yml
:white_check_mark:Succeeded
View

msteams-platform/resources/dev-preview/developer-preview-intro.md
:white_check_mark:Succeeded
View

msteams-platform/sbs-teams-connectors.yml
:white_check_mark:Succeeded
View

msteams-platform/tabs/what-are-tabs.md
:white_check_mark:Succeeded
View

This comment lists only the first 50 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Undo redo command 2

LogicManager and Parser outdated, rebased before the pull request 128 was merged

@potatowagon What's this PR for?

its the rebase for undo redo

@potatowagon The Parser is master now is totally different though.

will it affect the way LogicManager works?

i guess i will have to make an undo and redo cmd lineparse file, will rebase asap

@potatowagon Thankfully, I don't think there are any more big changes tonight :-)

Merged as 1cd305326152266d0416c4af0f3185f873b4c791


Add a creative pre-loader in website

Use the logo of the website and apply some creative effects

Can I work on this issue @QAZIMAAZARSHAD

Please assign this issue to me @QAZIMAAZARSHAD

Please assign this issue to me @QAZIMAAZARSHAD

This is already assigned.
Look for up for grab level in other issues. I will assign you that issues.

@Kjp04 any updates?

I made few changes please let me know are the conflicts resolved?

I made few changes please let me know are the conflicts resolved?

No.
Your repo is 150 commits behind. Fetch upstream.
And share a link of your website so I can review your changes.

I will make the required changes
Thank you!
On Tue, 20 Jul, 2021, 1:01 pm Qazi Maaz Arshad, @.***>
wrote:

I made few changes please let me know are the conflicts resolved?
No.
Your repo is 150 commits behind. Fetch upstream.
And share a link of your website so I can review your changes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QAZIMAAZARSHAD/Apni-Dukaan/issues/19#issuecomment-883164653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANF56XX6BARJAUAA7YJ2YQLTYUQ5LANCNFSM47NCPT6A
.


ActiveRecord::SchemaDumper.dump

Hello! Thanks for the library.  I really like the idea of having something that reflects the production schema. Do you instead use some kind of PostgreSQL schema dump for creating the test database schema?

There's an option you can set in your Rails environment called config.active_record.schema_format that you can set to :sql and Rails will dump the database out using pg_dump instead of the ActiveRecord schema dumper. This extension doesn't build schema.rb yet and likely won't for the foreseeable future, as the idea is more to be able to use nicer Ruby syntax than having to put execute statements all over the place in your migrations.
Give that a shot, 'cause it's worked well for us. Just set it in environment.rb or whatever and you'll be good to go. A file called development_structure.sql should appear in your db/ directory that will contain the schema structure that pg_dump spits out.


Resources don't validate they have the prerequisite - WindowsFeature AD-Domain-Services

We should make sure we give a clear error message when this pre-requisite is not met so that it is easy to troubleshoot.

@TravisEz13 PR #60 should now have resolved this..


Choose a device by default

When trying to compile firmware on Dev, the user is forced to select a device manually to ensure compiling works properly. If a device is not selected, the user will receive compiling errors that are not related to issues with their firmware, but simply a lack of a device to build for.
For instance,

Instead, when Particle Dev opens, we should select the last-flashed device by default. If there isn't a last-flashed device, sort by whether the device is online and choose the first one as a default

Fixed with https://github.com/spark/particle-dev/releases/tag/v0.1.18


[SYSTEMDS-501] Documentation webpage framework

The Basic documentation framework from gh-pages back on master branch
removing all previous except basic design.
If possible i would like that the API docs are generated and not pushed like this. but if we can't find a better solution we will keep this one.
This is as disscussed in PRs #949  #922
and dev mailing list.
http://mail-archives.apache.org/mod_mbox/systemml-dev/202006.mbox/<f787ae9d276247e4a95f7271cc53364d%40tugraz.at>

If you want to see how it looks go to: https://baunsgaard.github.io/systemds/


Ability to set a default answer for any question

I'd like to set a default answer for each question, so the user can click next without selecting anything if the default answer is good enough. Is this currently possible? If not, are there any plans to provide this functionality?
By the way, surveyjs is awesome!!

@lionelmace you may set the data for your questions that have default answers. Here is the example that shows how to do it.
Thank you,
Andrew


Modify and migrate binary ops to support new infra changes to ttnn::Shape

The binary composite ops - outer, scatter, polyval - which were merged to main had to be removed due infra changes to ttnn::Shape
Goal: To re-implement https://github.com/tenstorrent/tt-metal/pull/10660 with support to the new ttnn::Shape

Merged #10828


Maybe this project can be replaced by new quasar tools?

https://quasar.dev/quasar-utils/color-utils#helper-getpalettecolor


Custom shutdown message

Raftify is now able to distinguish between intended and crash- or timeout-related leave events. This allows it to immediately adjust the quorum for intended leave events instead of having to wait for the dead nodes to be kicked out of the cluster.

Codecov Report

Merging #4 into master will decrease coverage by 1.91%.
The diff coverage is 65.43%.

@@            Coverage Diff             @@
##           master       #4      +/-   ##
==========================================
- Coverage   67.98%   66.06%   -1.92%
==========================================
  Files          15       15
  Lines         812      881      +69
==========================================
+ Hits          552      582      +30
- Misses        198      233      +35
- Partials       62       66       +4

Impacted Files
Coverage Δ

candidate.go
27.69% <0.00%> (-8.03%)
:arrow_down:

leader.go
47.29% <50.00%> (-12.71%)
:arrow_down:

precandidate.go
45.31% <58.33%> (-1.86%)
:arrow_down:

follower.go
67.79% <70.00%> (-0.21%)
:arrow_down:

messages.go
72.18% <80.00%> (+0.99%)
:arrow_up:

config.go
87.17% <100.00%> (ø)

handlers.go
40.65% <100.00%> (+5.25%)
:arrow_up:

node.go
87.96% <100.00%> (-1.35%)
:arrow_down:

shutdown.go
63.15% <100.00%> (+4.33%)
:arrow_up:

types.go
100.00% <100.00%> (ø)

... and 2 more

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 e27a418...b1dc820. Read the comment docs.


 does not support the style prop in TypeScript

There are examples in the Thumbprint docs for the Image component that use the style prop to set the image width.

Currently, a TS error occurs if you try to add such a style prop to the <Image> component:

@danoc any thoughts on this? We use the style attribute in the layout.tsx file I do not see the TS error locally. I also don't see the issue in the frontend repo when making changes to existing Image imports.

The Image import in layout.tsx is for next/image, not the thumbprint <Image>. I can't find any usage of the thumbprint <Image> in a tsx file in the frontend repo (other than the one I just added in review-item-photos.tsx).

Thanks for the report. I made a fix for it in #944.


New hook for when user clicks on portal

Not sure how to catch the even when a user clicks on a portal. I don't think there's a hook implemented. I thought portalDetailsUpdated could be the one, but that is fired every time a user drags the screen around.

This is implemented via portalSelected now, right?


ideas for additions to project

changed long timestamp to long long timestamp

latest commit adds RMSE output at end of code. Students still have to finish the RMSE function. NIS also gets outputted into the output file and the output file now has header columns.

this needs to be split into two PRs. one should handle the long -> long long transition, which will get approved ASAP. the other should handle the addition of ground truth. I want to take a closer look at the latter and I don't want to block fixing long long on it

need to kill this PR. half of it has already been merged into master in a different PR. I'm going to cherry pick 	52efb0e out and resubmit as a new PR


Typechecker should account for 'op' when escalating

At the moment, the Typechecker methods escalate and escalateLeft are operator independent.  This worked when we were dealing with simple types and simple arithmetic, but is no longer the case.  For example Int & Int makes sense, while Float & Int does not.  The match statement in escalateLeft should include a test for the operator.

Fixed in 6822fdc424e5e396fcde46c3ed108b5c229d2b9c


Only show "Do you want to add decoys" message if the document has at least 25 peptides

Changed so that the "Do you want to add decoys" message only gets shown when importing results if the document has at least 25 peptides in it.

Still have things to work out.


{{FORK}}

Not seen head nor tail of boothale in many months, so I have now forked this project a bit more firmly.
My repo is over here: https://github.com/Deer-Spangle/faexport
I should see issues and PRs filed in either place.
There's a public and updated copy of the API up here: http://faexport.spangle.org.uk
I am tempted to do some refactoring, but I will try my best to ensure backward compatibility at every stage

Hey, I tried to open an issue on your fork, but it looks like you have issues disabled or something.
I'm receiving 503 errors with both the old version and your fork. I think Fur Affinity may be restricting requests due to the recent DDoS attacks.

Ahh, whoops, I didn't realise that forks have issues disabled by default! Enabled them now, sorry about that
Yeah, with the ddos in action and cloudflare  protection up, the api can't access the site. I should make that error more clear, ideally.
Hopefully the ddos should end soon and things should work again, if it drags on a bit longer, I think can put a temporary bypass in place that will allow the api to keep working.
It might be nice in future to try and do that bypass automatically also, but it is slow and it's not 100%

There we go, FA is back now, but stuck under cloudflare DDoS protection, so I've spun up a bypass container and got http://faexport.spangle.org.uk working again.
It will be very slow, takes 5 seconds to solve the cloudflare protection, so bear that in mind.

Boothale returned, and has tranferred the root repository to me! So I've merged in all changes now, and the fork is unecessary

Glad to see Boothale return, even if it was just to transfer ownership

Yes, I was very glad to hear from boothale! Has had a busy year apparently


Handle IOException properly, while closing SSL socket

One minor issue (or inconvenience) I bumped into - IOException, when I try to disconnect ChromeCast object.
Brief debug got me to the point, that the SSL Socket is closed in the Channel.java, while corresponding InputStream is waiting for read() operation. Even though the "stop" flag in the ReadThread class instance is set, the run method never gets to "while (!stop)" check due to IOException caused by socket.close().

Merged, thank you very much.


Add G-code streaming feature upon file upload

Is your feature request related to a problem? Please describe:
Yes. For some firmware types, such as Marlin, file uploads don't work as expected. I observed that when I send an entire G-code file at once only the first 8 commands actually get executed. After some research I discovered that this is because the Marlin firmware will only queue 8 commands at a time, the rest of the commands get discarded because they arrive before the printer has had time to run the commands it has already received. I believe the queue limit can be increased but doing so has a negative impact on the printers overall performance because it uses up memory so I don't want that to be the solution. For more detail read this comment on issue #2.
Describe the solution you'd like to see:
It would be great to develop a streaming function that will send the commands one at a time, only sending the next one after the previous one has been executed.
Describe alternatives you've considered:
N/A
Additional Information:
This can be done by proceeding the file with a M111 S1 command.

Done


GH-397: Error Handling Docs

Resolves https://github.com/spring-projects/spring-kafka/issues/397

Cool!
Just wanted to jump into this issue to fix for tomorrow's release 😄

I think this can be cherry-picked to 1.3.x too.

... and cherry-picked to 1.3.x as https://github.com/spring-projects/spring-kafka/commit/476e09caedc292585df8442f6c89e4f1476f8e6e


cmd/go: go clean --fuzzcache failure in TestScript/test_fuzz_limit_dup_entry

#!watchflakes
post <- pkg == "cmd/go" && `go clean --fuzzcache: exit status`

Pulled out from https://github.com/golang/go/issues/55311#issuecomment-1469087280.
I think the fix is to set env GOCACHE=$WORK/cache or similar explicitly in script tests that need a clean fuzzcache.

@rolandshoemaker, was this fixed by CL 59062?

It seems so 🎉.


Account recovery API properties are not documented

With regard to the account-recovery APIs, the request is stated as follows (ex: recover-password)
curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -d '{"user": {"username": "[USERNAME]","realm": "[USER STORE NAME]","tenant-domain":"[TENANT DOMAIN NAME]"},"properties": []}' "https://localhost:9443/api/identity/recovery/v0.9/recover-password?type=email&notify=true"

However, the expected structure of the properties is not specified.
{
    "user": {
        "username": "user1"
    },
    "properties": [
        {
            "key": "KEY",
            "value": "VALUE"
        }
    ]
}

Moreover, the applicable values for the key are not listed either (Ex: callback).
"properties": [
        {
            "key": "callback",
            "value": "callBackURL"
        }
    ]

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Update windows-iot-enterprise.md

Docs Build status updates of commit 13be5f9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/windows-iot-enterprise.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


chore(build): setup project

Set up the following project items:

Linters
Tests
Coverage Reporting
Docs
CI Workflows
Pre-Commit Hooks

:tada: This PR is included in version 1.0.0-dev.1 :tada:
The release is available on:

v1.0.0-dev.1
GitHub release

Your semantic-release bot :package::rocket:


Create default animations

include within the gltf file for a model, an animation obtained by moving the first rotational coordinate along its range. Eventually this will be replaced by arbitrary motions and/or user choice of what sliders/motions to create. The goal was to setup the machinery to create model animations for the future and to test performance, develop movie recording downstream.

Thanks @AlbertoCasasOrtiz


cucumber-expressions: regexp bug - parentheses in character class regex

Summary
A regular expression for a step definition is not generating the correct step parameters
Current Behavior
I have the following regexp for a step in my project
/^an example step: ([A-Z_, ()]+)$/

Should match and return correct parameters for
an example step: VALUE_ONE, VALUE_TWO (ABC)
Currently it matches, but returns undefined for the step parameter
Possible Solution
We are able to change our regexp to match step in passing test (mentioned below), however I feel like this should still be fixed as it used to work in older version of cucumber
Steps to Reproduce (for bugs)
I have managed to produce a failing test in
https://github.com/cucumber/cucumber-expressions-javascript
Add the following lines to https://github.com/cucumber/cucumber-expressions-javascript/blob/master/test/regular_expression_test.js
  it.only('this test fails', function() {
    const parameterRegistry = new ParameterTypeRegistry()
    const expr = /^the chart has settings with following drawings: ([A-Z_, ()]+)$/
    const expression = new RegularExpression(expr, parameterRegistry)

    const args = expression.match(
      'the chart has settings with following drawings: TREND_LINE, TREND_LINE (MACD)'
    )

    assert.equal(args[0].getValue(), 'TREND_LINE, TREND_LINE (MACD)')
  })

  it.only('this test passes', function() {
    const parameterRegistry = new ParameterTypeRegistry()
    const expr = /^the chart has settings with following drawings: (.*)$/
    const expression = new RegularExpression(expr, parameterRegistry)

    const args = expression.match(
      'the chart has settings with following drawings: TREND_LINE, TREND_LINE (MACD)'
    )

    assert.equal(args[0].getValue(), 'TREND_LINE, TREND_LINE (MACD)')
  })

Context & Motivation
We're upgrading from a really old version of cucumber-js (0.5.3)
This used to work with the old version and seems like a regression
Your Environment
<EMAIL_ADDRESS>in the browser
Any help would be appreciated
Thank you in advance!

Thanks for the very detailed bug report @spicalous! I have an idea what the problem might be. I'll be working on a fix.

Thanks @aslakhellesoy ! Let me know if I can be of any help :)

@aslakhellesoy Could you help me confirm if there is also an issue in the underlying becke-ch--regex--s0-0-v1--base--pl--lib Regex library?
It seems like when I create a simple capturing group
const Regex = require('becke-ch--regex--s0-0-v1--base--pl--lib')
console.log(new Regex(/c (cucumber)/).exec('c (cucumber)'))
console.log(new Regex(/c (.*)/).exec('c (cucumber)'))

both produce different output
In chrome, this would have the same output
console.log('c cucumber'.match(/c (cucumber)/));
console.log('c cucumber'.match(/c (.*)/));

@spicalous See above - I've reproduced and fixed the bug (in Java). Do you think you can port it to some of the other languages?

@aslakhellesoy Nice! I will give it a go tomorrow evening, thanks! 👍

#463 JS implemention added! :)

Wasn't this fixed in 6.0.2?

You're right @luke-hill - my bad


Request: make text files in iOS Files editable

I can view Files in the Keybase iOS app, but ones like markdown files are not editable. I would like to either be able to edit in kb on iOS, or, be able to "round trip edit" with an app like Editorial.
My use case is, I keep a lot of markdown docs in a Dropbox folder on my Mac, Windows, Linux systems and on iPhone. I edit in vim or Vnote in the OS's and in Editorial on iOS. I would like to be able to stop using Dropbox, if I can only search and edit files on kb iOS app "Files" section.

Same. Any news? Without this keybase cannot be use a safe note storage


solver puts playthrough in spoiler

puts something like this in the spoiler:
spaceport:
sphere:
    get Missile from Torpedo Bay
sphere:
    get Speed Ball from Gantry
    get Gravity Boots from Weapon Locker
 - fall from spaceport -
sphere:
    get Morph Ball from Ocean Shore: bottom
    get HiJump from Vulnar Caves Entrance
sphere:
    get Bombs from Ocean Shore: top
    get Energy Tank from Sandy Cache
    get Energy Tank from Trophobiotic Chamber
sphere:
    get X-Ray Scope from Arena
    get Plasma Beam from Causeway Overlook
    get Energy Tank from Crypt
    get Screw Attack from Hall Of The Elders
    get Space Jump from Path Of Swords
    get Energy Tank from Warrior Shrine: AmmoTank top
    get Energy Tank from Antelier
    get Super Missile from Equipment Locker
    get Charge Beam from Loading Dock Storage Area
sphere:
    get Gravity Suit from Impact Crater Overlook
sphere:
    get Energy Tank from Sandy Burrow: AmmoTank
    get Dark Visor from Sandy Gully
    get Speed Booster from West Spore Field
    get Ice Beam from Central Corridor: right
    get Wave Beam from Chamber Of Wind
    get Energy Tank from Containment Area
    get Spazer from Foundry
sphere:
    get Energy Tank from Shrine Of The Penumbra
    get Energy Tank from Eribium Apparatus Room
    get Varia Suit from Waste Processing
    get Energy Tank from Mining Site 1
    get Grapple Beam from Crocomire's Lair
    get Metroid Suit from Water Garden
    get Hypercharge from Armory Cache 2
    get Energy Tank from Armory Cache 3

What's funny is, while amoeba is for some reason obsessed with wave beam in the space port, it is not a very viable progression item considering the rest of the early game. It would basically force a Missile/Super, Morph, and GravityBoots to all appear immediately on the ground, and as I'm thinking about it, it probably would need to be morph at vulnar caves entrance, with boots and Missile/Super at ocean shore and burrow. Supers in the spaceport is kind of a funny opening because it opens up ready room but generally just makes the seed easier.

Here's the beginning of one of the spoilers I saw in my assumed fill testing:
 - spaceport -
sphere:
    get Wave Beam from Torpedo Bay
 - fall from spaceport -
sphere:
    get Gravity Boots from Ocean Shore: bottom
sphere:
    get Missile from Subterranean Burrow
sphere:
    get Morph Ball from Vulnar Caves Entrance


Documentation and notebooks on Visualizing sadie annotations in genbank

Minor edits on Sadie documentation
added notebook on how to generate the GenBank annotations
Added a section on Annotating and Visualizing Sadie annotation with GenBank

@kipkurui Can you please create another pull request, but to the development branch after the changes have been made? The pypi workflow needs a pull request from one of the upstream repo branches in order to bump the tag.


[1.14.x] Bump Quarkus version to 2.5.0.Final

Please review and merge
Related PRs:

https://github.com/kiegroup/kogito-runtimes/pull/1733
https://github.com/kiegroup/kogito-apps/pull/1124
https://github.com/kiegroup/optaplanner/pull/1682
https://github.com/kiegroup/optaplanner-quickstarts/pull/232
https://github.com/kiegroup/kogito-examples/pull/985

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-vehicle-routing check has failed. Please check the logs.

The (build) optaplanner-quickstarts check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

jenkins rerun apps tests

wrong branch for apps
jenkins rerun apps tests

jenkins rerun apps tests

jenkins rerun apps tests

jenkins rerun kogito-apps tests


Change GreenhouseGas individuals to classes

closes #56.
Adds classes:
PortionOfCarbonDioxide (CO2): Carbon dioxide is a portion of matter with the chemical formula CO2. It is a gas that occurs naturally in the atmosphere as a trace gas and it is a greenhouse gas.
PortionOfMethane (CH4): Methane is a portion of matter with the chemical formular CH4. It is a gas that occurs naturally in the atmosphere as a trace gas and it is a greenhouse gas. As it can be oxidised it is a fuel.
PortionOfNitrousOxide (N2O): Nitrous oxide is a portion of matter with the chemical formula N2O. It is a gas that occurs naturally in the atmosphere as a trace gas and it is a greenhouse gas.
PortionOfSulphurHexafluoride (SF6): Sulphur hexafluoride is a portion of matter with the chemical formula SF6. It is a potent greenhouse gas from anthropogenic origin.
PortionOfNitrogenTrifluoride (NF3): Nitrogen trifluoride is a portion of matter with the chemical formula NF3. It is a potent greenhouse gas from anthropogenic origin.
Adds individual:
antropogenic (individual of type origin):"x is anthropogenic if it was created by human activity."?
Deletes individuals:

CarbonDioxide, CO2
Methane, CH4
NitrousOxide, N2O
SulphurHexafluoride, SF6
NitrogenTrifluoride, NF3

I additionally saw that Hydrofluorocarbon and Perfluorocarbon were direct subclasses of FluorinatedGreenhouseGas instead of PortionOfMater so I changed them like I changed the classes above, they already had defs.

Delete HFC and PFC and make those abbreviations alternative terms of the Hydrofluorocarbon and Perfluorocarbon
add prefix PortionOf to Hydrofluorocarbon and Perfluorocarbon and move them to PortionOfMatter
delete duplicate individuals of them

Additionally to what I have commented on specific code parts two general things:

'has_origin anthropogenic' is missing for the fluorinated greenhouse gases.
The equivalent classes for CarbonDioxide, Methane and NitrousOxide as subclasses of GreenhouseGas and the equivalent classes for Hydrofluorocarbon, NitrogenTrifluoride, Perfluorocarbon and SulphurHexafluoride as subclasses of FluorinatedGreenhouseGas are missing. These are needed to keep the structure within greenhouse gases.

I added the origin but don't understand why the equivalent classes that were just Abbreviations are needed for the structure. I added them as alternative terms because they dont represent new concepts, just new words.

Additionally to what I have commented on specific code parts two general things:

'has_origin anthropogenic' is missing for the fluorinated greenhouse gases.
The equivalent classes for CarbonDioxide, Methane and NitrousOxide as subclasses of GreenhouseGas and the equivalent classes for Hydrofluorocarbon, NitrogenTrifluoride, Perfluorocarbon and SulphurHexafluoride as subclasses of FluorinatedGreenhouseGas are missing. These are needed to keep the structure within greenhouse gases.

I added the origin but don't understand why the equivalent classes that were just abbreviations are needed for the structure. I added them as alternative terms because they dont represent new concepts, just new words.

I am not talking about the abbreviations but the classes with full names. If we move the greenhouse gases to PortionOfMatter we need the equivalents as subclasses of GreenhouseGas. Else we break again something existing.

Those gases are PortionsOfMatter with the property/ disposition GreenhouseGas, it would be logically false to classify those material entities as (immaterial) properties.
If we break sth by having moved them to PortionOfMatter that sth is also logically false and should be broken (but I dont see what that could be)

Please don't judge my art abilities. And that I visualised gas as a comic-style cloud. What I want to express is that we have "is a GreenhouseGas" currently as a property of a gas (like we have its origin as another example) and it would be false to take sth as material as a gas out of the material world and make it a property. Especially if we want to have it as sth material too.

The disposition would be something like GreenhouseExacerbator

We now have an equivalent class with all the GreenhouseGases and the disposition renamed to -Exacerbator. Please review again.

I am studying, working and modelling for about a decade now in the domain with a focus on greenhouse gases but I never heard of the terms greenhouse exacerbator or greenhouse gas exacerbator. So I do not think that this is a useful term.
A common term though is the greenhouse effect. We have that already in the definition of greenhouse gases. Couldn't we derive something from that instead of inventing a completely new term?

I am studying, working and modelling for about a decade now in the domain with a focus on greenhouse gases but I never heard of the terms greenhouse exacerbator or greenhouse gas exacerbator. So I do not think that this is a useful term.
A common term though is the greenhouse effect. We have that already in the definition of greenhouse gases. Couldn't we derive something from that instead of inventing a completely new term?

We could perhaps just call the relevant disposition GreenhouseEffect?

I associate with GreenhouseEffect a global phenomena and not a property of an object. This could lead to confusion

How about GreenhouseEffectContributor?

I associate with GreenhouseEffect a global phenomena and not a property of an object. This could lead to confusion

It is a global phenomenon but it is global because the greenhouse gases mix well with the main constituents of the atmosphere like nitrogen and oxygen.
It can be demonstrated that the effect is a property of the gas, e.g. in this television experiment from the 1970s: https://www.youtube.com/watch?v=lORAR1nvfjs (unfortunately only in German).

I associate with GreenhouseEffect a global phenomena and not a property of an object. This could lead to confusion

It is a global phenomenon but it is global because the greenhouse gases mix well with the main constituents of the atmosphere like nitrogen and oxygen.
It can be demonstrated that the effect is a property of the gas, e.g. in this television experiment from the 1970s: https://www.youtube.com/watch?v=lORAR1nvfjs (unfortunately only in German).

thanks that was a great video!

I'd be ok with GreenhouseEffect.

ok, I renamed to GreenhouseEffect and FlourinatedGreenhouseEffect (is that a correct term?)

Else I'd delete that second effect and just leave the subclass FluorinatedGreenhouseGases?

Yes.

so, should I rather define fluorinated greenhouse gases as all greenhouse gases that are of anthropogenic origin or as an exact list of its four types?

Fluorinated greenhouse gases is that subset of all greenhouse gases which are produced by fluorination. All fluorinated greenhouse gases are anthopogenic. The other greenhouse gases like carbon dioxide and methane can be anthropogenic but can also be natural.

ok we dont have an origin called fluorination right now, should we add it?

Fluorination is not an origin but an process.

ok then I‘ll just name them directly for now

ok, next review please :)

ok after implementing the changes from the February ontohack as written in the protocol (with some changes bc it was a bit messy from many changes) the new structure is as follows:
continuants

PortionOfGreenhouseGas:  PortionOfMatter that has the GreenhouseEffectDisposition.
GreenhouseEffectDisposition:  disposition of a gas to contribute to GreenhousegasEmission.

processes

Emission: process releasing byproducts from human activity (e.g. production, distribution or consumption) into the environment.

GreenhousegasEmission: Emission that releases a greenhouse gas.
Pollution: Emission with a negative effect on the environment or organisms.

NegativeEmission: process of absorbing a substance (that was emitted before, typically a pollution).

notes

I had thought about doing an own pull request for pollution but its all interconnected so I changed it here
the disposition is mainly for defining the equivalent class and can alternatively be replaced by some relation of the gases to the process
PortionOfGreenhouseGas will be renamed to GreenhouseGas when we delete the PortionOf prefixes

This is great but I would consider changing this definition slightly:

* **GreenhouseEffectDisposition**:  disposition of a gas to contribute to GreenhousegasEmission.

I think the greenhouse effect disposition is the disposition of a gas to contribute to the greehouse effect, when it is emitted into the atmosphere via an emission.

won't every GreenhousegasEmission contribute to the greenhouse effect?

won't every GreenhousegasEmission contribute to the greenhouse effect?

Yes but that still does not define what the nature of the disposition is. It's not a disposition to be emitted, it's a disposition to cause problems of a certain type once it has been emitted.

I agree with @jannahastings. Also because we have definition in circles here: PortionOfGreenhouseGas refers to GreenhouseEffectDisposition refers to GreenhousegasEmission refers to greenhouse gas ... I guess this is not a good idea.
I'd propose to work on the def for GreenhouseEffectDisposition and to break the circle.

ok, I implemented the new definition

I used this request to try out the 'term tracker item' annotation to add: "issue #56, pull request #234" to the upper classes.
What do you think of this notation, anything missing, or is just the issue enough?

@jannahastings ok, changes made


visual glitches in PNG and SVG when using ▄ character

Thanks for a great recording/playback tool! It's much nicer than posting GIFs for terminal recordings.
I noticed that in some cases the ASCII characters do not line up properly in the PNG and that the font adds additional padding around the ▄ character.
The issue I am running into is that I use ▄ to show 2 "pixels" with different colors. Unfortunately, that results in several graphical glitches on the web and is even weirder in the PNG screenshot. See example below:
Screencasts
Here is a screenshot of the "glitchy" SVG:

Here is the mangled PNG screenshot:

And here is an example of using   (space) instead, which works but results in a 4x larger recording:

I will keep using a   for my demos and recordings (more are at https://github.com/philschatz/puzzlescript-cli) but thought I would post in case others are running into similar issues.

Just wanted to call out this issue shows up even in "featured" casts like https://asciinema.org/a/423213.

It is related to line height, and terminalLineHeight option added in #175. It's worth a try but this would a best-effort option as it won't guarantee the same exact alignment of blocks (vs line height) across all platforms and browsers.
The only sure way of making blocks align would be to render them with canvas overlay or something in that vein, instead of relying on browsers' text rendering capabilities.


Error building example project

Bevy version
0.6.0
Operating system & version
macOS Big Sur 11.6,4
What you did
https://bevyengine.org/learn/book/getting-started/
I tried to run example following the instruction.
What you expected to happen
Example runs successfully
What actually happened
Build error while trying to build breakout(example).
Additional information
log is here
cargo run --example breakout
Compiling winit v0.26.1
Compiling gilrs-core v0.3.2
Compiling gltf-json v0.16.0
Compiling hexasphere v6.1.0
Compiling coreaudio-sys v0.2.9
error: failed to run custom build command for coreaudio-sys v0.2.9
Caused by:
process didn't exit successfully: /Users/yu/projects/bevy/target/debug/build/coreaudio-sys-73a049c00a254662/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=COREAUDIO_SDK_PATH
cargo:rustc-link-lib=framework=AudioUnit
cargo:rustc-link-lib=framework=CoreAudio
cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
--- stderr
coreaudio.h:1:10: fatal error: 'AudioUnit/AudioUnit.h' file not found
coreaudio.h:1:10: fatal error: 'AudioUnit/AudioUnit.h' file not found, err: true
thread 'main' panicked at 'unable to generate bindings: ()', /Users/yu/.cargo/registry/src/github.com-1ecc6299db9ec823/coreaudio-sys-0.2.9/build.rs:145:39
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed

Based on the error message, it looks like your issue is related the audio support. It suggests you need to install CoreAudio?
According to https://developer.apple.com/documentation/coreaudio, CoreAudio should be available for 'macOS 10.0+', although there doesn't seem to be a download link on that page.
As a workaround, you should be able to just disable the audio feature. Unfortunately, since cargo doesn't have a way to subtract features afaik, I think you need to use a command which lists out all the features individually:
$ cargo run --example breakout --no-default-features --features render,bevy_winit

The CoreAudio framework comes with macOS (it's a system API). However, the header files needed to link against it aren't installed by default. To get them, you need the Xcode Command Line Tools, which you can get by running
$ xcode-select --install

You don't need Xcode to install these tools, by the way. It also contains a C compiler and linker, both of which are needed to build the coreaudio-sys crate.


pulseaudio-modules-bt is deprecated

According to discussion at pulseaudio-modules-bt-git, quote message at 2021-02-08:

Upstream is deprecated, see https://github.com/EHfive/pulseaudio-modules-bt/issues/154. I am going to orphan this package.
You have 2 alternative options alongside with this:
PipeWire: A2DP (LDAC, AAC, aptX(-HD)) and HFP(mSBC) are working on stable release. (git package maintained by me: https://aur.archlinux.org/packages/pipewire-common-git/)
PulseAudio: A2DP (LDAC, AAC, aptX(-HD)) support is merged, no HFP support yet, but you need to use "git" package before a new stable version shipped

Moreover. According to Pulseaduio 15 release notes where added:

Support for LDAC and AptX bluetooth codecs, plus "SBC XQ" (SBC with higher-quality parameters)
Support for HFP bluetooth profiles
Support for Bluetooth A2DP AVRCP Absolute Volume


Using HDFS to backup and restore notebook

What is this PR for?
This PR supports using HDFS to backup and restore notebook.
It is similar to https://github.com/apache/zeppelin/pull/1479.
However this PR just use WebHDFS API, so we don't need to care about hadoop libraries' dependency.
What type of PR is it?
Improvement
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-1515
How should this be tested?
Set the variables in zeppelin-site.xml

zeppelin.notebook.storage : org.apache.zeppelin.notebook.repo.HDFSNotebookRepo
hdfs.url : Hadoop WebHDFS URL. default: http://localhost:50070/webhdfs/v1/
hdfs.user : HDFS user. default: hdfs
hdfs.maxlength : Maximum number of lines of results fetched. default: 100000
hdfs.notebook.dir : notebook location directory in HDFS. default: /tmp

After zeppelin daemon start, check the notebook directories in hdfs.notebook.dir.
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? Yes

@aspen01 thank you for contribution!
Could you please double-check that all new files, as any other file in Apache Zeppelin, have ASF's Apache 2.0 license header?
As for copyright notices, could you please help to understand if your contribution contains any third-party works or is that all code, developed for the ASF?
That would determine, if the existing copyright notice from the files should be moved to root NOTICE file or not. Thanks!

@aspen01 I wonder if any progress on this one?

@bzz Thank you for advice. But the build is failed even though I fixed license and checkstyle.

I see! This looks like something failing on the TravisCI side though.
Could you please rebase this branch on latest master and force-push it here again? This will trigger CI \w latest code\fixes from master.

Looks like you're missing a hotfix commit:
https://github.com/apache/zeppelin/commit/1c7d8fb0f7f8dd3cb6ce4837053c11c6453b5f18

Thank you @aspen01, @placeybordeaux
In order to be merged, this branch have to be rebased on top of the master, which itself already includes CI fixes, i.e 1c7d8fb.
This branch must not include any other commits, except for ones that implement "HDFS to backup and restore notebook" - edae7bc, d94eb16 need to be removed.

@placeybordeaux Thank you.
@bzz  Do you mean I have to to merge these commits to master not branch-0.6?

I committed this branch on latest master and force-push it.

Not sure why the CI hasn't kicked in, but I tried compiling this on my local and I am getting some test failures:
Results :

Failed tests:
  NotebookTest.testAbortParagraphStatusOnInterpreterRestart:760 expected:<ABORT> but was:<RUNNING>

Tests in error:
  HeliumApplicationFactoryTest.testUnloadOnInterpreterUnbind:232 » ClassCast jav...
  HeliumApplicationFactoryTest.testLoadRunUnloadApplication:148 » ClassCast java...
  HeliumApplicationFactoryTest.testUnloadOnInterpreterRestart:299 » ClassCast ja...
  HeliumApplicationFactoryTest.testUnloadOnParagraphRemove:193 » ClassCast java....

Tests run: 149, Failures: 1, Errors: 4, Skipped: 0

Not sure if these are related to the PR at all.

@placeybordeaux How did you build a package?
$ mvn clean package -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark -Psparkr -Pscala-2.10

...

Results :

Tests run: 66, Failures: 0, Errors: 0, Skipped: 0

...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19:23 min
[INFO] Finished at: 2017-01-11T23:00:58+09:00
[INFO] Final Memory: 160M/815M
[INFO] ------------------------------------------------------------------------

I built with mvn clean package, but got the same results with mvn clean package -Pspark-1.6 -Phadoop-2.6 -Pyarn -Ppyspark -Psparkr -Pscala-2.10. It's likely this is just a problem on my side.

Is this ready to be merged?

Seems overcomplicated for HDFSNotebookRepo to extend VFSNotebookRepo, and to be synchronizing the local FS with the remote FS.   Just implement NotebookRepo directly.

@EronWright  Thank you for your feedback. When I first developed the feature, I assumed that HDFS would not be used as default storage because remote FS failure could affect zeppelin usage. So extended VFSNotebookRepo to keep the default storage space on local FS and HDFS as backup storage for failover. This makes the implementation is simple, but it may have created complexity.
I'm using this feature, but I am also considering using a third-party storage such as HBase, because the latency of HDFS affects the latency of zeppelin notebooks.


vitest/expect-expect shouldn't require assertions for bench

Benchmark tests shouldn't require expect.
Reference: https://vitest.dev/guide/features.html#benchmarking-experimental
Test: https://github.com/veritem/eslint-plugin-vitest/blob/37c18b4d8656e73d746eed4a02e6e665358541d3/tests/no-standalone-expect.test.ts#L15

a pr is welcome


eeglab downloads 357.7MB for xdfimport plugin

This seems a bit crazy. The sample data file is (unzipped) 693MB. I think we can probably get away with a less than 10 MB sample data file.
The version eeglab provides is 1.13 but the github repo last's release is 1.12. I don't know how to get a release with a different datafile to the eeglab repo nor do I know how to get the eeglab plugin download tool to point to the github release.

Yes, this needs to be fixed. My version of XDF import is 113Kb (and it includes the binaries). How did you get that message. I just tried and it was 113kb?


The protection doesn't work integrated with Identity Server

I tried your code and it is working. I wanted to integrate the security with Identity Server and for this reason I changed Startup.cs like that (my folder under wwwroot is called infographics):
public class Startup
{
    public Startup(IConfiguration configuration)
    {
        Configuration = configuration;
    }

    public IConfiguration Configuration { get; }

    // This method gets called by the runtime. Use this method to add services to the container.
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddRazorPages(options => {
            options.Conventions.AuthorizePage("/Login");
        });

        services.Configure<IdentityServerConfiguration>(Configuration.GetSection("IdentityServerConfiguration"));

        services.AddDistributedMemoryCache();

        services.AddSession(options =>
        {
            options.Cookie.Name = ".my.Session";
            options.IdleTimeout = TimeSpan.FromHours(12);
        });

        services.AddAuthentication(options =>
        {
            options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
            options.DefaultChallengeScheme = "oidc";
        })
        .AddCookie(options =>
        {
            options.ExpireTimeSpan = TimeSpan.FromMinutes(30);
            options.Cookie.Name = "my.dashboard";
        })
        .AddOpenIdConnect("oidc", options =>
        {
            IdentityServerConfiguration idsrv = Configuration.GetSection("IdentityServerConfiguration").Get<IdentityServerConfiguration>();
            options.Authority = idsrv.Url;
            options.ClientId = idsrv.ClientId;
            options.ClientSecret = idsrv.ClientSecret;

            #if DEBUG
            options.RequireHttpsMetadata = false;
            #else
            options.RequireHttpsMetadata = true;
            #endif

            options.ResponseType = "code";

            options.Scope.Clear();
            options.Scope.Add("openid");
            options.Scope.Add("profile");
            options.Scope.Add("email");
            options.Scope.Add("roles");
            options.Scope.Add("offline_access");

            options.ClaimActions.MapJsonKey("role", "role", "role");

            options.GetClaimsFromUserInfoEndpoint = true;
            options.SaveTokens = true;

            options.SignedOutRedirectUri = "/";

            options.TokenValidationParameters = new TokenValidationParameters
            {
                NameClaimType = JwtClaimTypes.Name,
                RoleClaimType = JwtClaimTypes.Role,
            };
        });
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }
        else
        {
            app.UseExceptionHandler("/Error");
            // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
            app.UseHsts();
        }

        app.UseHttpsRedirection();

        app.UseAuthentication();

        app.UseStaticFiles(new StaticFileOptions
        {
            OnPrepareResponse = ctx =>
            {
                if (ctx.Context.Request.Path.StartsWithSegments("/infographics"))
                {
                    ctx.Context.Response.Headers.Add("Cache-Control", "no-store");

                    if (!ctx.Context.User.Identity.IsAuthenticated)
                    {
                        // respond HTTP 401 Unauthorized with empty body.
                        ctx.Context.Response.StatusCode = (int)HttpStatusCode.Unauthorized;
                        ctx.Context.Response.ContentLength = 0;
                        ctx.Context.Response.Body = Stream.Null;

                        // - or, redirect to another page. -
                        // ctx.Context.Response.Redirect("/");
                    }
                }
            }
        });

        app.UseRouting();

        app.UseAuthorization();

        app.UseEndpoints(endpoints =>
        {
            endpoints.MapRazorPages();
        });
    }
}

I'm using the Login page to redirect the user to the Identity Server login page and then back.
After this changes, everybody can access to the files in the secret folder. Any idea why?
Thank you in advance.
Update
This is working with not HTML files. I think the problem comes from the HTML file because they are static content for ASP.NET.
I put a breakpoint on the OnPrepareResponse and call the page infographics/index.html. The page is displayed (red arrow) and then the application stops on the breakpoint (blue arrow).

@erossini-chi
I have no idea about this problem at this time.
However, I guess it might not be the reason for this problem that the authentication method is OpenID Connect.
My biggest question about this issue is why the browser can gets static contents ("index.html") before "OnPrepareResponse" process it?
I have no answer for this my question at this time.


I18n not possible, config files for translations not loaded correctly

when adding i18n functionality for my website, I immediately got these errors
with my docker image frokm klakegg as well as the version locally installed
sven@kali:~/development/hugo$ hugo --verboseLog
Error: add site dependencies: load resources: loading translations: "/home/sven/development/hugo/i18n/de.yaml:1:1": failed to load translations: unsupported file format
Total in 2 ms
sven@kali:~/development/hugo$ make up
docker run  -it -v "/home/sven/development/hugo":/src -p 1313:1313 "klakegg/hugo:0.111.3-ext-asciidoctor" server  --disableFastRender --renderToDisk --verbose
Error: add site dependencies: load resources: loading translations: "/src/i18n/de.yaml:1:1": failed to load translations: unsupported file format int
make: *** [Makefile:11: up] Fehler 255
sven@kali:~/development/hugo$ hugo --debug
Error: add site dependencies: load resources: loading translations: "/home/sven/development/hugo/i18n/de.yaml:1:1": failed to load translations: unsupported file format
Total in 3 ms
sven@kali:~/development/hugo$ hugo --verbose
Error: add site dependencies: load resources: loading translations: "/home/sven/development/hugo/i18n/de.yaml:1:1": failed to load translations: unsupported file format int
Total in 2 ms

What version of Hugo are you using (hugo version)?

$ hugo version
hugo version
hugo v0.111.3+extended linux/amd64 BuildDate=2023-03-16T08:41:31Z VendorInfo=debian:0.111.3-1

### Does this issue reproduce with the latest release?
no tested yet

And this is what the file looks like:

params:
baseURL: "http://wehrend.uber.space/"
languageCode: "en-us"
title: "Bits & pieces - Sven Wehrend"
theme: "hugo-book"

menu:
  before:
  - name: "Web-Blog"
    url: "/posts/web/"
    weight: 10

menu:
  before:
  - name: "Synth-Blog"
    url: "/tags/synth/"
    weight: 20

Please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting. When you create a topic on the forum, make sure you provide a link to your project repository.

Dear Joe,
does that mean it is fixed in the current version?
I am limited to those docker releases from klagegg, and I think 0.111.3 was
the last version there.
Should I update it...?
Best,
Sven Wehrend
On Wed, Sep 4, 2024, 16:25 Joe Mooring @.***> wrote:

Please use the forum (https://discourse.gohugo.io/) for questions and
troubleshooting. When you create a topic on the forum, make sure you
provide a link to your project repository.
—
Reply to this email directly, view it on GitHub
https://github.com/gohugoio/hugo/issues/12826#issuecomment-2329215544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMEREGQTE2OFHSI2UHS3WDZU4J7FAVCNFSM6AAAAABNUMB4SSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRZGIYTKNJUGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

does that mean

What it means is, please use the forum (https://discourse.gohugo.io/) for questions and troubleshooting.


Add to 1.20.6

The question
Can You add CIT Resewn to version 1.20.6 please? thanks
Checklist

[X] I checked the issues(both open and closed) and could not find a duplicate of my question

For the record, 1.20.5/6 will not be getting a version.

https://github.com/SHsuperCM/CITResewn/pull/447#issuecomment-2330652371


CLI wallet does not unlock after bid expiration

Example with bid of 2 and locktime of 100 blocks.
> loadwallet [password]
Wallet loaded sucessfully!
> sync
Syncing wallet.. (138088/13808)
> bid 2 100 [password]
hash: [txid]
>startblockgenerator [txid]

Immediately after the last command, the CLI does not respond to input.
After the locktime of 100 blocks has passed, the CLI is expected to return control, but remains non-interactive.

Hmm, the console should return control right after running startblockgenerator. Could I ask you to do two things?

Tell me what platform you're running this on
If you haven't started the node up after closing it, sending the debug7000.log file in your node directory

In the meantime, I will try it on my end and see if it is reproducible.

@Rigorously Additionally, were you running the blindbid process? If not, that could be a possible explanation for why it got stuck.

Ubuntu 19.04 Disco Dingo
Concerning blindbid: I did not run blindbid. In issue https://github.com/dusk-network/dusk-blockchain/issues/3 you can see my shell history.
I am afraid debug7000.log has been overwritten and I forgot to make a backup. For what it is worth, here is an excerpt.
time="2019-07-28T05:37:41-04:00" level=info msg="Selected network  testnet"
time="2019-07-28T05:37:41-04:00" level=info msg="create new instance" prefix=mempool
time="2019-07-28T05:37:41-04:00" level=info msg="running with pool type hashmap" prefix=mempool
time="2019-07-28T05:37:41-04:00" level=debug msg="Accepting messages" id=770682363 topic=tx
time="2019-07-28T05:37:41-04:00" level=debug msg="Accepting messages" id=308979280 topic=acceptedblock
time="2019-07-28T05:37:41-04:00" level=debug msg="Accepting messages" id=3850181545 topic=candidate
time="2019-07-28T05:37:41-04:00" level=debug msg="Accepting messages" id=620705887 topic=certificate
time="2019-07-28T05:37:41-04:00" level=debug msg="Accepting messages" id=1735085716 topic=acceptedblock
time="2019-07-28T05:37:41-04:00" level=info msg="RPC server listening on port 9000" process=rpc
time="2019-07-28T05:37:46-04:00" level=debug msg="connected to voucher seeder" prefix=main
time="2019-07-28T05:37:46-04:00" level=debug msg="voucher seeder challenge completed" prefix=main
time="2019-07-28T05:37:46-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:46-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:46-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:47-04:00" level=debug msg="connection established" address="<IP_ADDRESS>:7000" process=server
time="2019-07-28T05:37:49-04:00" level=debug msg="block received" our height=13903 process=synchronizer received block height=16937
time="2019-07-28T05:37:49-04:00" level=debug msg="Start syncing from <IP_ADDRESS>:7000" process=synchronizer
time="2019-07-28T05:37:49-04:00" level=debug msg="Local tip: height 13903 [F0f4saW1zbstTSAez3fkW5HZ7Vx3kxmhvP7uRC3n+Tk=]" process=synchronizer
time="2019-07-28T05:37:49-04:00" level=debug msg="block received" our height=13903 process=synchronizer received block height=13904
time="2019-07-28T05:37:49-04:00" level=trace msg="procedure started" process="accept block"
time="2019-07-28T05:37:49-04:00" level=error msg="verifying the certificate failed: bls apk: Invalid Signature.\nG1Sig pair (length 384): 482390c44d8bbb78b8d9...\nApk H0(m) pair (length 384): 103e9287520287c70fc0..." process="accept block"
time="2019-07-28T05:37:49-04:00" level=warning msg="error when triggering callback" error="bls apk: Invalid Signature.\nG1Sig pair (length 384): 482390c44d8bbb78b8d9...\nApk H0(m) pair (length 384): 103e9287520287c70fc0..."  I'm quite certain the absence of blindbid caused the lockup here, as the block generation component currently immediately generates a first proof on startup. Afterwards it should return and continue in a goroutine, consequently giving back your console, but if it has no blindbid process to communicate with, it gets stuck waiting for a response the first time.
After you've re-built and re-synced your node (in accordance with #4), give it another shot with the blindbid process running and let me know if it still occurs. Would advise removing both chain and walletDB, though you can keep the wallet.dat file.

Looks like I missed this crucial line of the README.

If you wish to participate in consensus, it is necessary that you also build and run the blindbid executable, explained below.

You could say I am a bit blind.

I am unable to build dusk-blinedbidproof because it depends on bulletproofs on the private Gitlab repo.

You're right, I'll forward it to the team right away

@Rigorously The repo has just been updated - it should work now!

I noticed blindbid-avx2 and blindbid-mac are included now. I tried to build it from source too, but it fails on compiling 2 subtle feature attributes with a stable compiler.
Anyway.

Backed up wallet.dat.
Deleted everything.

$ go get github.com/dusk-network/dusk-blockchain
$ cd go/src/github.com/dusk-network/dusk-blockchain
$ make (this step is required, but not in the docs)
$ cd launch/testnet
$ ./testnet
> loadwallet [password]
Wallet loaded successfully!
Public Address: [myaddress]
- balance
Balance: 0.00000000

Of course.
Error!    You already submitted a faucet request in the past 24 hours. Please wait before requesting more Dusk.
Alright, something is telling me to take a break for the day.

I ran blindbid-avx2 in a separate console in the background and managed to successfully run startprovisioner and startblockgenerator. Control is given back to the user.
I confirm if the user does not have blindbid running and executes startblockgenerator, unlike startprovisioner, control is not given back to the user. In the latter case, an explanation and returning control would be desirable.

In the latter case, an explanation and returning control would be desirable.

Agreed, it is hard to understand what is going on at the moment. It is partially due to the use of the named pipe communications between the Rust process and the Go process, which makes it difficult for either process to know if the other is running.
I will adjust the flow of events for startblockgenerator to be more clear, verbose and make sure not to usurp control from the user in the case of no blindbid process running.


IndexedMerkleMap does not update the root inside ZkProgram method

@mitschabaude
According to https://github.com/o1-labs/o1js/blob/main/src/lib/provable/merkle-tree-indexed.ts#L41, we can pass MerkleMap directly to the ZkProgram method. Doing so works correctly when used with rawMethods (without proof calculation) but does not update the root and length of the Indexed MerkleMap when used with proofs.
The code to reproduce the issue:
import { describe, expect, it } from "@jest/globals";
import { Experimental, Field, ZkProgram, Cache } from "o1js";

const { IndexedMerkleMap } = Experimental;
const height = 3;
class MerkleMap extends IndexedMerkleMap(height) {}

const MapProgram = ZkProgram({
  name: "MapProgram",
  publicInput: Field,
  publicOutput: Field,
  methods: {
    insert: {
      privateInputs: [MerkleMap, Field, Field],

      async method(oldRoot: Field, map: MerkleMap, key: Field, value: Field) {
        map.root.assertEquals(oldRoot);
        map.insert(key, value);
        return map.root;
      },
    },
  },
});

describe("Map", () => {
  it(`should build the Indexed Merkle Map without proofs`, async () => {
    const map = new MerkleMap();
    const root = map.root;
    const step1 = await MapProgram.rawMethods.insert(
      root,
      map,
      Field(1),
      Field(2)
    );
    expect(step1.toBigInt()).toBe(map.root.toBigInt());
  });
  it(`should build the Indexed Merkle Map with proofs`, async () => {
    const map = new MerkleMap();
    const root = map.root;
    await MapProgram.compile({ cache: Cache.FileSystem("./cache") });
    console.log("map before:", {
      root: map.root.toJSON(),
      length: map.length.toJSON(),
      nodes: map.data.get().nodes,
      sortedLeaves: map.data.get().sortedLeaves,
    });
    const step1 = await MapProgram.insert(root, map, Field(1), Field(2));
    console.log("map after:", {
      root: map.root.toJSON(),
      length: map.length.toJSON(),
      nodes: map.data.get().nodes,
      sortedLeaves: map.data.get().sortedLeaves,
    });
    expect(step1.publicOutput.toBigInt()).toBe(map.root.toBigInt());
  });
});

The log:
[4:20:57 PM] map before: {
  root: '11424064169442499656248270967957466020056181284936027899258689782550997266764',
  length: '1',
  nodes: [
    [
<PHONE_NUMBER>5205012933270775512041100774922902129630782398682867600973342943653n
    ],
    [
<PHONE_NUMBER>0389110549889417520872236040881848908173047560091884295208630545258n
    ],
    [
<PHONE_NUMBER>9442499656248270967957466020056181284936027899258689782550997266764n
    ]
  ],
  sortedLeaves: [ { key: 0n, value: 0n, nextKey: 0n, index: 0 } ]
}
[4:21:09 PM] map after: {
  root: '11424064169442499656248270967957466020056181284936027899258689782550997266764',
  length: '1',
  nodes: [
    [
<PHONE_NUMBER>0813636529734057503003001761255023005895160991036382347279357583241n,
<PHONE_NUMBER>3797301377607267624407155506937202095849486381650364063349767768086n
    ],
    [
<PHONE_NUMBER>127276975935409848604683921263008880902249293868243195127772462995n
    ],
    [
<PHONE_NUMBER>1995568510587207701502469538471560106234225357427537690948886846724n
    ]
  ],
  sortedLeaves: [
    { key: 0n, value: 0n, nextKey: 1n, index: 0 },
    { key: 1n, value: 2n, nextKey: 0n, index: 1 }
  ]
}
 FAIL  tests/map.issue.test.ts
  Map
    ✓ should build the Indexed Merkle Map without proofs (11 ms)
    ✕ should build the Indexed Merkle Map with proofs (13861 ms)

  ● Map › should build the Indexed Merkle Map with proofs

    expect(received).toBe(expected) // Object.is equality

    Expected:<PHONE_NUMBER>9442499656248270967957466020056181284936027899258689782550997266764n
    Received:<PHONE_NUMBER>1995568510587207701502469538471560106234225357427537690948886846724n

      52 |       sortedLeaves: map.data.get().sortedLeaves,
      53 |     });
    > 54 |     expect(step1.publicOutput.toBigInt()).toBe(map.root.toBigInt());
         |                                           ^
      55 |   });
      56 | });
      57 |

      at Object.<anonymous> (tests/map.issue.test.ts:54:43)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 passed, 2 total
Snapshots:   0 total
Time:        14.492 s

Yes I'm aware of this, had the same problem in the offchain state implementation (this also shows a workaround)
https://github.com/o1-labs/o1js/blob/72a2779c6728e80e0c9d1462020347c954a0ffb5/src/lib/mina/actions/offchain-state-rollup.ts#L287-L292
I think it's ok that private proof inputs are not designed to be mutated - that's what return values are for.
So the solution for this issue will come once we enable zkprogram public outputs with auxiliary data. Then we can just return the entire merkle tree as output from the zkprogram, and it will have the updated content.

Thank you; this workaround works. I also got correct results by cloning the map, passing the cloned map to the ZkProgram, and repeating the same insert operation (that can be done with rawMethods to make sure that the code is the same) on the main map. But your workaround is much more efficient.


Does this work with res.send()?

I just tried running with res.send() and no gzipping. But when I used res.write(); res.end() it worked.

Can you post code I can use to reproduce? I tried it out and it works just fine with Express 4.12.3

Most likely your request is not greater than 1kb (please read the docs, requests lower than 1kb are not compressed by default since it's a waste and can actually make them larger. See https://github.com/expressjs/compression#threshold for how to alter this). When you use res.send() the content-length header is sent; when you use res.write + res.end and don't write out a content-length header yourself, this module does not know if your request is going to be over 1kb and will simply always compress.

Yea that makes sense. But it does mean there's a bit of difference between the 2 usages. Would be great if that was documented.

Please feel free to submit a PR with the documentation you desire :)

But TL;DR if you didn't already know there was a 1kb limit from the documentation, I'm not sure how you would have read the documentation regarding this behavior before asking, either... I'm always happy to answer questions, but the longer the documentation becomes, the less likely people are to read it.

Is it not possible to always calculate the Content-Length even if I'm using res.write(data); res.end()?
Right now I have observed that res.send(data) has an automatic content length. res.end(data) has an automatic content length. The only one that doesn't is res.write(data); res.end(). Isn't there some way of accumulating the write chunks and incrementally counting it?
I'm currently writing a middleware that is facing this problem of non-determinism depending on how the user decides to send out content (res.send vs res.end vs res.write&res.end).

There isn't unless we buffer up the data in memory. We have to know if the response is going to be compressed before we can write even the first chunk to the client. res.write is the "I know what I'm doing and want chunks". This is just how Node.js works and there is nothing that can change here. You can always create a fork of this module that buffer's chunked responses in memory, though it'll use a lot of memory and mean people can no longer stream large files from disk.
Just think how you're supposed to send a 4GB file: you call res.write for each chunk such that you don't have to read 4GB of data into memory at all once and crash your process. If this module were to buffer everything to calculate the size, then people's servers are going to crash. There is an absolutely standard way to indicate the size to this module: simply set the content-length response header...

This is, in fact, literally the reason Express offers the res.send method: because Node.js gives you very low-level things and you need to do a lot of work yourself to get things write. If all you wanted to do was write out a string, res.send from Express will do all the "boring" work for you like setting the status code, the ETag header, the Content-Length header, the Content-Type header and more. If you're not using that method, you pretty much need to implement that all yourself. You can always file a bug report with Node.js itself asking for automatic Content-Length calculation, and then it would be there for this module to read, but it's not something that will ever be adding to this module.

Just a question regarding the Content-Length: Is it the length of the gzipped data OR is it the length of the data before gzipping?

You set it to the length of the content you are writing to res; this module will manipulate the header for you. That's what is known as "separate of concerns" in computer science :) When you add the Content-Length header, you are only concerns with what you know: the length of the content you are writing. Something else (like this module) that transforms the response will handle updating any appropriate headers.

Yes but I want to know if my Content-Length is going the changed by your middleware? Can you give me a direct answer?

We remove the Content-Length header and send your response with Transfer-Encoding: chunked instead.

Ok thank you.

Can you give me a direct answer?

I literally directly answered your question and you threw in a second question. You asked:

Is it the length of the gzipped data OR is it the length of the data before gzipping?

I answered:

When you add the Content-Length header, you are only concerns with what you know: the length of the content you are writing.

This thread is locked, I'm sorry.


Treat DC Shutdown status as valid when STOP power delivery is requested

When an EVSE side shutdown is initated it's hard to tell from the controller point of view wich exact state is requested. So in WaitForPowerDeliveryReq we treat EVSE_SHUTDOWN and similar status codes as valid when the EV requested a stop.
Without this a FAILED_PowerDeliveryNotApplied will be responded wich is not expected at the EV side.

Thanks @mrbig , this seems to be a good catch. I agree.


Register error: Undefined variable: userEntity

the line 518 in /src/Controller/Component/UserToolComponent.php will not be executed in the case I submitted unsuccessful request because it will return from the line 515, this cause error with userData is undefined.

Could you please properly report how to reproduce the issue?

I resolved the problem as the following:
	public function register($options = []) {
		$options = Hash::merge($this->_config['registration'], $options);
		if ($options['enabled'] === false) {
			throw new NotFoundException();
		}
		$entity = $this->UserTable->newEntity();

		$return = false;                 // make return as a variable

		// Make the field accessible in the case the default entity class is used.
		$entity->accessible('confirm_password', true);
		if ($this->request->is('post')) {
			$entity = $this->UserTable->patchEntity($entity, $this->request->data());
			if ($this->UserTable->register($entity)) {
				$this->handleFlashAndRedirect('success', $options);
				if ($options['setEntity'] === true) {
					$this->_controller->set('usersEntity', $entity);
				}

				$return = true;    //dont return here, just set the value to true

			} else {
				$this->handleFlashAndRedirect('error', $options);
				if ($options['setEntity'] === true) {
					$this->_controller->set('usersEntity', $entity);
				}
			}
		}
        //this line will executed in all cases, no return before.
		if ($options['setEntity'] === true) {
			$this->_controller->set('userEntity', $entity);
			// BC
			$this->_controller->set('usersEntity', $entity);
		}

        //the return comes here
        return $return;
	}

I hope the issue is clear now, and sorry if my English is not very well :)

Can you please show the change as diff or create a pull request?

Fixed in the develop branch.

thanks

Sorry for my out of box question, but how can I use the develop branch?
I tried several times but didn't succeed

I urgently recommend you to read the composer manual. https://getcomposer.org/doc/
Composer is a common tool these days and Cake and almost all plugins use it.
composer require burzum/cakephp-user-tools dev-develop

But I've merged it into master as well and tagged 1.0.1 too.


:MerlinTypeOf raises error with some ReasonReact components

I just set this up with VimBox, and it seems to be working well except for :MerlinTypeOf.
Steps to reproduce
I'm not sure exactly how to reproduce, since occasionally :MerlinTypeOf works, but these steps seem to work.

Install the project (I'm using bs-platform 7.3)

bsb -init bs-sample -theme react-starter
cd bs-sample
npm i

Create an esy.json
{
  "devDependencies": {
    "ocaml": "4.6.x",
    "@opam/reason": "*",
    "@opam/merlin": "*"
  }
}

esy install
esy mvim .
npm run start

It seems to only consistently happen when a component is inside a nested module (I could be wrong). Add this to src/App.re:

module A = {
<EMAIL_ADDRESS>  let make = () => <div />;
};

Hover over make and type :MerlinTypeOf.
The output
Error detected while processing function merlin#TypeOf:
line    4:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
627, in vim_type_enclosing
    track_verbosity=True
  File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
173, in command2
    result = json.loads(merlin_exec(cmdline,input=content))
  File "/Users/x/.esy/3______________________________________________________________/i/opam__s__merlin-opam__c__3.3.4-9cf3482f/share/merlin/vim/autoload/merlin.py", line
137, in merlin_exec
    (response, errors) = process.communicate(input=input)
  File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 964, in communicate
    stdout, stderr = self._communicate(input, endtime, timeout)
  File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1755, in _communicate
    self.stdout.errors)
  File "/usr/local/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 841, in _translate_newlines
    data = data.decode(encoding, errors)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x84 in position 161: invalid start byte
line    5:
E121: Undefined variable: l:type
E116: Invalid arguments for function <SNR>167_ShowTypeEnclosing

Other information
All of the other Merlin features seem to work fine, go-to-location, autocomplete, etc.
Running :MerlinTypeOf works fine for other values in the same file, just not A.make.
In some modules in another project, running :MerlinTypeOf in any value inside a component function doesn't work. However I can't figure out the exact steps to reproduce that.
I'm still figuring out my Vim+Reason configuration, so I hope this isn't a user error. I'm happy to provide more information if necessary.

After some digging, I think this may be outside the scope of vim-reasonml, and may be a larger issue with Merlin and BuckleScript https://github.com/ocaml/merlin/issues/617


DynamicPool refactor

[X] Splits AllocationMap into MemoryMap (an L2-like array using FixedMallocPool) and defines iterators for all. The idea being that MemoryMap could be used inside other objects.
[ ] Refactors DynamcPool

I will make another PR with the changes as they are right now, to fix a bug @mcfadden8 has run into when testing.


Create vignettes

I have three vignettes in mind to demonstrate use of our app:
1.) Overview - What the project is and how it improves exploration of data repo contents, as well as the two general features of the app (static and interactive reports).
2.) Static report - What it is, why use it, and how to create it.
3.) Interactive report - What it is, why use it, and how to use it.
Once the app is working, I'll draft these up and send out for a round of comments/edits.

I'm happy to help you on the verbal description/purpose of things as well for the vignettes. Just let me know :)

Thanks for offering to help @CoastalPlainSoils. Would you like to lead this issue?

FYI @CoastalPlainSoils, the project metadata and website is built using R packages codemetar, devtools and  pkgdown. General workflow is:
# Update codemeta version of package metadata
codemetar::write_codemeta()

# Update function documentation and other package metadata
devtools::document()

# Update website
pkgdown::build_site()

You'll then need to commit these changes and push to the repo.

@clnsmth Awesome thank you, I plan to work on this Tuesday evening.

Note to selves...import these vignettes into about tab!

Working on this now at branch fix_26.

Done (see 57999e7ce7cd3842206b9cd964a169d7a26079e3).
NOTE: Screen shots will have to be updated prior to production release.


Bugfix: extrinsic is optional on event handlers

@Douglasacost just wondering if you could add tests to this project and simulate such cases (like the case of an event not linked to an extrinsic) as you learn about them? You could actually feed the actual event that you took from the crash case to the code in a test.

Will look how to test mapping handlers 👍


Delay missing tx envelopes

Added some commits to speed up our envelope handling, I am seeing some great numbers on my local runs.

MacOS green


fix: handle null/empty sources

UPDATE: issue was produced by @nuxtjs/composition-api-plugin incorrectly producing a sourcemap. Will address in there but it might be worth still handling an empty source.

Description
This PR updates the sourcemap support in vite to handle empty strings.
The issue I'm facing is the following error:
[vite] Internal server error: EISDIR: illegal operation on a directory, read

It is produced by attempting to read a directory path: sourceRoot + an empty sourcePath (= '').
Alternative solutions
We could just filter sources first for non-empty strings.
What is the purpose of this pull request?

[x] Bug fix

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

I think it may be better to filter sources first as you proposed as an alternative, the file path in map.file may not be related to a source, no?

Thanks for the PR @danielroe. I was thinking, do you believe it would be useful to log a warning in these cases? Since the original error helped you found an issue in nuxt source maps, that may have been harder to see if it fails silently.

@patak-js Yes, the error message could be something like Processing a sourcemap with no source filename. I imagine this would mostly be a library/dependency issue and hopefully would be caught in development of the library. Otherwise it might be a bit difficult to debug for a user.


Fixing snapshot version number.

Fixes # .
Did you remember to?

[ ] Add test case(s)
[ ] Update CHANGES.txt

ping @cbeust @juherr


Stabilize HTML build outputs

Some additional improvements to build/deploy performance.
It's been bothering me that the Netlify build often needs to redeploy thousands of files for no apparent reason after merging PRs that often don't change much. I've been diffing build outputs to understand why.

the react-select component library increments element ids internally by default. This is causing a problem because Gatsby builds using parallel worker threads that execute in an unpredictable order, so a page will very likely end up with a different select component id between each build. Explicitly setting the instanceId prop fixes the problem.
https://github.com/JedWatson/react-select/blob/c350a124f8de853a79e0158578d438a35e67e63e/packages/react-select/src/Select.tsx#L638-L639

the TopBar component that displays today's date is captured in HTML during the build phase. It creates some visual flickering because the date in the markup is often not the same as after hydration. It also forces every HTML page to be redeployed on a new build if the last build didn't happen on the same date (UTC). This PR only displays the date after React hydration to address the problem.

https://user-images.githubusercontent.com/4009209/206729522-5045becd-e87a-4277-a93e-ba62c40c0cb0.mp4

Migrating to Gatsby 5(#818) seem to have helped a bit too, but there's one remaining issue I've been tracking down where the only thing changing between a clean build and the following incremental build is the webpackCompilationHash value. See https://github.com/gatsbyjs/gatsby/issues/33450. The fix was a breaking change for Gatsby 4 and was supposed to be rolled out in v5 - but I think it might've slipped. Not much we can do about this for now.

Lovely!


[AutoPR security/resource-manager] rename folder paths for autorest code generation

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4562

This PR has been merged into https://github.com/Azure/azure-sdk-for-js/pull/582


Fix incorrect F1 keywords

Learn Build status updates of commit 5057def:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/relational-databases/system-dynamic-management-views/sys-dm-hadr-database-replica-states-transact-sql.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@rwestMSFT

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@zikato doing all my F1 hard work! Thanks for your contribution, as always.

#sign-off


Add Sylvain Corlay to the steering council list

See https://groups.google.com/forum/#!topic/jupyter/hyHZkRoVKZA for the announcement.
CC @SylvainCorlay - perhaps you could merge this?

@SylvainCorlay - the green button is right down there 👇

Haha thanks !

There is a typo is the last name of Matthias @carreau.


Cant use any feature

i am only being able to login, data of my account is fetching but whenever i try to use any other feature as listing post or something like that i always i get undefined, even tho i define it as you said.

Please provide an example of what you mean when you say you are getting undefined.

is there anyway i can contact you in private, as i have to share the code that i am using and other things so you can easily see whats the problem

DM me on Twitter: https://twitter.com/dotszdc

i cant send messages to you because you don't receive messages from people you don't follow
my twitter is: https://twitter.com/RobertFredj6485

User contacted me over Twitter and was being asked to sovle a captcha on login - I have only ever seen this come up after repeated failed login attempts, and the solution is to solve the captcha in-app and then resume your API calls.


Dashboard Updated

I've added some code reviews. Check them out once. Also, I think it would be better if you could use Argon's modal component for creating the form. If not, then create a separate FormModal component. A generic component for the same would be better.

Kindly post in the screenshots for the updated UI.


Cross domain tracking / PII redaction scenarios

https://trello.com/c/hRRSka2u/5-re-enable-cross-domain-tracking-3
Two main things happening here:

inspecting the URL query parameter when travelling from Digital Marketplace to GOV.UK (if analytics is enabled, a ?_ga=... parameter will be appended)
inspecting the requests sent to www.google-analytics.com (if analytics is enabled, any PII data such as emails should be redacted; if analytics is disabled or not set, nothing should be sent at all).

Co-authored with @phantas 🏆

@phantas looks very sensible to me! Will commit


MongoDB backup

Specifically looking for a guide for how to backup & restore the MongoDB data in Docker.

docker stop mongo.db
docker export -o mongodb.backup mongo.db


Security certification

Hello, do you have any security controls & certification which would allow us to use the plugin and your solution for the enterprise needs. E.g. something like SOC 2 certifications or similarly which handles customer data (code) with the granted level of privacy?

Hi,
Currently, we don't have SOC 2 or similar certification in place, nor has it been requested. Could you please provide more details on the specific use cases or functionalities regarding how you intend to use the extension?

We would like to use the CodeGPT plugin (with own openai API key) for the development purposes, the assisted coding. But the company policies and security measures requires from us to have verified 3rd party applications of our vendors before its use.


Android touch coordinates incorrect

I use the TouchTracking.Forms touch effect to get the touch coordinates.
This works flawless on UWP.
But on Android it is a x value between 0 and ca. 410 instead of between 0 and 1080.
I use the default android 9.0 emulator.
I really hope this is a user error, since I haven't found a viable alternative to this :/
My Code:
<Grid Grid.Row="2">
    <!-- Coins -->
    <skia:SKCanvasView x:Name="coinsCanvasView" PaintSurface="CoinsPaintSurface"/>
    <Grid.Effects>
        <tt:TouchEffect Capture="True" TouchAction="OnCoinsTouch"/>
    </Grid.Effects>
</Grid>

void OnCoinsTouch(object sender, TouchActionEventArgs args)
{
    var point = args.Location; //Point location
    var type = args.Type; //Entered, Pressed, Moved ... etc.
    if (type == TouchActionType.Released)
    {
        var coinIndex = CurrentDevice.GetCoinIndexFromTouchCoordinates(point.X);
        if (coinIndex < Game.CoinAmount && coinIndex >= 0)
        {
            Game.CoinCollection[coinIndex] = !Game.CoinCollection[coinIndex];
        }
    }
    coinsCanvasView.InvalidateSurface();
}

EDIT:
I do not know if this is true, but it seems to report the actual size of the view on my screen and not the size it would have on the phone, which would match the 400something value since my desktop resolution is 1920 by 1080 and the emulator takes ca. a 5th of the horizontal space
verified that this is false on an actual phone

So i managed to find the Issue:
In Line https://github.com/OndrejKunc/SkiaScene/blob/a68452c889b716c4d82515de5518ea9902846d6b/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs#L262
Is a conversion _fromPixels happening which is not happening in the UWP version.
It is dp vs px, but whatever is subjectivly better it should be the same on every platform.
(haven't tested iOS)

So i managed to find the Issue:
In Line https://github.com/OndrejKunc/SkiaScene/blob/a68452c889b716c4d82515de5518ea9902846d6b/source/TouchTracking/TouchTracking.Droid/TouchHandler.cs#L262
Is a conversion _fromPixels happening which is not happening in the UWP version.
It is dp vs px, but whatever is subjectivly better it should be the same on every platform.
(haven't tested iOS)

Sorry for creating this Issue, pixel density is 1 to 1 on my Desktop so it matches the px value, but not on for example a surface device, so I will expand my knowledge and close this Issue.

Sorry for creating this Issue, pixel density is 1 to 1 on my Desktop so it matches the px value, but not on for example a surface device, so I will expand my knowledge and close this Issue.