Problem with building after switching branches

Describe the bug
If there is package X on branch X' and you have run npm run build while X' is checked out and you checkout branch Y' which does not include package X and you try to run npm run build again, it will fail due to missing that package.

For instance the @k8slens/list-layout package sometimes is complained about when switching between a branch that has it and a branch that doesn't/

or
Error: Did not find package @k8slens/react-testing-library-discovery in lockfile, please use 'add' command to add it explicitly.

Current workaround is:
npm run clean
npm run clean:node_modules
npm run ci

The "nx cache" might also have to be cleared.

Might be solved by latest DX improvements e.g. https://github.com/lensapp/lens-desktop-monorepo/pull/97 https://github.com/lensapp/lens-desktop-monorepo/pull/69


bug: example Scenario 2 will fail if context wds2 already exists

Describe the bug
kflex create wds2 -t host will not achieve the desired result if the kubeconfig context named "wds2" already exists --- but still exits with status 0 (indicating success). Users can easily overlook the one line error message amongst the many lines printed at that step, and proceed along in the scenario --- getting an error later with no obvious cause.
Steps To Reproduce
See above.
Expected Behavior
The scenario either crashes with a complaint about the pre-existing context or something has the user ensure that there is no "wds2" context at first.
Additional Context
No response

yes, we can.


Update kube-system ns access

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/EI-1261
Change description
Allow system names traffic via kube-system, as there were errors in getting metrics
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Closing this as it had un-necessary change


Documented "Language support" versions are out-of-date relative to what is actually installed

The section "Language support" is out-of-date with respect to installed versions.
Documented:

Language
Version

.NET Core
6.0.402

Go
1.9

Java
1.8

Node.js
8.16.0

PowerShell
7.2

Python
2.7 and 3.7 (default)

Actual:

Language
Version
Command

.NET Core
6.0.405
dotnet --version

Go
1.17.13
go version

Java
11.0.18
java --version

Node.js
16.18.1
node --version

PowerShell
7.3.2
pwsh -Version

Python
3.9.14
python --version

The actual versions were obtained by opening a fresh Azure Cloud Shell instance and running the respective commands. The commands were run given the following environment (selected variables only):

Name
Value

ACC_CLOUD
PROD

ACC_LOCATION
SOUTHCENTRALUS

ACC_VERSION
master_20230203.2

AZUREPS_HOST_ENVIRONMENT
cloud-shell/1.0

POWERSHELL_DISTRIBUTION_CHANNEL
CloudShell

START_TIME
1677606073527

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

ID: 18fb3b37-8ba1-579c-ceb4-329c283f107a
Version Independent ID: 0ead5f4c-63a0-d782-0a89-b5d612596d89
Content: Azure Cloud Shell features
Content Source: articles/cloud-shell/features.md
Service: cloud-shell
GitHub Login: @sdwheeler
Microsoft Alias: sewhee

@RH-TLagrone
Thanks for your feedback! We will investigate and update as appropriate.


small remark: I need to type  to see Ipython console prompt

Description of your problem
What steps will reproduce the problem?

launch spyder
(nothing is  displayed in Ipython console window)
I get a "[1]:" if I type on the <Enter> key

What is the expected output? What do you see instead?
seeing a "[1]:" at opening, instead of nothing
(also, using PyQt5.6.0 wheel, I don't have the web part working, maybe a root cause of this ?)
Please provide any additional information below
Spyder dev of 2016-07-17 + patch https://github.com/spyder-ide/spyder/pull/3295 + Pyqt5.6.0, on windows
Versions and main components

Spyder Version: Spyder dev of 2016-07-17 + patch https://github.com/spyder-ide/spyder/pull/3295
Python Version: python3.5.2 32 bit
Operating system: windows 10

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

Oups! it seems PyQt5.6.0 now works, by copying "PyQt5\Qt\resources*" to "PyQt5" ... It was an epic fail up to now.... and this issue seems to go away at the same time.
so it may be a useless papercut, closing


Error:[caliper] [caliper-local-client.js] 	Initialization ongoing... runs in an infinite loop for the caliper benchmark test for Fabcar in HYperledger Fabric Samples

Brief descritption
I am trying to run the benchmark tests Hyperledger fabric fabcar project with a couch db network.
I had trouble initially due to a process monitor issue so I had made the mentioned changes suggested by @tzortzispanagiotis  on the config.yaml file from the following issue.
https://github.com/hyperledger/caliper/issues/781
They now lead to an error because the "Initialization ongoing" log from the caliper-local-client.js file runs in an infinite loop. This seems to be a core caliper engine so I don't know how to diagnose it.
Looking at the file I realize the error comes from line 345/346 of the caliper-local-client.js file, it seems to be because the context is not set.
I have attached the config and fabric go files with a couple of other syntax changes.
Command : npx caliper launch master  --caliper-workspace .  --caliper-benchconfig benchmarks/samples/fabric/fabcar/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peercouchdb/fabric-go.yaml
Version used: 0.3.0
Environment name and version (e.g. Chrome 39, node.js 5.4): Nodejs v10.19, npm v5.6.0
Operating System and version (desktop or mobile): Ubuntu 18.04
This is the snapshot of the caliper-local-client file

The command line logs

Help here would be much appreciated! I have tried to modify that file and trace errors but I am unable to do so. And a switch to version 0.2.0 also yields a similar error.
The fabric-go.yaml file
fabric-go.txt
The config.yaml file
config.txt
Originally posted by @swathidhamo in https://github.com/hyperledger/caliper/issues/781#issuecomment-609025809
Thank you in advance

any information from within the peer or chaincode containers?

I was able to run the fabcar tests successfully with version 0.3.0.
Turns out all it took was some modification of the assets field and then a few basic changes.
I have attached the final config files for anyone's reference.
Thank you @nklincoln for your help, taking a peek at the containers was what helped
fabric-go.txt
config.txt


Profile in local computer record causes hang upon boot

Greetings! I don't know how much you'll be able to help me with this, but I'm completely stumped and don't know who else to ask. (I just filed Radar 51139511 about this, but we all know how responsive Apple is to radars.)
The problem is as follows: I create and export a configuration profile with Profile Creator, then use dscl to import it into the localhost computer record in the local directory database. Once this is complete, any logins will freeze the entire computer. Worse, if you reboot the computer, it will freeze during boot. Configuration profiles added to user records in the local directory do not have this problem, and are correctly honored; this only applies to computer records.
Steps to reproduce

Export a profile from Configuration Manager, specifying the System scope when exporting.
Open a Terminal, then run dscl .
Authenticate by running auth <user> <password>, where user is an admin username, and <password> is their password.
Run cd /Computers/localhost to select the localhost computer record.
Type profileimport .  (note the trailing space, and don't press Return yet), then drag the mobileconfig file into the Terminal window to insert the full path. Press Return.
Exit dscl by pressing Control-D.
Reboot, or log out and (try to) log in again.

Steps to fix a broken computer

Boot into single-user mode by holding Command-S down during early boot.
Make the disk writable by running mount -uw /.
Load opendirectoryd by running launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
Run dscl .
Select the localhost computer record by running cd /Compuers/localhost.
Run profiledelete . all to remove all profiles from the record.
Exit dscl by pressing Control-D, then reboot by running reboot.

Notes

If you use the computer record in an Open Directory domain, dscl will emit a generic error. Investigation in Console reveals a schema error. I don't think I can do anything to solve this.
If you use a computer group record in an Open Directory domain, dscl will succeed. However, the profile will not be applied at all, nor will the system hang on boot or login.

This came up while I was working on my Open Directory Server app, which when complete will include a UI to manage configuration profiles in OD records. Thanks for whatever help you can provide!

I have worked one-on-one with an Apple employee (via the MacAdmins Slack), and have made no progress towards fixing this issue. However, I have since found a different way of sending per-user profiles without an MDM, using a combination of Munki and a login script. I will no longer need any assistance with this issue. Thanks!


add simplestreams support

This adds the ability to generate simplestreams files for MAAS image_type

Closing PR, as this will be implemented at a different layer, as an independent step after the image has been generated (or as a hook).

Can you please reference the PR that you've closed this in favour of?

Will do ;)


Implement Junar API to access Palo Alto Data

https://data.cityofpaloalto.org/developers/

Need to get an API key here: https://data.cityofpaloalto.org/developers/
Will have to throw errors if user does not have it and tell them to get one

From: http://api.dev:8080/api/v2/datasets/?auth_key=576bba0dd5a27df9aaac12d1d7ec25c8411fe29e&limit=2&offset=2
A typical request will look like this:

http://paloalto.cloudapi.junar.com/api/v2/datastreams/GENER-RESID-WATER-SERVI-UTILI/data.json/?auth_key=YOUR_API_KEY

A few things to note in the request above:

/api/v2/datastreams/
This is an invoke request, that will return a json response. The entire resources descriptions are available in the API resource documentation.

GENER-RESID-WATER-SERVI-UTILI
This is the GUID of the data stream you are accessing. You will always find this GUID in the Data Stream Details page, making a data stream search through the API, or in many other places.

auth_key=YOUR_API_KEY
This is the key from step 1. You'll need it for every request.

Pagination: https://junar.github.io/docs/en/_sections/02-topics.html#pagination
Basic example: http://api.dev:8080/api/v2/datasets/?auth_key=576bba0dd5a27df9aaac12d1d7ec25c8411fe29e&limit=2&offset=2

Output types (data views): https://junar.github.io/docs/en/_sections/04-dataviews.html
data.json gives data in JSON format
Data filtering: https://junar.github.io/docs/en/_sections/04-dataviews.html#filtering-data-view-results
If data columns needs formatting prior to query (such as if date is not formatted properly: https://junar.github.io/docs/en/_sections/04-dataviews.html#data-column-formatting
Data sorting: https://junar.github.io/docs/en/_sections/04-dataviews.html#data-sorting


Responsive not working on web part/publishing pages

I was unable to get the responsive layouts functioning on web part or publishing page templates, adding the following CSS to the tablets and smart phones sections of the css file got it working like a champ.
table.ms-webpartPage-root,
table.ms-webpartPage-root > tbody,
table.ms-webpartPage-root > tbody > tr,
table.ms-webpartPage-root > tbody > tr > td {
    display: block;
}
    table.ms-webpartPage-root > tbody > tr > td {
       width: auto !important;
       padding: 0;
     }

@VesaJuvonen could you set Responsive Label plz ?


Use soft delete only when available and configured to use

Hi @matchish,
Thank you for the work you did on this great driver!
I wanted to make an attribution to have it work a bit smoother when soft deletes are used trough Scout.
Similarly as being done here:
\Matchish\ScoutElasticSearch\ElasticSearch\Params\Bulk
    public function toArray(): array
    {
        $payload = ['body' => []];
        $payload = collect($this->indexDocs)->reduce(
            function ($payload, $model) {
                if ($model::usesSoftDelete() && config('scout.soft_delete', false)) {
                    $model->pushSoftDeleteMetadata();
                }

I am using soft deletes, but not on all my models. This MR would help me out, because now I get an exception on models without soft deletes:
BadMethodCallException  : Call to undefined method Illuminate\Database\Eloquent\Builder::withTrashed()

There is this unsuccessful test...

I am not sure how to get the test pass, can you help me out here?
The code is imho correct. But perhaps some docblocks will help phpstan to understand the call is made correct?
final class DefaultImportSource implements ImportSource
{
    const DEFAULT_CHUNK_SIZE = 500;

    /**
     * @var string
     */
    private $className;
    /**
     * @var array
     */
    private $scopes;

I am not familiar with phpstan...

Hi. Thank you for appreciating my work. Could you create a failing test. I'm not sure I understand you.
You can create model here https://github.com/matchish/laravel-scout-elasticsearch/tree/master/tests/laravel/app
And then create test like this https://github.com/matchish/laravel-scout-elasticsearch/blob/f2cf4d79fc8dfbe0e712dc57fd45a5bc43bd416e/tests/Unit/ElasticSearch/Params/BulkTest.php#L71

Sorry to say, but no I cannot write the test. I have no experience writing tests, not yet anyways...
The test that is failing is from Travis CI: https://travis-ci.com/matchish/laravel-scout-elasticsearch/jobs/289802897
But I don't think my addition is wrong, so I don't understand why it gives an error.
This is the addition: forward_static_call([$this->className, 'usesSoftDelete']) &&
Which is the same as you use it: $model::usesSoftDelete() &&

My PR is about class src/Searchable/DefaultImportSource.php.

Yes all is in the green now :smiley:

Thanks for contribution) Could you squash commits and bump version to 3.0.1 in composer.json?

And update CHANGELOG.md

Yes I'll do that, no problem. I hope to get to it end of the week!

Thank you!

Thank you for the contribution!


We need a worker SDK extension package for Tables

Tables were removed from Microsoft.Azure.Functions.Worker.Extensions.Storage v5. This mirrors the removal from Microsoft.Azure.WebJobs.Extensions.Storage.
The table binding extensions are now in a new package: https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.Tables/
The SDK needs to mirror this as well.

Dupe of #404


Current status

Hey Edgard!
I've discovered your project just now and am wondering what is it's current status. Do you use it yourself? Do you have any plans to continue with it?

Always shown an error related to server


feat(locale-modal): only render modal when its called by user click

Related Ticket(s)
Closes #10657
Description
The locale modal is being rendered upon page load, though it is not visible and users cannot interact with it. This unnecessarily increases the DOM node count. This PR updates the functionality so that the modal itself is not rendered until it is called by a user clicking the locale switcher button in the footer.
Analysis
Default Footer Story

Nodes
Comments
Inters

Before
4197
1145
1723

After
1458
373
566

Reduction
65%
67%
63%

Testing
In the deploy preview, visit the default Footer story. Verify the locale modal hasn't loaded into the DOM until you click the locale button in the footer.

Find the <div style="display: contents;"> using the browser dev tools. This is the modal render root, and it should be empty.
Click the locale button in the footer. The locale modal should load into the modal render root and appear in the viewport with a fade-in animation.
Close the modal. The modal should close with a fade-out animation and the DOM content should be removed.

Next, verify the selectable regions' locale options do not load into the DOM until a region is selected.

With your browser tools still open, re-open the locale modal. Note that the only element slotted into the <dds-locale-modal> is the <dds-regions> element.
Select a region. The <dds-locale-search> should load into the DOM and appear within the modal. Only that region's locales should be available as options, which you can confirm by verifying their "region" attribute matches the selected region.
Go back and select a different region. The <dds-locale-search>'s options should update to only include the new selection's locales.

It's worth repeating the above steps in the Dotcom Shell default Story, too.
Changelog
Changed

Locale modal no longer renders in the DOM unless the locale button in the footer is clicked by user; locales do not render until user selects a region.
Adds support in ModalRenderMixin for rendering modal only when specified properties update. This is optional, and the original behavior is preserved as the default.

The only thing I'm noticing is the fade in/out transitions are missing, probably because of the way it's being added/removed from the DOM?

Great catch @kennylam , I'm looking into this now. Thank you!

Noticing some issues with auto-setting focus on elements in response to user actions. Working on it!

@m4olivei I noticed what could be considered a design flaw with our implementation, and I had a little time to spare so I went ahead with a light refactor. 31e018b & b99ab12 endeavor to consolidate some logic.

Refresher: The user flow is to open the modal, select a region, then select a locale that is available in that region.

Instead of the <dds-locale-modal-composite> and the <dds-locale-modal> each rolling their own method to keep track of the selected region, the modal itself handles that and reports back to the composite via an event. This keeps the two in sync, which empowers the composite to perform re-renders at all the right times. As a result, the foundation is laid to render only the active region's locale options. This is a further DOM node reduction, and obviates the need for the <dds-locale-search> element to keep track of the active region and factor that into its functionality.

This is all really nice. Great work.

Noticing some issues with auto-setting focus on elements in response to user actions. Working on it!

Gotcha! I was just about to give the thumbs up. I do see that now you point it out. Will watch for the fix.


Composer.lock file should be in git repo

Just messing around with Canvas tonight and pulled in the latest version from the develop branch. I saw the commits showing Barryvdh Debugbar. As such, I did a composer install to update any packages that might be missing. Surprisingly I did not see Barryvdh Debugbar being installed and a php artisan config:cache throw errors on Barryvdh Debugbar based on the configuration inside config/app.php.
Based on this StackOverflow comment, I think we should just let the composer.lock file remain inside the repo. This should apply to future package updates that come along with each Canvas update.

PR Merged in #336. Closing this.


Building a Blazor Chat App With SignalR

Topic Suggestion
Building a Blazor Chat App With SignalR
Writing sample(s):
https://www.section.io/engineering-education/creating-a-blazor-server-side-application-using-aspdotnet-core-to-perform-crud-operations/
https://www.section.io/engineering-education/java-timer-tasks/
Proposed title of the article
Building a Blazor Chat App With SignalR
Proposed article introduction
Web Assembly is a modern low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages like C#, F#, C, C++ a compilation target so that they can run on the web.
With the knowledge of Web Assembly, we can use SignalIR in a blazer app to build a chat app. SignalR is an ASP.NET that lets your server-side code push content to your connected clients in real-time with client SDKs.
In this article, I will be showing the reader how he or she can build a real-time web assembly chat app in blazor using SignalR.
Key takeaways
From this tutorial, the reader will understand:

the  concept of web assembly
how signalR works
how to integrate signalR into a blazor web assembly app

Article quality
In this article, I will be showing the reader a step, how to use signalR to build a blazor chat app. I will also put all the needed knowledge together in this article to ensure that the reader gets a quality understanding of the signalR concept.
References
N/A

Thank you for submitting your topic @Joesongoma.
However, after some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentation.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
Please feel free to suggest an alternative topic.


Fix tests env in Eventing RabbitMQ

Changes

Reversed conformance test splitting
Fixed unit test messages change

Context
Right now, our unit tests are failing on Knative Eventing:

For a change on some error messages. That's fixed here.
The CI been green depends now depends on the Knative eventing conformance tests to start passing test features to test feature sets as a reference, let's wait for that to happen

/lgtm

/retest


Add retry to docker build

Closing as the issue has seemingly gone away. Please reopen if I'm not right.


add aws error xml response

Codecov Report

Merging #24 into master will increase coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   86.16%   86.37%   +0.21%
==========================================
  Files          29       30       +1
  Lines         571      580       +9
  Branches       51       53       +2
==========================================
+ Hits          492      501       +9
  Misses         79       79

Impacted Files
Coverage Δ

...baa/airlock/proxy/provider/aws/AwsErrorCodes.scala
100% <100%> (ø)

.../com/ing/wbaa/airlock/proxy/api/ProxyService.scala
95.23% <100%> (ø)
:arrow_up:

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 db7ec6b...8a2d165. Read the comment docs.


[Bug] SRAI does not assemble correctly

      println(RISCVAssembler.binOutput("srai x0, x0, 0"))

outputs<PHONE_NUMBER>0000000101000000010011, but it should print<PHONE_NUMBER>0000000101000000010011.

Thanks for reporting this!
Published v1.6.1 which will be up in some minutes!

I borked the fix since I appended zeroes while the correct would be using the shamt.
Will fix it properly soon.

Now we are good to go :)


Moved java files to proper directories and updated build script

I added the files using this command:
"git add "src/main/java/".java "src/test/java/".java build.sh"

Please merge to your own repo 😄


Tests needed for MSFT LODs

Create set of unit tests for MSFT LODs

Add test that covers two LOD nodes pointing to the same material.

Make sure to add test that ensure multiple LODs don't show at the same time.


Syntax error near "..."

I have installed all the required perl modules for this to work
Make test fails with the attached output, it does install but when I try to use I just get these syntax errors.
# make test
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 43, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 90, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 116, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 132, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 157, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 187, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 217, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 257, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 292, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 321, near "..."
/root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm has too many errors.
Compilation failed in require at (eval 11) line 3.
        ...propagated at /usr/share/perl5/base.pm line 94.
BEGIN failed--compilation aborted at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage/File.pm line 6.
Compilation failed in require at t/08-gsb-basic.t line 12.
BEGIN failed--compilation aborted at t/08-gsb-basic.t line 12.
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 43, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 90, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 116, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 132, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 157, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 187, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 217, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 257, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 292, near "..."
syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 321, near "..."
/root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm has too many errors.
Compilation failed in require at (eval 14) line 3.
        ...propagated at /usr/share/perl5/base.pm line 94.
BEGIN failed--compilation aborted at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage/File.pm line 6.
Compilation failed in require at t/09-gsb-list.t line 14.
BEGIN failed--compilation aborted at t/09-gsb-list.t line 14.

#   Failed test 'use Net::Google::SafeBrowsing4::Storage;'
#   at t/10-gsb-storage-basic.t line 12.
#     Tried to use 'Net::Google::SafeBrowsing4::Storage'.
#     Error:  syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 43, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 90, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 116, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 132, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 157, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 187, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 217, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 257, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 292, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 321, near "..."
# /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm has too many errors.
# Compilation failed in require at t/10-gsb-storage-basic.t line 12.
# BEGIN failed--compilation aborted at t/10-gsb-storage-basic.t line 12.

#   Failed test 'require Net::Google::SafeBrowsing4::Storage;'
#   at t/10-gsb-storage-basic.t line 15.
#     Tried to require 'Net::Google::SafeBrowsing4::Storage'.
#     Error:  Attempt to reload Net/Google/SafeBrowsing4/Storage.pm aborted.
# Compilation failed in require at (eval 10) line 2.

#   Failed test 'Net::Google::SafeBrowsing4::Storage->can(...)'
#   at t/10-gsb-storage-basic.t line 36.
#     Net::Google::SafeBrowsing4::Storage->can('last_update') failed
#     Net::Google::SafeBrowsing4::Storage->can('add_full_hashes') failed
#     Net::Google::SafeBrowsing4::Storage->can('full_hash_error') failed
#     Net::Google::SafeBrowsing4::Storage->can('full_hash_ok') failed
#     Net::Google::SafeBrowsing4::Storage->can('get_full_hash_error') failed
#     Net::Google::SafeBrowsing4::Storage->can('get_lists') failed
#     Net::Google::SafeBrowsing4::Storage->can('save_lists') failed

#   Failed test 'Abstract method newshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::new called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method saveshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::save called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method resetshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::reset called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method next_updateshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::next_update called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method get_stateshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::get_state called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method get_prefixesshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::get_prefixes called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method updatedshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::updated called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method get_full_hashesshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::get_full_hashes called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method update_errorshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Undefined subroutine &Net::Google::SafeBrowsing4::Storage::update_error called at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method last_updateshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "last_update" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method add_full_hashesshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "add_full_hashes" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method full_hash_errorshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "full_hash_error" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method full_hash_okshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "full_hash_ok" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method get_full_hash_errorshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "get_full_hash_error" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method get_listsshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "get_lists" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.

#   Failed test 'Abstract method save_listsshould be re-defined'
#   at t/10-gsb-storage-basic.t line 39.
# expecting: Regexp ((?-xism:Unimplemented))
# found: Can't locate object method "save_lists" via package "Net::Google::SafeBrowsing4::Storage" at t/10-gsb-storage-basic.t line 39.
# Looks like you failed 19 tests of 19.

#   Failed test 'use Net::Google::SafeBrowsing4::Storage::File;'
#   at t/11-gsb-storage-file-basic.t line 11.
#     Tried to use 'Net::Google::SafeBrowsing4::Storage::File'.
#     Error:  syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 43, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 90, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 116, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 132, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 157, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 187, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 217, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 257, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 292, near "..."
# syntax error at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm line 321, near "..."
# /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage.pm has too many errors.
# Compilation failed in require at (eval 8) line 3.
#       ...propagated at /usr/share/perl5/base.pm line 94.
# BEGIN failed--compilation aborted at /root/Net-Google-SafeBrowsing4/blib/lib/Net/Google/SafeBrowsing4/Storage/File.pm line 6.
# Compilation failed in require at t/11-gsb-storage-file-basic.t line 11.
# BEGIN failed--compilation aborted at t/11-gsb-storage-file-basic.t line 11.

#   Failed test 'require Net::Google::SafeBrowsing4::Storage::File;'
#   at t/11-gsb-storage-file-basic.t line 14.
#     Tried to require 'Net::Google::SafeBrowsing4::Storage::File'.
#     Error:  Attempt to reload Net/Google/SafeBrowsing4/Storage/File.pm aborted.
# Compilation failed in require at (eval 10) line 2.

#   Failed test 'Net::Google::SafeBrowsing4::Storage::File->can(...)'
#   at t/11-gsb-storage-file-basic.t line 35.
#     Net::Google::SafeBrowsing4::Storage::File->can('new') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('save') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('reset') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('next_update') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('get_state') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('get_prefixes') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('updated') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('get_full_hashes') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('update_error') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('last_update') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('add_full_hashes') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('full_hash_error') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('full_hash_ok') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('get_full_hash_error') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('get_lists') failed
#     Net::Google::SafeBrowsing4::Storage::File->can('save_lists') failed
# Looks like you failed 3 tests of 3.
Failed 4/11 test programs. 22/517 subtests failed.
make: *** [test_dynamic] Error 3

@rpharrison Which version of Perl you are using? The ... operator was introduced in v5.12, thet should be the minimum required version.

Mine is 5.10.1, I'll see if it is possible to update, thanks for the quick response.

You are welcome. Please report back if you can't, I can actually change them to classical die() statements for the same result.
Is it a specific distro/platform that ships such an old version of Perl? (the latest is 5.30)

I am running this on CentOS 6.10/cPanel 84. It looks it would be tedious and possibly harmful to try to update this installation of perl.

1a56c4788df3201ab44dbcc72e33c5bc3bd5bbc0 is committed. Could you try it?

Everything works great now, I'm able to retrieve a copy of the safe browsing database. Thanks for your help.


How to do face recognition?

Hi Author, I am new to computer vision and particularly to face detection and recognition. I wonder if there is any example of implementation in using yolo to detect faces and use the cropped bounding box to infer and recognize a face in a crowd? What do I need to do to get started?

I plan to extract the detected faces in an image using yolo and compute the face embeddings and then do classification/recognition using something like contrastive loss ? is this workflow normally used?


[BUG] - Node stops syncing after passing the 99.9 percentage and tip freezes

Internal/External
External   otherwise.
Summary
I find out my node stop syncing about a week ago. The progress stuck, the services are running, but nothing updated . After the progress 99.96 or 99.97 the node stop updating. The progress and tip was exactly the same, for a few days. I updated my node version from 1.18.0 to 1.20.0, which doesn't help. I purged the entire node and DB, it was synced until 99.96 and it happened again. This time I could get to block 4826242. The service are alive and keep producing these logs:
My cardano-node keeps logs this error:
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:35:32.65 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.ChainDB:Notice:35] [2020-10-23 11:35:42.40 UTC] Chain extended, new tip: c33bc2fe5bfacdea23e6926c8556c14a99e856ee607b445bb83ce62a836ebd79 at slot 11886651
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:35:45.68 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.ChainDB:Notice:35] [2020-10-23 11:35:51.09 UTC] Chain extended, new tip: 0c6e885d52f76539dc74952689818af5fc7ada427933c59dfa5332c40f2f84f5 at slot 11886660
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:35:59.93 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.ChainDB:Notice:35] [2020-10-23 11:36:01.53 UTC] Chain extended, new tip: 772ec3c6c0dfa8572711e682ba9dd97f744068a374c2408c4faafb7a5ae9553e at slot 11886669
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:36:11.59 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 28> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.ChainDB:Notice:35] [2020-10-23 11:36:19.20 UTC] Chain extended, new tip: b9db3acb71300bad6dca10e371993b66f32811d42430cac623ff2fc490cfdab6 at slot 11886688
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:36:23.37 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 25> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:36:34.96 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:36:45.64 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.LocalErrorPolicy:Error:51] [2020-10-23 11:36:55.52 UTC] [String "ErrorPolicyUnhandledApplicationException (MuxError MuxBearerClosed \"<socket: 22> closed when reading data, waiting on next header True\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"\"}"]
[cardano.node.ChainDB:Notice:35] [2020-10-23 11:36:56.16 UTC] Chain extended, new tip: a74b2f26443e873e3fca67dfd7291e6b7af29e809e6881bf741d08de13763bb3 at slot 11886725

Also, my db-sync service logs this error continously:
[db-sync-node.Handshake:Info:16607] [2020-10-23 11:38:36.01 UTC] [String "Send MsgProposeVersions (fromList [(NodeToClientV_1,TInt 764824073),(NodeToClientV_2,TInt 764824073),(NodeToClientV_3,TInt 764824073)])",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node.Handshake:Info:16607] [2020-10-23 11:38:36.01 UTC] [String "Recv MsgAcceptVersion NodeToClientV_3 (TInt 764824073)",String "LocalHandshakeTrace",String "ConnectionId {localAddress = LocalAddress {getFilePath = \"\"}, remoteAddress = LocalAddress {getFilePath = \"/ipc/node.socket\"}}"]
[db-sync-node:Info:16611] [2020-10-23 11:38:36.01 UTC] Starting chainSyncClient
[db-sync-node:Info:16611] [2020-10-23 11:38:36.10 UTC] Cardano.Db tip is at slot 11285179, block 4826242
[db-sync-node:Info:16616] [2020-10-23 11:38:36.10 UTC] Running DB thread
[db-sync-node:Info:16616] [2020-10-23 11:38:36.32 UTC] Rolling back to slot 11285179, hash 2d51cbdfc218076fc879cfae860409133581ed0546faed4efaac490423c3f7b3
[db-sync-node:Info:16616] [2020-10-23 11:38:36.32 UTC] Deleting blocks numbered: []
[db-sync-node:Error:16616] [2020-10-23 11:38:47.52 UTC] runDBThread: PersistMarshalError "Couldn't parse field `pledge` from table `pool_update`. Failed to parse Haskell type Word64: PersistRational<PHONE_NUMBER>00 % 1)"
[db-sync-node:Error:16619] [2020-10-23 11:38:47.52 UTC] recvMsgRollForward: AsyncCancelled
[db-sync-node:Error:16611] [2020-10-23 11:38:47.52 UTC] ChainSyncWithBlocksPtcl: PersistMarshalError "Couldn't parse field `pledge` from table `pool_update`. Failed to parse Haskell type Word64: PersistRational<PHONE_NUMBER>00 % 1)"
[db-sync-node.Subscription:Error:16607] [2020-10-23 11:38:47.52 UTC] [String "Application Exception: LocalAddress {getFilePath = \"/node-ipc/node.socket\"} PersistMarshalError \"Couldn't parse field `pledge` from table `pool_update`. Failed to parse Haskell type Word64: PersistRational<PHONE_NUMBER>00 % 1)\"",String "SubscriptionTrace"]
[db-sync-node.ErrorPolicy:Error:4] [2020-10-23 11:38:47.52 UTC] [String "ErrorPolicyUnhandledApplicationException (PersistMarshalError \"Couldn't parse field `pledge` from table `pool_update`. Failed to parse Haskell type Word64: PersistRational<PHONE_NUMBER>00 % 1)\")",String "ErrorPolicyTrace",String "LocalAddress {getFilePath = \"/node-ipc/node.socket\"}"]

Steps to reproduce
Steps to reproduce the behavior:

Start the node stack on docker swarm
Wait until it reachess around 99.96

Expected behavior
Sync successfully to 100 percent and keep updating the tip
System info (please complete the following information):

OS: Ubuntu
Version: 18.04
Node version

postgres:11.5-alpine
cardano-node:1.20.0
cardano-db-sync:5.0.1

Screenshots and attachments

If applicable, add screenshots, config files and/or logs to help explain the problem.

Additional context
Add any other context about the problem here.
EXTENDED=true
NETWORK=mainnet

Appranlty, this was related to cardano-db-sync . It's fixed by upgrading from cardano-db-sync:5.0.1 to cardano-db-sync:5.0.3, which was release a few hours ago.


Remove a slide from the kaarousel

I am wondering if I can delete / remove specific slide from the kaarousel? The use case is - I have image carousel and I decide to delete let's say slide 3. Can I do that?

I guess that your code looks like the following:
<kaarousel>
    <kaarousel-slide ng-repeat="slide in slides track by $index" >
        <!-- Your code here -->
    </kaarousel-slide>
</kaarousel>

Can't you remotely remove the items inside slides array/object?


Octomap addition

In this PR, an octomap of the 3D environment in the gazebo simulation is created. The function create_octomap() traverses the space in cubes of resolution meters. A ray is casted in X, Y and Z axis to check if there is a collision. If indeed there is a collision, the cube is added to the octomap.
Additionally, a rviz config has been added to test/rviz to get the same config I show in the examples below.
However, this branch parts from the #2 PR
Tree and car world

Apollo world

Hi, I'll work on this rn. The CI wasn't running on my fork before

Let's check these new changes.

Changed ROS version from Galactic to Rolling
Added new dependencies to package.xml
As the grid_map repo has its own dependency_repos.repo with the navigation2 repo, I added it to ours

If this PR is approved, I'll add changes to the README.md

Additionally, I changed the version of the action-ros-ci to a newer version that supports jammy and takes into account that ros1 cannot be installed in ubuntu 22

Hi @fmrico ,
checks passed. However, check the changes made in the CI listed before:

- Changed ROS version from Galactic to Rolling
- Added new dependencies to package.xml
- As the grid_map repo has its own dependency_repos.repo with the navigation2 repo, I added it to ours
- changed the version of the action-ros-ci to a newer version that supports jammy and takes into account that ros1 cannot be installed in ubuntu 22

Merging!!! 🚀


Show complete version when updating developer version

When i want to update i can't see what version you are on because it will always show RC1:
(installed version 20.30-RC1, latest stable 20.22)
So, I get to take a chance if there is a new version or not 😔
Can't you show the same version as you show on the dashboard 20.30-RC1-74, so i know there is a new version to install?

(installed version 20.30-RC1, latest stable 20.22)

I will fix that. Yet, you can see the minor version on the dashboard.

Can't you show the same version as you show on the dashboard 20.30-RC1-74, so i know there is a new version to install?

May be. This is very low priority.

Alright, I have taken a closer look and I agree, it's a bit confusing. Fixed on the latest commit.

Is this really correct (installed version 20.30-RC1-78, latest stable 20.22, latest development 20.30-RC1-75)?
How can i run 78 when the latest version is 75?

How can i run 78 when the latest version is 75?

You're seeing this, because remote version number is being cached.

Yes, now it is showing the correct version 👍


Feature Requests

The extension is working great, tyvm! I have a couple feature requests:

When "default" is the currently selected config and I've manually made changes to the UI, like changing steps, it would be nice if choosing "default" again would force it back to those default settings. What I notice now is it seems to ignore the request, maybe because no actual change is being made in the UI. This may be an HTML/Gradio side issue that's not fixable directly, though an "apply" button might help.
It would be nice if settings that are not present in the preset config JSON are left untouched when that preset is selected and applied. What I noticed is: I created a series of presets solely to set width, height and upscaling. I deleted unrelated settings like batch size. When I applied the preset, I noticed it reverted my batch size from "8" to "1".

the dropdown uses a Gradio .change() event. Selecting the same dropdown element does not trigger that event, and to my knowledge there isn't a way to do that withing the constraints of Gradio.
This is the functionality that I wanted to have from day one, but once again Gradio won't let me do it. If anyone can figure out a way to do it, I'd love to see a pull request.

So yeah, Gradio is kinda strict in what it lets you do. I personally don't like it very much.


Debug WASM w/o changing base href

Fixes #19970
Thanks @gfs ... I immortalize "OAT" (whatever that is :smile:) in the examples.
Safia, should we also address this for VS Code url and webRoot in .vscode/launch.json?
Also, we don't (yet) version anything here. I think if we don't version sections of the topic (if needed) that we should go ahead and version this whole topic for 5.0. Thoughts?

Thanks @guardrex I was able to get it to work now on .NET 5 RC! Cool to be immortalized in the docs!
If you were interested further OAT is the Object Analysis Toolkit, a C# metaprogramming library I developed. https://GitHub.com/Microsoft/OAT

Cool ... if you haven't already submitted it for Awesome Blazor, I hope you'll do so. We don't keep a list of 3rd party libs/tools/frameworks, but we do recommend Awesome Blazor in the docs for readers to explore ...
https://github.com/AdrienTorris/awesome-blazor

Also, we don't (yet) version anything here. I think if we don't version sections of the topic (if needed) that we should go ahead and version this whole topic for 5.0. Thoughts?

This isn't specific to 5.0 so we don't have to worry about versioning for the moment.

Safia, should we also address this for VS Code url and webRoot in .vscode/launch.json?

Unfortunately, the VS Code extension doesn't support this. While VS will read the inspectUrl from the modified launchSettings.json file, the VS Code blazorwasm debugger currently hardcodes a value. We'd have to do some additional work to get VS Code to play nice with base paths.

In that case, I guess we're good here.

It's probably best to send the readers to that section ... there's quite a bit there explained in detail. It's on the last commit.

@captainsafia ... 🤔 ... I'm a bit confused now about a change in Program.cs for Blazor WebAssembly.
We only document UsePathBase for Blazor Server (Startup.Configure). For Blazor WebAssembly, the base path is determined by (at least in the typical case) <base href="xxx"> AFAIK. What change in Program.Main would be needed for Blazor WebAssembly besides the <base> tag?

I see it now ...
builder.UseBasePath(new PathString("/subdir"))

... we haven't needed that setting in the past tho IIRC for Blazor WASM apps. I thought that it was derived from the <base> tag automatically. Also, there's no UsePathBase extension for WebAssemblyHostBuilder as of 3.x.


upgrade major versions of dependencies

We need this PR https://github.com/brainhubeu/react-carousel/pull/91 to have a passing build.
Moreover, nothing can be broken, even if it's not covered by any test.
In order to contribute, please create a branch in your fork from renovate/major-all-dependencies and open a PR to renovate/major-all-dependencies.

IssueHunt Summary

Backers (Total: $5.00)

 piotr-s-brainhub ($5.00)

Become a backer now!
Or submit a pull request to get the deposits!
Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

IssueHunt has been backed by the following sponsors. Become a sponsor

may I use npm-check-updates package?

@Sbabureddy
There's no need for npm-check-updates because renovate has already updated them.
The work in this issue is to update the react-carousel codebase to be compatible with the new major versions which have often breaking changes.

Is this done and published? I am running 1.10.51 and am still getting this warning.

@katiawheeler
No, some major versions are already upgraded, some others are in this PR but the remaining ones need some work to be upgraded.

@jamsinclair
I reverted your PR and upgraded major versions of of dependencies where it was straightforward.
So now only a few of them remain, mainly related with react and webpack https://github.com/brainhubeu/react-carousel/pull/190

@jamsinclair @katiawheeler
Now only gatsby needs upgrading so I close this issue in favor of https://github.com/brainhubeu/react-carousel/issues/282
Any of you is welcome to ugprade gatsby.
Besides that, there are some babel dependencies in docs-www/package.json which aren't upgraded because of the gatsby@1.


Labellocation for vertical orientation

Would be very usefull to add a label location property, especially when using vertical tab style. Label to the right would be standard there.

Just implement your own tab item by inheriting from TabTextItem


Angular 0.3.5 breaks validations

I have been using your library with much pleasure.
It works fine for me up til Angular 0.3.0.
But last friday I updated to 0.3.5 and I get a lot of red borders in situations when the field is no longer invalid.
So for the moment I reverted to 0.3.0, but I hope you can fix this because xtForm is a really nice extention.

Hey - xtForm has been rewritten for angular 1.3.x and now implements multiple new features. please check the version 2.0.0-beta.1 in bower https://github.com/refactorthis/xtform/tree/development

Thanks for the rewrite and the new features.
As the existing tag no longer function it will take some refactoring.
I tried one screen this morning but I think I do something wrong.
I replaced: xt-validation by xt-validation-tooltip
And I made the form definition like this:

When I now start the page all fields have a red border. As I have
novalidate I did not expect that.
Clicking on save sets the focus on the first error and opens the
tooltip. But the border gets the focus color and not the error color.
And I don't get tooltip's anymore on hover of the error indicated
fields, only when I click the field.
I would really like the option to choose either.
The content of the tooltip changes(is removed) on filling/improving the
data in the field, but the red border remains.
After some testing of my page and your demo page I concluded that the
purpose of the xt-error-container has changed and that xt-error is no
longer used. In your demo page the red border come from:
.ng-submitted input.ng-invalid,
.ng-submitted select.ng-invalid,
.ng-submitted textarea.ng-invalid {
border: 1px solid red;
}
in main.css. But this css is not part of the distribution of xtForm so I
am not getting any error indicating colors.
I think xtForm should have some out of the box CSS that people can
override with their own code.
I am aware this is a beta version and that this is a mayor rewrite.
So this is all meant as constructive comment.
Please let me know if you need some assistance.
Regards,
Reinier Gielen
On 01/11/2015 10:15 AM, Brent McKendrick wrote:

Hey - xtForm has been rewritten for angular 1.3.x and now implements
multiple new features. please check the version 2.0.0-beta.1 in bower
https://github.com/refactorthis/xtform/tree/development
—
Reply to this email directly or view it on GitHub
https://github.com/refactorthis/xtform/issues/19#issuecomment-69488152.

This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com


ESP32-S3-n32p8v support

I read the documentaton, and I understand that the esp32-s3 is newer chip, is there support for ESP32-S3 on the main or other branches?

The S3 has been supported since esp-1.56.0 branch of our rust fork


Navigation bar shrinking behavior is broken

Description
I have a WebView (custom UIViewRepresentable component with WKWebView) within NavigationStack, and by default, scrolling animation of navigation bar (shrinking between large title and inline) is working fine. As soon as I add .introspect modifier on it, the shrinking animation doesn't work anymore.
If I use just a swiftUI ScrollView with ForEach, navbar shrinking works fine in both cases, so it might be something to do with .introspect on custom UIViewRepresentable, but I am not sure.
Video example without .introspect modifier:
https://github.com/siteline/swiftui-introspect/assets/9538239/8684d99d-bc28-4ee6-90c1-ac5f229d722c
Video example with .introspect modifier:
https://github.com/siteline/swiftui-introspect/assets/9538239/0da67412-e750-4481-9a62-dd11e6ac6690
Checklist

[X] I have read the README before submitting this report.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
Navigation bar has default shrinking animation behavior
Actual behavior
Navigation bar is not shrinking/animating at all
Steps to reproduce
Here's simplest example of the issue, you can comment .introspect modifier to compare behavior
import SwiftUIIntrospect
import SwiftUI
import WebKit

struct WebView: UIViewRepresentable {

    func makeUIView(context: Context) -> WKWebView {
        let webview = WKWebView()
        let request = URLRequest(url: URL(string: "https://www.apple.com")!)
        webview.load(request)
        return webview
    }

    func updateUIView(_ uiView: WKWebView, context: Context) {
    }
}

struct ContentView: View {
    var body: some View {
        NavigationStack {
            WebView()
                .ignoresSafeArea(edges: [.bottom])
                .navigationTitle("Webview")
                .introspect(.navigationStack, on: .iOS(.v17), scope: .ancestor) { nav in
                    print(nav)
                }
        }
    }
}

#Preview {
    ContentView()
}

Version information
1.1.2
Destination operating system
No response
Xcode version information
No response
Swift Compiler version information
No response

hello i may be a little late here, but i believe you just have to remove your
NavigationStack
in this view, i came across the same issue and i fixed this by doing so,


Jakarta9 source updates

@Emily-Jiang @radcortez, I'm getting the compilation failure with these source updates:
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claims.java:[24,20] package jakarta.json does not exist
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claim.java:[27,31] package jakarta.enterprise.util does not exist
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claim.java:[28,22] package jakarta.inject does not exist
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claim.java:[33,2] cannot find symbol
[ERROR]   symbol: class Qualifier
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/ClaimLiteral.java:[22,31] package jakarta.enterprise.util does not exist
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/ClaimLiteral.java:[27,35] cannot find symbol
[ERROR]   symbol: class AnnotationLiteral
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claim.java:[43,6] cannot find symbol
[ERROR]   symbol:   class Nonbinding
[ERROR]   location: @interface org.eclipse.microprofile.jwt.Claim
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claim.java:[51,6] cannot find symbol
[ERROR]   symbol:   class Nonbinding
[ERROR]   location: @interface org.eclipse.microprofile.jwt.Claim
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claims.java:[72,41] cannot find symbol
[ERROR]   symbol:   class JsonObject
[ERROR]   location: class org.eclipse.microprofile.jwt.Claims
[ERROR] ...microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claims.java:[75,70] cannot find symbol
[ERROR]   symbol:   class JsonObject
[ERROR]   location: class org.eclipse.microprofile.jwt.Claims
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/Claims.java:[86,49] cannot find symbol
[ERROR]   symbol:   class JsonObject
[ERROR]   location: class org.eclipse.microprofile.jwt.Claims
[ERROR] .../microprofile/microprofile-jwt-auth/api/src/main/java/org/eclipse/microprofile/jwt/ClaimLiteral.java:[27,8] org.eclipse.microprofile.jwt.ClaimLiteral is not abstract and does not override abstract method annotationType() in java.lang.annotation.Annotation

@Emily-Jiang @radcortez never mind, I haven't rebased the branch

@Emily-Jiang @radcortez Something has changed in the 2.1 parent so now // @formatter off in api/src/main/java/org/eclipse/microprofile/jwt/Claims.java is ignored and it is misformatted. Do you know what it can be ?

Here are the changes in microprofile-parent

Hi @Emily-Jiang - if you have some time, can you please checkout this PR's branch - and independently verify Claims.java is affected ?
Please also note I had to revert some TCK source file changes:
https://github.com/sberyozkin/microprofile-jwt-auth/commit/7eec086a1d84889dfc2a4adab3052d48ad214eb5
(EJB, crypto, servlet classes and possibly a few others have no jakarta.* equivalents) - not sure if it is parent problem or something else
I think the package.info update (see the last commit) is fine, but check please
thanks

Note in https://github.com/sberyozkin/microprofile-jwt-auth/commit/7eec086a1d84889dfc2a4adab3052d48ad214eb5 the package import order is changed again after building the TCK, so the actual fixes from jakarta.* back to javax.* are not very easy to see

@sberyozkin please feel free to merge your PR.

@Emily-Jiang @radcortez Something has changed in the 2.1 parent so now // @formatter off in api/src/main/java/org/eclipse/microprofile/jwt/Claims.java is ignored and it is misformatted when the source is built. Do you know what it can be ?

I checked out your PR to try it out. I think //@formatter off is only a tag for telling IDEs to ignore the formatting. Since we are using maven formatter plugin, the annotation was completely ignored.

You can merge in this change. I spotted more changes to be done to pull in the 3.0-RC4 from MP Config and also the dependency on EJB needs to be updated. In your pom.xml, you need to update the following
    ```

<version.jakarta.ejb.api>3.2.6</version.jakarta.ejb.api>
<version.microprofile.config>2.0</version.microprofile.config>
=>

       ```
 <version.jakarta.ejb.api>4.0.0</version.jakarta.ejb.api>
 <version.microprofile.config>3.0-RC4</version.microprofile.config>

You can do this change under the issue #252

@rdebusscher I've no idea, the compilation was failing with the jakarta package - may be what Emily suggested can help

@Emily-Jiang Thanks, but I don't want to release before the compilation succeeds, there is no much point in it :-)

I checked out your PR to try it out. I think //@formatter off is only a tag for telling IDEs to ignore the formatting. Since we are using maven formatter plugin, the annotation was completely ignored.

It works fine on master and likewise it should work with the 2.0.0-RC1 so I'd not like to release before it can be sorted out
thanks

@Emily-Jiang yes, thanks for noticing those old versions. The only problem is the Claims misformatting but I guess fixing it can wait

The formatter is pretty much personal taste. For me, the refomatted version looks nicer:). I think after merging this PR, we can do a 2.0-RC1. If you find a solution to fix the formatter, we do a RC2 release. In this way, it will not block the implementation to try out the jars.

@sberyozkin The  version of JACC is not updated (and still is the javax variant) for the TCK.
we need to replace
            <dependency>
                <groupId>jakarta.security.jacc</groupId>
                <artifactId>jakarta.security.jacc-api</artifactId>
                <version>${version.jakarta.security.jacc-api}</version>
                <scope>provided</scope>
                <optional>true</optional>
            </dependency>

with
<dependency>
  <groupId>jakarta.authorization</groupId>
  <artifactId>jakarta.authorization-api</artifactId>
  <version>2.0.0</version>
  <scope>provided</scope>
  <optional>true</optional>
</dependency>

The javax JACC artifact also brings in the javax servlet one which means there are still references to javax.servlet.* in the TCK code.

@rdebusscher It should be fine now...

Hi @Emily-Jiang I agree it is a personal taste but I should say IMHO having 20 or so enums stringified is not good, we don't do it all for the users only but for the developers too. If it were 3 enums only then it would not be a big deal, but otherwise it is not cool:
// @formatter:off
public enum Claims {
    // The base set of required claims that MUST have non-null values in the JsonWebToken
    iss("Issuer", String.class), sub("Subject", String.class), exp("Expiration Time", Long.class), iat("Issued At Time",
            Long.class), jti("JWT ID", String.class), upn("MP-JWT specific unique principal name",
                    String.class), groups("MP-JWT specific groups permission grant",
                            Set.class), raw_token("MP-JWT specific original bearer token", String.class),

And this is just a single fragment of Claims.java, many of them are now there.
I don't think we can offer it to the developers.
But like I said, I'm fine with doing RC2 once the solution is found but it will need to be found before 2.0

I did not pay much attention to the value except to the style. You were right that the current style is lot more readable. I think one solution is to exclude this file from being reformatted. You can add the following to the api/pom.xml to skip that file:
<build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>net.revelc.code.formatter</groupId>
                    <artifactId>formatter-maven-plugin</artifactId>
                    <version>${version.plugin.formatter}</version>
                    <configuration>
                        <excludes>
                            <exclude>api/src/main/java/org/eclipse/microprofile/jwt/Claims.java</exclude>
                        </excludes>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
</build>

There might a better solution. Can you take a look to see whether there are no other side effects?

Hi @Emily-Jiang I should've guess it myself :-), that should do, I'll try, thanks for trying to help

Looks good, I only see some javax related code within the JWT RBAC for MicroProfile Sandbox but that is not a problem.
Thx


Fixed a little bit of grammar

Overview
TL;DR

Questions
<If relevant, write a list of questions that you would like to discuss related to the changes that you have made.>
Next Steps
<If incomplete, create a task list of items that are still being worked on within the Pull Request.>
Review
<If complete, or ready for :eyes:, use @mentions for quick questions, specific feedback, and progress updates.>

Thank you, @edazpotato! I made some changes to the line breaks, but I'm keeping all of the edits to the words and content. 👍 Thanks for contributing!

@edazpotato I'm going to merge this pull request shortly, once the checks pass.
Next time you contribute, please complete the template for the body of the pull request. That helps us know what to look for, and we are able to provide a higher quality review, faster. It also helps for others who may want to contribute know what is needed before the pull request is "done".

thanks! sorry that I didn't fill in the template, I did not notice it :D


Fix a bug and add an option to ignore invalid header lines (fixes #61, #83)

It'd probably be better to have the separate commits as different PRs, as that would make the review panel a bit clear-er... But I looked at each commit individually, and I think it looks right.
@acfoltzer wanna take a look?

@seanmonstar sure thing, can you tag me as a reviewer so I don't lose track? Should be able to dig in early next week if that's alright

There is an actual bug now in httparse which makes invalid HTTP requests be accepted by the crate, could we hurry to get a new release?

I wonder if the existing behavior is vulnerable to response splitting, e.g. GET / HTTP/1.1\n\n: Foo\n\nBody; if config.allow_spaces_after_header_name_in_responses is enabled, would : Foo be parsed as a header instead of part of the body?

Will do, but there isn't anything in this PR that should be long to review 🤷🏻♂

https://github.com/seanmonstar/httparse/pull/115

I wonder if the existing behavior is vulnerable to response splitting, e.g. GET / HTTP/1.1\n\n: Foo\n\nBody; if config.allow_spaces_after_header_name_in_responses is enabled, would : Foo be parsed as a header instead of part of the body?

No, because the check for the first char being a valid header name char is separate, but now that you say this, I just realised I forgot to handle the first char being invalid, in this PR. I guess there was some nasty stuff to review after all hah!

Thank you!

Will do, but there isn't anything in this PR that should be long to review 🤷🏻♂

I want to make sure we have time to carefully understand the changes being made to the parser, and give some of my fuzzers time to chug on the new branch. After all, the impact if we get something wrong is pretty significant.

Beside the two specific areas of concern described below, I'm also wondering whether this level of permissiveness belongs in this API.

Yes it does, browsers do that so httparse should to.

Will modify my patch to take care of errors in values.

The interaction with obsolete line folding is a non-issue because additional lines must start with whitespace, and that's never considered a header name. I'll add a test which involves an invalid header that uses obsolete line folding though.

I also noticed yesterday that I didn't take care of header names whose very first char is invalid.

I've studied Chromium's code a bit more and the one thing it rejects is NUL chars. Everything else is ok.

Yes it does, browsers do that so httparse should to.
D'oh, of course browsers allow this :disappointed:

The interaction with obsolete line folding is a non-issue because additional lines must start with whitespace, and that's never considered a header name. I'll add a test which involves an invalid header that uses obsolete line folding though.

It looks like the new tests with folding address the problems I had in the original patch, nice!

I've studied Chromium's code a bit more and the one thing it rejects is NUL chars. Everything else is ok.

I see that there's now more of a description of behavior in the doc comment, thank you! I think it'd be worth enumerating a few more details there, like how it determines the end of the line to ignore, and how it interacts with folding and possibly the other options. Not quite to the level of an RFC with ABNF etc, but it would be nice to be very specific about what this allows.

@acfoltzer Improved the docs and added a test for request parsing.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in 15c8ae3.


Change directory path

<iframe src="<%= pdfjs.reduced_path(file: "/name.pdf") %>"> working perfect for Rails.root.to_s + "/public/" directory. But what i can do for get documents from Rails.root.to_s + "/upload/.../" folder

Hi @Qj7
Your question is not really related to this gem. pdfjs_viewer-rails requires the file to be accessible via an URL. Rails does not serve files outside public/. You have different possibilities to implement what you need:

Write a controller that authenticates and serves files from uplodas/
Configure Rails to publicly serve files in uploads/
Serve files in uploads/ through a web server like Apache or nginx.

There are tradeoffs for each approach. Please use a Rails support group or Stack Overflow to get further details on how to implement them.


RFC: Deserializing to a stream of tagged values

This is an RFC to convert Rust's deserialization framework to produce a stream of tagged values.

I'm going to close this RFC for now, since these ideas are embodied in @erickt's serde library. While this may eventually become part of std, for now it lives out of tree.


added partitionBy function to IntervalRDD

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-utils-prb/111/
Test PASSed.


Minor fixes for nightly 2018-08-18

LLD flag --export-table for wasm has been turned on by default rust-lang/rust#53237
feature(use_extern_macros) has been stabilized in the latest nightlies

Closing this to please CI, going to reopen a new one


Run go mod tidy. Remove unnecessary dependencies in go.mod and go.sum.

Minor cleanup. This was prompted by Jetbrains Goland when I opened the go.mod file.
I ran go mod tidy then go mod vendor. Vendor directory was already in a clean state, nothing changed.

Can one of the admins verify this patch?

/ok-to-test

@guillaumerose Should we add a target in the Makefile and check in the CI also or make it part of make vendor because in future this will again happen.

@guillaumerose Should we add a target in the Makefile and check in the CI also or make it part of make vendor because in future this will again happen.

@praveenkumar we do that on tektoncd/cli (and other tekton project) to validate that the vendor is always up-to-date :wink:

I added go mod tidy in the Makefile.
For the CI, the change is a little bit bigger. go mod verify doesn't still check the vendor/ directory. We need to have something like https://github.com/tektoncd/cli/blob/master/hack/verify-codegen.sh - should I copy this script ?

For the CI, the change is a little bit bigger. go mod verify doesn't still check the vendor/ directory. We need to have something like https://github.com/tektoncd/cli/blob/master/hack/verify-codegen.sh - should I copy this script ?

I agree we might need a script to fail the CI when vendor directory or the go.mod/sum doesn't match what it should be but that should be a different commit/PR.

Looking at other way to do it, can we delete the vendor/ directory ? Is there a reason to keep it ? Number of dependencies is low and public.

I added the script to verify the vendoring. PTAL.

thanks for the merge!


Don't automatically enable pattern synonyms extension

Hi,
As I understand it, hlint parses using haskell-src-exts and enables many extensions by default. Unfortunately, this can cause otherwise valid Haskell to fail to parse. As an example, consider the following:
module Pattern where

pattern :: String -> String
pattern = (++ "x")

This module compiles fine with ghc. Unfortunately, it triggers a parse error in hlint, viz.
Pattern.hs:3:9: Error: Parse error
Found:
    module Pattern where
  > pattern :: String -> String
    pattern = (++ "x")
1 hint

If, on the other hand, I run hlint -XNoPatternSynonyms everything works fine.
I'm not sure what the ideal solution would be here, but I think it might be good to disable pattern synonyms by default since it breaks valid Haskell2010.
Thanks!

Lots of extensions break a little bit of Haskell2010 in the edges - it's a balancing act figuring out whether you would get more stuff broken if you turn it on or off. For pattern synonyms I think it's probably a good idea to rename your code to avoid pattern, since a future Haskell might break it. It only breaks a small number of modules, so the overall feeling is that it should be on by default.
You can always pass it as a command line flag, or add it to .hlint.yaml, or even pass -XHaskell2010 if you think that is the right default for you.


ADD 2 animated GIF to be used in the wiki

I read the documentation earlier today and I saw {{{ Add image here }}} on the page
https://github.com/fontello/fontello/wiki/How-to-save-and-load-projects ...

Thank you! Could you place images to ./support/images path?

Off course! Done.


resource: Preserve color palette for PNG images

This commit will force a reprocessing of PNG images with new names, so it is adviced to run a hugo --gc to remove stale files.
Fixes #4416

@aitva the palette fix you suggested. The API is a little foreign to me, but I have tested it with the Hugo docs site and it works great. We should probably raise an issue at imaging to fix it there, but we might as well do this first.

Thank you, that was fast! :clap::clap::clap:
I looked at your code and it seems good to me. It is great to add a version to the image format. I will try the code and tomorrow I will open an issue at the imaging repo.


Some failed test cases in security black box test

@tingyuz, Please help take a look the failed test cases of security black box test when you have time.
Thanks.
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/allure/
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-ubuntu18.04-docker-arm64-4c-2g-master/allure/

It's interesting... Here is the result I just ran on my testing environment without such errors:
security-service-docker
❏ apigateway / Health Check
↳ 01 port 8000 missing token test
GET http://kong:8000/coredata/api/v1/ping [401 Unauthorized, 306B, 104ms]
✓  Port 8000 with missing token test
↳ 02 port 8001 admin port test
GET http://kong:8001/ [200 OK, 5.13KB, 7ms]
✓  Port 8001 served
✓  Has Content-Type
✓  Content-Type is application/json
↳ 03 port 8443 non-existing path test
GET https://kong:8443/ [404 Not Found, 241B, 33ms]
✓  Port 8443 not served
↳ 04 port 8443 SSL missing token test
GET https://kong:8443/coredata/api/v1/ping [401 Unauthorized, 306B, 3ms]
✓  Port 8443 with missing token test
↳ 05 port 8444 SSL admin port test
GET https://kong:8444/ [200 OK, 5.13KB, 13ms]
✓  Port 8444 served
✓  Has Content-Type
✓  Content-Type is application/json
❏ apigateway / Proxy Check
↳ 01 Unauthorized token proxy access test
GET https://kong:8443/coredata/api/v1/ping [401 Unauthorized, 306B, 3ms]
✓  Unauthorized Access Failure
↳ 02 valid token proxy access test coredata
GET https://kong:8443/coredata/api/v1/ping [200 OK, 217B, 419ms]
✓  Valid token access success
✓  Has Content-Type
✓  Content-Type is text/plain
✓  Body is correct
↳ 03 invalid token proxy access test metadata - OauthToken test
GET https://kong:8443/metadata/api/v1/ping [401 Unauthorized, 404B, 34ms]
✓  Unauthorized token access failure test
↳ 04 reading error test
PUT https://kong:8443/coredata/api/v1/reading [404 Not Found, 292B, 21ms]
✓  Status code is 404
↳ 05 POST reading test
POST https://kong:8443/coredata/api/v1/reading [200 OK, 248B, 12ms]
✓  Status code is 200
✓  Has Content-Type
✓  Content-Type is text/plain
❏ secretstore
↳ 01 health check
GET https://edgex-vault:8200/v1/sys/health [200 OK, 401B, 30ms]
✓  Secret store health check
✓  Has Content-Type
✓  Content-Type is application/json
✓  Vault is inited
✓  Vault is unsealed
↳ 02 mising vault keytest
GET https://edgex-vault:8200/v1/sys/key-status [400 Bad Request, 178B, 3ms]
✓  Missing secret store access check
✓  Has Content-Type
✓  Content-Type is application/json
✓  Missing token error
↳ 03 unauthorized vault key test
GET https://edgex-vault:8200/v1/sys/key-status [403 Forbidden, 173B, 17ms]
✓  Unauthorized secret store access check
✓  Has Content-Type
✓  Content-Type is application/json
✓  Permission denied test
↳ 04 valid vault key test
GET https://edgex-vault:8200/v1/sys/key-status [200 OK, 403B, 3ms]
✓  Unauthorized secret store access check
✓  Has Content-Type
✓  Content-Type is application/json
✓  vault key term test
┌─────────────────────────┬──────────┬──────────┐
│                         │ executed │   failed │
├─────────────────────────┼──────────┼──────────┤
│              iterations │        1 │        0 │
├─────────────────────────┼──────────┼──────────┤
│                requests │       14 │        0 │
├─────────────────────────┼──────────┼──────────┤
│            test-scripts │       28 │        0 │
├─────────────────────────┼──────────┼──────────┤
│      prerequest-scripts │       14 │        0 │
├─────────────────────────┼──────────┼──────────┤
│              assertions │       36 │        0 │
├─────────────────────────┴──────────┴──────────┤
│ total run duration: 1710ms                    │
├───────────────────────────────────────────────┤
│ total data received: 10.89KB (approx)         │
├───────────────────────────────────────────────┤
│ average response time: 50ms                   │
└───────────────────────────────────────────────┘

This was due to a bug introduced in #171. I have #180 to fix it and pending for verification.

the failed test cases still exist
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/allure/

Just took a look at the Jenkins log and it appears that there are some testing cases failed last night in job 43.
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/43/console
However the testing cases are all successful in the latest job 44.
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/44/console
taking a close look at the failed case in job 43 and noticed that the testing cases were failed due to the upstream microservices  ( coredata and metada) unavailable at that time.  Here is one sample failed test case.
08:41:20 security-service-docker
08:41:20
08:41:20 ❏ apigateway / Health Check
08:41:20 ↳ 01 port 8000 missing token test
08:41:20   GET http://kong:8000/coredata/api/v1/ping [404 Not Found, 241B, 120ms]
08:41:21   1. Port 8000 with missing token test
For the testing to be successful ( as a proxy) the upstream services need to be up. And it seems in job 44 the microservice are up and the test case is successful. Here is the log in job 44.
08:40:31 security-service-docker
08:40:31
08:40:31 ❏ apigateway / Health Check
08:40:31 ↳ 01 port 8000 missing token test
08:40:31   GET http://kong:8000/coredata/api/v1/ping [401 Unauthorized, 306B, 105ms]
08:40:31   ✓  Port 8000 with missing token test
Thanks,
Tingyu
From: cloudxxx8<EMAIL_ADDRESS>Sent: Saturday, March 16, 2019 2:55 AM
To: edgexfoundry/blackbox-testing
Cc: Zeng, Tingyu; Assign
Subject: Re: [edgexfoundry/blackbox-testing] Some failed test cases in security black box test (#179)
[EXTERNAL EMAIL]
the failed test cases still exist
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-security-centos7-blackbox-4c-2g-master/allure/
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHubhttps://github.com/edgexfoundry/blackbox-testing/issues/179#issuecomment-473506303, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ajb3eeT3_2H1Gec2wCwIO1_gkgO6NYp5ks5vXJUzgaJpZM4bs1VK.

security test passed on x86, thanks, @tingyuz


Self join issue

Hi everyone,
I'm trying to do a self join of two tables but since all the column names are duplicates only the column values of the second table are returned.
This is my query:
db.prepare("SELECT * FROM person AS p LEFT JOIN person AS f ON p.fatherId = f.id WHERE p.id = 1;").get();
I read through the API documentation but wasn't able to find anything that would solve this. I also tried the expand-function but it only wraps the result into one person object which doesn't help either. I also tried aliases for the SELECT part, but since the tables might get huge I don't to want to write an alias for each column.
Is there a elegant solution for this problem?
Thanks.

Does Statements.columns help? https://github.com/JoshuaWise/better-sqlite3/blob/master/docs/api.md#columns---array-of-objects

.expand(true)

.expand() won't work because that namespaces the result columns by table name, but in this case the conflicting columns are from the same table.
@Prinzhorn mentioned one possible solution, but you can also just be explicit about what you want to name things:
db.prepare(`
  SELECT
    p.id AS id,
    p.name AS name,
    f.id AS fatherId,
    f.name AS fatherName,
  FROM person AS p
  LEFT JOIN person AS f ON p.fatherId = f.id
  WHERE p.id = 1;
`).get();

I'm closing this as wontfix because there's no way to implement the desired functionality using the SQLite3 C API

@spazmodius Unfortunately, SQLite3 does not expose any API for getting a result column's table alias.


Svg Icons contain incorrectly formed dom property

Some svg icons utilize fill-opacity, this should be fillOpacity instead. Affected icons are:
./svg-icons/editor/border-color.jsx
./svg-icons/editor/format-color-text.jsx
./svg-icons/editor/format-color-fill.jsx
./svg-icons/action/schedule.jsx
./svg-icons/device/network-wifi.jsx
./svg-icons/device/signal-wifi-0-bar.jsx
./svg-icons/device/signal-cellular-connected-no-internet-1-bar.jsx
./svg-icons/device/battery-charging-80.jsx
./svg-icons/device/signal-cellular-0-bar.jsx
./svg-icons/device/battery-charging-60.jsx
./svg-icons/device/battery-60.jsx
./svg-icons/device/battery-charging-20.jsx
./svg-icons/device/signal-cellular-3-bar.jsx
./svg-icons/device/signal-cellular-2-bar.jsx
./svg-icons/device/battery-charging-50.jsx
./svg-icons/device/battery-50.jsx
./svg-icons/device/battery-20.jsx
./svg-icons/device/signal-cellular-connected-no-internet-2-bar.jsx
./svg-icons/device/signal-wifi-1-bar.jsx
./svg-icons/device/access-time.jsx
./svg-icons/device/battery-80.jsx
./svg-icons/device/signal-cellular-1-bar.jsx
./svg-icons/device/battery-90.jsx
./svg-icons/device/signal-cellular-connected-no-internet-3-bar.jsx
./svg-icons/device/battery-charging-90.jsx
./svg-icons/device/signal-wifi-3-bar.jsx
./svg-icons/device/signal-cellular-connected-no-internet-0-bar.jsx
./svg-icons/device/battery-30.jsx
./svg-icons/device/signal-wifi-2-bar.jsx
./svg-icons/device/network-cell.jsx
./svg-icons/device/battery-charging-30.jsx

@Nimaear I see, since JSX expects camelCase versions of attribute names. Care to submit a pull request with the changes?

Any update on this?


[Displaying]: stream engine

Is there an existing issue about this enhancement?

[X] I have checked the existing issues.

Describe the issue.
https://docs.matrixorigin.io/dev/MatrixOne/Overview/matrixOne-architecture-design/#streeam-engine

typo issue

Instead of Coming soon, please also add this description about this Stream Engine:
The streaming engine is a new component to ease users' streaming join ETL process from OLTP to OLAP. It is planned in the MatrixOne roadmap but not implemented yet.

https://github.com/matrixorigin/matrixorigin.io/pull/157


Custom Upload Action - Template, ISO, volume

[ ] Volume file upload
[ ] Template file upload
[ ] ISO file upload

Implement file uploading mechanism, the pattern is same for volume, template and isos. For example from old UI, for volume, template, iso:

Example reference of how to add a custom action form, you can see: https://github.com/apache/cloudstack-primate/pull/69/files
Upload component to use: https://www.antdv.com/components/upload/

@utchoang cc @svenvogel tagged for next tasks to consider. Thanks.

@utchoang lets start with this issue.

@rhtyd cc @svenvogel I would like to ask if it is to change the uploading mechanism only, or to create a form similar to the old UI for volumn, template and isos?

@utchoang i think the complete form. is this correct @rhtyd?

@utchoang @svenvogel it needs to be the full form with the upload button/component, as in the old UI. I advise you to start with the simpler task of #50 and #86 and reuse that form with the upload iso/template form (this ticket). By doing this you can get a feel for the action form and reuse parts of it in the upload iso/template form. What do you think @svenvogel ?

@utchoang i think like @rhtyd. if its better in the other way to start i would recommend to do that. you feel free to start here 😄

@rhtyd cc @svenvogel When I'm uploading volume from local for a test using file .qcow2, I get the following error message: "Failed to upload file due to system misconfiguration. Please contact admin."

@utchoang this is a tricky one as it requires an environment that can access SSVM public IP to upload the file, the reference/test server (acs.shapeblue.com) on port-forwards to the management server so you won't be able to access the internal ssvm public IP. The other issue is that this features requires the environment to be SSL enabled as the URL returned by the getUploadParamsForTemplate API is https enabled. For example as seen in dev tools:

The code for all of the upload feature (for uploading template, iso and volume) roughly follows this pattern:

Call to register the template/iso/volume via the getUploadParamsForTemplate/getUploadParamsForIso/getUploadParamsForVolume
This API returns post URL, and some secrets/signatures
The UI makes a HTTP post request of the file and receives 'upload successful' or some suitable message

For code reference you can see:
https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L796
You may try to implement this based on the above description and reference implementation from the old UI and I can help with testing. Let me know if you're unable to do so, in which case pick another task from the list (I'll ping you on the other tasks if you want)?

@rhtyd sounds good. Let’s change to the suggestion from you.

Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.
Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen Dank.
The contents of this e-mail (including any attachments) are confidential and may be legally privileged. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. Thank you.
Am 07.01.2020 um 04:51 schrieb Rohit Yadav<EMAIL_ADDRESS>
@utchoanghttps://github.com/utchoang this is a tricky one as it requires an environment that can access SSVM public IP to upload the file, the reference/test server (acs.shapeblue.com) on port-forwards to the management server so you won't be able to access the internal ssvm public IP. The other issue is that this features requires the environment to be SSL enabled as the URL returned by the getUploadParamsForTemplate API is https enabled. For example as seen in dev tools:
[Screenshot from 2020-01-07 09-03-41]https://user-images.githubusercontent.com/95203/71866693-1db65780-312d-11ea-9cc8-a0d07df50efc.png
The code for all of the upload feature (for uploading template, iso and volume) roughly follows this pattern:

Call to register the template/iso/volume via the getUploadParamsForTemplate/getUploadParamsForIso/getUploadParamsForVolume
This API returns post URL, and some secrets/signatures
The UI makes a HTTP post request of the file and receives 'upload successful' or some suitable message

[Screenshot from 2020-01-07 09-17-48]https://user-images.githubusercontent.com/95203/71867083-b3061b80-312e-11ea-8113-0ecceb8dc774.png
[Screenshot from 2020-01-07 09-17-58]https://user-images.githubusercontent.com/95203/71867084-b39eb200-312e-11ea-944b-c1580201c8c0.png
For code reference you can see:
https://github.com/apache/cloudstack/blob/master/ui/scripts/templates.js#L796
You may try to implement this based on the above description and reference implementation from the old UI and I can help with testing. Let me know if you're unable to do so, in which case pick another task from the list (I'll ping you on the other tasks if you want)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/apache/cloudstack-primate/issues/62?email_source=notifications&email_token=ABJOT5BAF2ZN4N5JTGE2EZTQ4P32FA5CNFSM4JYF4ZD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIHTHKA#issuecomment-571421608, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABJOT5HNYSTKYOUMADZE47LQ4P32FANCNFSM4JYF4ZDQ.

Guys same error here,any detailed solutions?

@rhtyd what do you think about this?

@Android1968 this feature requires SSL/TLS certificates to be setup in the env for SSVM. The screen shots are from legacy UI, if SSVM is SSL enabled it should work with Primate.

@Android1968 this feature requires SSL/TLS certificates to be setup in the env for SSVM. The screen shots are from legacy UI, if SSVM is SSL enabled it should work with Primate.

Thanks fo the info @rhtyd,do you have any link on how to do this in 4.13 release of Cloudstack?i find it hard because the resources are so limited for this version,thanks again mate!

Read the docs @Android1968 http://docs.cloudstack.apache.org/en/latest/adminguide/systemvm.html#using-a-ssl-certificate-for-the-console-proxy


Add configurable User-Agent

Currently particle-api-js sends User-Agent: node-superagent/1.8.3
The default should be particle-api-js/${version}. For different applications it would be useful to be able to set this value.

See #10

Thanks for the link. Making the user agent configurable with a default for node.js usage would be useful since we want to use particle-api-js in the CLI and Dev.


Align form field (with and without label)

Is there away to align two form field, one with label and one without label?

The problem here is there is no label on second column so you may add a margin/padding only to these input or use inline label instead of top label...
https://getbootstrap.com/docs/3.3/css/#forms-inline


Removing references to filteringTerms URL both in EntryTypeDefinition…

Removing references to filteringTerm URLs in EntryType and in Map schemas

Bumping tis -> @redmitry & @costero-e ...

True @redmitry. We are developing the new BN UI and we will take this into account, thanks!


What is the use of Spacy library here?

In the notebook you declared a blank spacy model. And then never used it. What was it even part of the project?

Oh yes I forgot to remove that. I was initially using that for sentence
segmentation of the corpus. But then I did it in a different way.
On Thu, 9 Sep 2021 at 2:18 AM, Ritwik Mishra @.***>
wrote:

In the notebook you declared a blank spacy model. And then never used it.
What was it even part of the project?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Areesha-Tahir/Urdu-Poetry-Generation-Using-N-Grams-BackwardBigram-BidirectionalBigram-In-Python/issues/1,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATSBP5NEQU56VATWK7BIYYDUA7HI5ANCNFSM5DVWWDOA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

AFAIK urdu does not uses punctuations to mark sentence boundaries
So how you performed sentence segmentation?


synchronize ecs-logging spec

What
ECS logging specs automatic sync
Why
Changeset

https://github.com/elastic/all/commit/760f1f4 Remove .log suffix from default event.dataset (https://github.com/elastic/all/pull/63)

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2021-08-30T14:23:12.088+0000

Duration: 15 min 9 sec

Commit: cd3400bcba5b4e0ead5a03a12708b686a6e91e07

Test stats :test_tube:

Test
Results

Failed
0

Passed
80

Skipped
0

Total
80

Trends :test_tube:

closing in favor of: https://github.com/elastic/ecs-dotnet/pull/181