Different forms of website in browsers

Different forms of website in Mozilla Firefox and Google Chrome.
At first, they have different fonts.
Secondly, as you can see, there aren't icons under "You can contact me via:" in some case.
This form has your web site http://yulijia.net/freshman21 in Google Chrome:

This form has your web site http://yulijia.net/freshman21 in Mozilla Firefox:

This form has clone of your github project https://github.com/yulijia/freshman21 in Mozilla Firefox:

I tried to open another website with your theme. And there are such differences too.
This form has web site http://croniqueslinux.github.io in Google Chrome:

This form has web site http://croniqueslinux.github.io in Mozilla Firefox:

Sorry to have bothered you, I solved my problem with icons under "You can contact me via:" by adding the line in file _includes/head.html:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

@RAlexeev  css file is ./freshman21/css/main.scss
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">

you could change it to 4.7.0

Thank you very much! It helped me!


Banner

One of the best things about a CLI application is Banner.
We want to create a great banner for Notya, it could be a banner similar to the example below.

@Onurhan1337 When It'll appear? On calling only notya, and notya help?
And also we could add a simple command to show only banner - e.g notya banner

@theiskaa  A charming flag will greet us at the first opening of Notya.
it will be best for us to create a flag called notya-banner. In other flags, it will be a better choice to not have a flag so that the user can have a comfortable experience.


feat(module:spin): now supports fullscreen

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[✔] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

The spin component in our current version does not have the fullscreen mode feature that antd provides.
Issue Number: N/A
What is the new behavior?
The spin component has a new input property called nzFullscreen, which enables the display of a backdrop with the spin component when set to true.
Does this PR introduce a breaking change?
[ ] Yes
[✔] No

Other information

This feature involves several design tokens, and we may need more work to support it.
https://github.com/ant-design/ant-design/blob/03409af97f8fa8b32acad7a388eb3fd8640c7c35/components/spin/style/index.ts#L67-L92
WDYT? @simplejason @OriginRing

This feature involves several design tokens, and we may need more work to support it. These design tokens may also affect our style synchronization work. https://github.com/ant-design/ant-design/blob/03409af97f8fa8b32acad7a388eb3fd8640c7c35/components/spin/style/index.ts#L67-L92
WDYT? @simplejason @OriginRing

I am not clear about what you mean by design tokens. Do you mean the style changes that make the spin component white? How does this affect the feature and the style synchronization work? Can we use the current design tokens until we support the new ones?

Hey folks! Now that v19 landed, could this be considered again?
Having a full-screen backdrop blocking UI interactions would remove the need for additional logic and thus clean up code.


plan review for MP Metrics 5.1

@donbourne please add the ballot result to your PR

@Emily-Jiang , I've added results from the ballot to the PR.  ready to merge?


rename owncloud web client id from phoenix to web

rename client_id from phoenix to web
readd assets/identifier/index.html build step removed it again since yarn is not available in drone

Please re-re-generate the kopano assets. Somehow the version in this PR doesn't contain the official logo on the konnectd login page.

Somehow it doesn't work. No matter what I do... :thinking:

Please re-re-generate the kopano assets. Somehow the version in this PR doesn't contain the official logo on the konnectd login page.

Somehow it doesn't work. No matter what I do... thinking

The solution was to do the yarn step before the assets step because the yarn step overrides the logo and favicon.


[stable/rabbitmq-ha] not working in HA mode with istio 1.03/1.05 permissive

this a request for help :)
Version of Helm and Kubernetes:
Helm version v2.13.0
Kubernetes version v1.11.7-gke.4
Which chart:
rabbitmq-ha chart
istio 1.03/1.05
What happened:
When installing managed istio in gcp (version 1.03 from what i can see with mtls PERMISSIVE) rabbitmq-ha stopped discovering all the nodes and stopped working in HA mode each node now stands solo.
I also tried this with istio helm chart version 1.05 with mtls enabled (1.06 is broken from what i've been told by google staff) and this also happens.
What you expected to happen:
rabbitmq-ha discovery keeps on working
How to reproduce it (as minimally and precisely as possible):
k8s gcp cluster with istio (permissive) (checkbox when creating a cluster in UI).
install rabbitmq-ha chart with 3 replicas with persistent volume.
see management to check if all 3 nodes are discovered.
Anything else we need to know:
i tried excluding the ports from istio with a policy as per a suggestion i found online.
my app that connects to the rabbit does reach the service and can communicate with it properly
but queues are now distributed across all 3 nodes instead of being cloned on each node and working in HA mode.
apiVersion: authentication.istio.io/v1alpha1
kind: Policy
metadata:
name: disable-mtls-test-gke-rabbitmq-ha
namespace: default
spec:
targets:

name: test-gke-rabbitmq-ha
ports:

number: 4369

name: test-gke-rabbitmq-ha
ports:

number: 25672

name: test-gke-rabbitmq-ha
ports:

number: 5672

name: test-gke-rabbitmq-ha
ports:

number: 15672
peers:

i do not see any errors are attempts of node discovery from rabbitmq-ha.
when installing chart in namespace with no istio everything is working properly and nodes are discovered .
Thanks for the help

Since it works without Istio, this is more of a question on how to configure Istio. You should direct such questions to Istio support channels. All I can tell you is in order for rabbitmq to properly cluster it needs DNS of the service to resolve and it needs the epmd port (default 4369) to be reachable between the rabbitmq nodes.


Running Cortx on Oracle VM VirtualBox

Regarding to the Documentation Cortx on OVA
It seems that the released OVA file can run just fine on Oracle VM VirtualBox, I am wondering if there's any reason that no instructions are given for setup on Oracle VM VirtualBox?
Also, correct me if I'm wrong, running VMWare Workstation requires license fee and I think Oracle VM would be a great alternative?
*Tested on Windows 10 Desktop.

@VenkyOS, Can you check & verify from Oracle VirtualBox?
@harrison-seow-seagate,

Also, correct me if I'm wrong, running VMWare Workstation requires license fee and I think Oracle VM would be a great alternative?
You dont require VMware Workstation license as such for testing, you can even test with the trial version as well and would suggest to use the same

@VenkyOS, Can you check & verify from Oracle VirtualBox?
@harrison-seow-seagate,

Also, correct me if I'm wrong, running VMWare Workstation requires license fee and I think Oracle VM would be a great alternative?
You dont require VMware Workstation license as such for testing, you can even test with the trial version as well and would suggest to use the same

@mukul-seagate11 - I will look into this.
@harrison-seow-seagate - You are correct. Workstation does not require license for testing. OVA can be tested on WorkStation using the trial version. Information about Oracle VirtualBox was not documented initially. I will talk to the team and get the document updated.
Thanks

@mukul-seagate11 - I will look into this.
@harrison-seow-seagate - You are correct. Workstation does not require license for testing. OVA can be tested on WorkStation using the trial version. Information about Oracle VirtualBox was not documented initially. I will talk to the team and get the document updated.
Thanks

Although I was able to get it running on Oracle VM VirtualBox, I had to boot the rescue OS and rename Network Devices, but other than that, S3 seems to work just fine from the testing.

Although I was able to get it running on Oracle VM VirtualBox, I had to boot the rescue OS and rename Network Devices, but other than that, S3 seems to work just fine from the testing.

@harrison-seow-seagate , submitting a PR to add the missing documentation for Oracle VM VirtualBox would be a great contribution!  👍

@harrison-seow-seagate , submitting a PR to add the missing documentation for Oracle VM VirtualBox would be a great contribution!  👍

@johnbent - Can this issue be closed?

@johnbent - Can this issue be closed?

Sure.  It can be closed.  Thanks.

From: VenkyOS<EMAIL_ADDRESS>Sent: Tuesday, January 5, 2021 9:23 PM
To: Seagate/cortx<EMAIL_ADDRESS>Cc: John Bent<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Seagate/cortx] Running Cortx on Oracle VM VirtualBox (#539)
@johnbenthttps://github.com/johnbent - Can this issue be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Seagate/cortx/issues/539#issuecomment-755068917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAPT2PXCZYUL6GMR3TVT5KTSYPQTBANCNFSM4VUYRYWQ.

Sure.  It can be closed.  Thanks.

From: VenkyOS<EMAIL_ADDRESS>Sent: Tuesday, January 5, 2021 9:23 PM
To: Seagate/cortx<EMAIL_ADDRESS>Cc: John Bent<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Seagate/cortx] Running Cortx on Oracle VM VirtualBox (#539)
@johnbenthttps://github.com/johnbent - Can this issue be closed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/Seagate/cortx/issues/539#issuecomment-755068917, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAPT2PXCZYUL6GMR3TVT5KTSYPQTBANCNFSM4VUYRYWQ.

A PR has been raised in this regard.

A PR has been raised in this regard.


Testing Recipes - Timers: call useFakeTimers/userRealTimers before/after each test

Reason:
Fixing the documentation regarding testing recipes - Timers by calling useFakeTimers before each test. For clarity, I also added  userRealTimers after each test.
Tests

CLA signed

My pleasure: )


IsQuitOnWindowAllClosed changes don't work!

Version: 19.6.1 (from source code, master branch)

Target: windows-x64

The cases where I changed IsQuitOnWindowAllClosed in my application and accessed the application via System Tray even when there was no window, stopped working when I compiled it with updated code. I couldn't see any noticeable change in the differences but I have no idea why it's not working.
Has anyone encountered this problem?

I updated the content of the issue as I realized that the original problem was elsewhere.

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!


(chore): exclude modified ansible source files from sonar analysis

Signed-off-by: ksatchit<EMAIL_ADDRESS>
What this PR does / why we need it:

Skips analysis on the modified ansible source files (plugins, utils) and restrict it to project functionality specific python code

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Checklist

[ ] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

Related to #1091


Update env.template

Resolves: https://github.com/atlanticwave-sdx/sdx-lc/issues/87
Delete the old env, and add new env.template.

Might want to update docker-compose.yml also (similar to how it is done in SDX Controller) so that it picks up values from .env?

Yes true, updated docker-compose.yml as well. Requesting another look, just to make sure I didn't make mistakes.

I did a source env.template && docker compose up --build, but the app failed to run because the app did not wait for MongoDB service to become available.  It seems that we need this under sdx-lc service:
    depends_on:
      my-mongodb:
        condition: service_started

... and a healthcheck under my-mongodb:
    healthcheck:
      test: echo 'db.runCommand("ping").ok' | mongo ${MONGO_HOST}:${MONGO_PORT}/test --quiet

Also, MONGO_HOST should be my-mongodb service (docker networking name), not localhost.  This could be a change in env file or compose file. (In sdx-controller's compose file, I actually hard-coded the docker service name, because that almost always works reliably, and I don't have to change environment variables to run the test suite.)
With those changes, the service is up and running.  I haven't actually tested other things (like publishing a topology over the message queue), so I can't vouch for those things.
Couple of other recommendations:

This might be a good time to switch to MongoDB 7.0.5, because 3.7.9 is too old and there are warnings about using it because it is considered a development version.  MongoDB 7.0.5 that is what we use in sdx-controller.
Also, in sdx-controller, docker-compose.yml has been renamed to just compose.yml, because that is the preferred name: https://docs.docker.com/compose/compose-application-model/.

@congwang09 I can't do another approval unless you request another review (there's a tiny little button on this page for that). Feel free to merge this now, if you want to. I can address the little issues in a follow-up.

Another suggestion is to use Docker volumes (https://docs.docker.com/storage/volumes/) for MongoDB persistence, which we use in sdx-controller, with something like the below in compose.yml:
services:
  mongodb:
    volumes:
      - type: volume
        source: mongodb
        target: /data/db:Z

volumes:
  mongodb:

I did a source env.template && docker compose up --build, but the app failed to run because the app did not wait for MongoDB service to become available. It seems that we need this under sdx-lc service:
    depends_on:
      my-mongodb:
        condition: service_started

This part is very strange, this PR didn't change the dependencies. Is the main branch building correctly? If we do need the depends_on part, I'll do a separate PR. So if something goes wrong, we can simply revert the PR.

... and a healthcheck under my-mongodb:
    healthcheck:
      test: echo 'db.runCommand("ping").ok' | mongo ${MONGO_HOST}:${MONGO_PORT}/test --quiet

Also, MONGO_HOST should be my-mongodb service (docker networking name), not localhost. This could be a change in env file or compose file. (In sdx-controller's compose file, I actually hard-coded the docker service name, because that almost always works reliably, and I don't have to change environment variables to run the test suite.)

Sounds good. Updated.

With those changes, the service is up and running. I haven't actually tested other things (like publishing a topology over the message queue), so I can't vouch for those things.
Couple of other recommendations:

This might be a good time to switch to MongoDB 7.0.5, because 3.7.9 is too old and there are warnings about using it because it is considered a development version.  MongoDB 7.0.5 that is what we use in sdx-controller.
Also, in sdx-controller, docker-compose.yml has been renamed to just compose.yml, because that is the preferred name: https://docs.docker.com/compose/compose-application-model/.

This will also go into a separate PR, since it's different topic, so we can revert the PR if something goes wrong.

@congwang09 I can't do another approval unless you request another review (there's a tiny little button on this page for that). Feel free to merge this now, if you want to. I can address the little issues in a follow-up.

I have requested another review (5 days ago), so there's no more "request review" button, but yeah this doesn't block merging.

docker compose build will work just fine, but chances are docker compose up will not.  If it did, it was likely connecting to an already-running MongoDB instance on localhost:27017, not the one brought up by compose.

Seems that the testbed LC hosts have MongoDB processes running on localhost. That should explain how it worked so far, I think.
In order to avoid confusion, we should also try not to expose MongoDB port outside of compose.

I have requested another review (5 days ago), so there's no more "request review" button, but yeah this doesn't block merging.

In that case either I did not receive a notification, or I have failed in GitHub. Sorry!
I think we can go ahead and merge this now, and we can make other changes separately.  I would like to have the dependencies resolved, but even that could be a separate change.
Also, we should stop any unintended/unused MongoDB process on the testbed.  I think testing things in a "cleaner" environment (locally or in a temporary VM) will help us catch these things, at least when in doubt.

I have requested another review (5 days ago), so there's no more "request review" button, but yeah this doesn't block merging.

In that case either I did not receive a notification, or I have failed in GitHub. Sorry!

No worries! I was just referring back to the request.

I think we can go ahead and merge this now, and we can make other changes separately. I would like to have the dependencies resolved, but even that could be a separate change.

Sounds good. I'm merging the PR for now. Will address the comments in the follow ups.

Also, we should stop any unintended/unused MongoDB process on the testbed. I think testing things in a "cleaner" environment (locally or in a temporary VM) will help us catch these things, at least when in doubt.

Yes I'll double check that.


Adding new events, and a few tests to match.

This change is

PTAL @roboerikg

Review status: 0 of 3 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: 0 of 3 files reviewed at latest revision, 4 unresolved discussions.

blocklydemo/src/main/java/com/google/blockly/android/demo/DevTestsActivity.java, line 67 [r1] (raw file):

    protected CodeGenerationRequest.CodeGeneratorCallback mCodeGeneratorCallback =
            new LoggingCodeGeneratorCallback(this, TAG);
    protected LogAllEventsListener mEventsListener = new LogAllEventsListener("BlocklyEvents");

s/Listener/Callback

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 654 [r1] (raw file):

        checkPendingEventsEmpty();

        boolean rootFoundAndRemoved = removeRootBlock(block, true);

Why doesn't this use the impl pattern that the other public methods use?

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 896 [r1] (raw file):

            } else {
                // Store the original location of the remainder.
                remainderMove = new BlocklyEvent.MoveEvent(mWorkspace, remainderBlock);

You never call remainderMove.recordNew() or addPendingEvent(remainderMove)

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 1133 [r1] (raw file):

        }

        firePendingEvents();

remove firePendingEvents.

Comments from Reviewable

Review status: 0 of 5 files reviewed at latest revision, 4 unresolved discussions.

blocklydemo/src/main/java/com/google/blockly/android/demo/DevTestsActivity.java, line 67 [r1] (raw file):
Previously, RoboErikG wrote…
> s/Listener/Callback

Done.

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 654 [r1] (raw file):
Previously, RoboErikG wrote…
> Why doesn't this use the impl pattern that the other public methods use?

Nothing else would need to call trashRootBlockImpl().

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 896 [r1] (raw file):
Previously, RoboErikG wrote…
> You never call remainderMove.recordNew() or addPendingEvent(remainderMove)

Done.

blocklylib-core/src/main/java/com/google/blockly/android/control/BlocklyController.java, line 1133 [r1] (raw file):
Previously, RoboErikG wrote…
> remove firePendingEvents.

Whoops. Came in from merge.

Comments from Reviewable

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


User Profiles

Each user should have a profile. This profile will have some public and some screened information.

Public information visible to the entire organization:

[ ]  Full name
[ ]  Picture Photo
[ ]  DOB
[ ]  Telegram
[ ]  email address
[ ]  Joining date
[ ] Location (which office)
[ ] Reporting to
[ ] Skills, trainings and courses achieved and link to certificates (if available)

Information visible to supervisor and admin and user:

[ ] Mobile number
[ ] checklist of provided official docs (@nayer-sobhy to provide the checklist)
[ ] End of probation period (a link to the evaluation form)
[ ] Social insurance number
[ ] Team (Dev-QA-Ops-Marketing-Management-Accounting)
[ ] Annual balances remaining (Annuals-emergencies-excuses and public)
[ ] Company properties that have been given to (laptop, bag, screen, sim card,....
[ ] Regular evaluation scores with links to evaluations

information visible only to Admin and user:

[ ] Benefits
[ ] Net Salary before joining (optional)
[ ] Joining Salary (optional)
[ ] Current Salary NET
[ ] Current Salary GROSS

as I understand the evaluation links will be global as peer 2 peer form or reverse form, e.g. Mahmoud, Reem, and Thabet will request the same link and it depends on the request user email, so how we can set the score to an exacting user? also the link to his evaluation?? is this will provided by the admin or supervisor?

the evaluations each user sees in their profile is the the one by their team lead
this will be indeed provided by the admin/supervisor
links to the forms of peer to peer or reverse evalution can be added

@aliasaddik
implemented?
in case not yet, please update this issue.

Regarding the backend :

Two endpoints ( get all users and get one specific user's info) are implemented for any logged-in user to view public information visible to the entire organization.
Two endpoints ( get all users and get one specific user's info) are implemented for any supervisor to view information visible to supervisor and admin and user along with all more general info.
Four endpoints ( get all users, get one specific user's info, update and delete a user) are implemented for any admin to view and edit information visible only to Admin and user along with all more general info.
Two endpoints (get my info and update some info) are implemented for any loggedin user to view and edit their own info.
the fields a user can edit are  email, telegram username, birthday, social_insurance_number, mobile number.

So I will close this issue as implemented!


.NET 4.5 and async

Hi,
I forked  your library and upgraded to .NET 4.5, as well as adding async methods for all the various REST endpoints. Would you like me to create separate versions so the current .NET 4.0 can still be targeted, or would you be happy if I created a pull request and the latest version dropped support for older .NET versions?
Thanks!

Just to say it was only upgraded to .NET 4.5 to get the async/await usage, not .NET 4.6.1

I'e also started adding the missing API methods too.

This all sounds fantastic. I think dropping .NET 4.0 and below in favour of 4.5 and above is probably fine. Chances are there will always be someone who needs .NET 4.0 support, but more and more libraries are dropping support and I see no reason to not do the same.
I'd be happy to receive a pull request and to roll these changes into the next release on Nuget.

Great! I'll finish up adding the rest of the methods and then create a PR.
Also, some of the integration tests are failing, as I guess the data has changed. I am not sure what to do about them.

Hmm that's odd. I'll have a look at those when I get a chance - I can't remember off the top of my head, but I'm fairly sure I used data that ought to be fairly stable. Maybe they need revisiting. :-)

I think it's just quite minor tweaks. For example in LookupLatLon_simple_query_returns_populated_response the error is
Expected: "GU1 1AA"
But was:  "GU1 9ZZ"

But the expected postcode GU1 1AA is actually returned, it just seems that the order of the postcodes in the response is random. So I guess I can just check to make sure that GU1 1AA is returned somewhere in the list.

I think you might be right there, it sounds correct to me. The mistake was probably mine in that I made assumptions regarding order...


Stage -> Master

Update SLPDB balance related queries for SLPDB 1.0 compatibility.

Pull Request Test Coverage Report for Build 2746

0 of 0   changed or added relevant lines in 0 files are covered.
383 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 65.993%

Files with Coverage Reduction
New Missed Lines
%

dist/routes/v2/slp.js
383
43.55%

Totals

Change from base Build 2719:
-0.09%

Covered Lines:
2337

Relevant Lines:
3348

💛  - Coveralls


shutdown runlevel executed at boot since kernel 5.13

at least on my systemd-based linuxes (arch, opensuse).
I had to delete all from this runlevel, otherwise I can no longer boot with openrc.
No problem with kernels until 5.12.x

systemd, udev and dracut-git updated - everything works again at least on opensuse. was one of these.


Set content / Default content - Text align styles doesn't apply

Version
suneditor - 2.43.8
suneditor-react - 3.4.0,
Setting a default value with setContents or defaultValue for the editor applies all styles, but does not apply text alignment, for example:
defaultValue='
'
setContents='
'
The default values in the example are the ones I store from the editor when I edit and get the code produced.
Additional context
Example of the issue: https://codesandbox.io/s/suneditor-issue-uxhcq9?file=/src/App.js

The 2.43.9 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.


How to use persian calander?

https://jsfiddle.net/tj2Lo4z7/
Your Environment

flatpickr version used:
Browser name and version:
OS and version:

@mohammadsafavi i wonder did you find anyway ?! currently everything is working as locale but the dates itself is wrong !


Material You / Material3

Addresses https://github.com/ouchadam/small-talk/issues/111

Upgrades to material3
Enable Material You via opt in settings toggle

MESSAGES
ROOM
SETTINGS

MESSAGES
ROOM
SETTINGS

This looks awesome!!


[Bug] fix broken links

Page link
https://kyverno.io/docs/
Description
https://github.com/kyverno/website/actions/runs/10768867809/job/29873569042?pr=1339#step:3:58
## Errors per input

### Errors in content/en/policies/other/mitigate-log4shell/mitigate-log4shell.md

* [404] [https://logging.apache.org/log4j/2.x/security.html](https://logging.apache.org/log4j/2.x/security.html) | Failed: Network error: Not Found

### Errors in content/en/_index.md

* [ERR] [https://bestpractices.coreinfrastructure.org/projects/5327](https://bestpractices.coreinfrastructure.org/projects/5327) | Failed: Network error: error sending request for url (https://www.bestpractices.dev/projects/5327)
* [ERR] [https://bestpractices.coreinfrastructure.org/projects/5327/badge](https://bestpractices.coreinfrastructure.org/projects/5327/badge) | Failed: Network error: error sending request for url (https://www.bestpractices.dev/projects/5327/badge)

Expected behavior
Links work.
Slack discussion
No response

Looks like log4j link has been changed. Other two links are passing linkchecker now

I think I added that to the PR but not sure why it was not closed.


Add getConnectionUri convinience function for Postgres

Resolves #448

Hi @nikeee, thanks for raising! Apologies for the bad timing but we've recently re-structured the docs. Would you mind please resolving the conflict + updating the docs for this new feature here? https://github.com/testcontainers/testcontainers-node/blob/main/docs/modules/postgresql.md
You can run the docs locally with npm run docs:serve

Done, could you check if it's ok?

@nikeee Excellent, thank you!


Changing the baseurl or basepath from command line or config file?

I'm trying to run filemanager on its own port and behind an nginx proxy. (I want to type in website.com/admin and have it go to the filemanager UI)
However, when I go to that page, only the index.html loads and every other asset is 404 (because it's looking for website.com/app.js instead of website.com/admin/app.js.
I have spent 3 hours doing all sorts of nginx sub_filter configs but nothing seems to work.
Is there a way for me to tell filemanager that the baseurl should be website.com/admin?

Running using Caddy or command line?

Command line:
filemanager -p 42634 --staticgen hugo

Just to be clear and helpful, I would want to enter something like this:
filemanager -p 8080 --staticgen hugo --baseurl "/admin"
Or something like that.
Alternatively, in the config file:
{
  "port": 8080,
  "noAuth": false,
  "address": "<IP_ADDRESS>",
  "baseurl": "/admin"
}

Yes, I'll do something like that. Although I'm not going to be home for the
next 3 days so I don't know if I can publish that change until Monday.
On Fri, Sep 1, 2017, 3:01 AM dstreet26<EMAIL_ADDRESS>wrote:

Just to be clear and helpful, I would want to enter something like this:
filemanager -p 8080 --staticgen hugo --baseurl "/admin"
Or something like that.
Alternatively, in the config file:
{
"port": 8080,
"noAuth": false,
"address": "<IP_ADDRESS>",
"baseurl": "/admin"
}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hacdias/filemanager/issues/226#issuecomment-326467490,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFMdsHFqUwYZ8tOZggIuwpTp8vVcC23Wks5sd2VZgaJpZM4PJG-_
.

Available on 1.2.8. The flag's --baseurl.

Now the response that I get is 404 Not Found for the index page.
I have tried:

"admin"
"/admin"
"admin/"
"/admin/"

I have tried with both the docker version and the command-line version.
I also went back and tried to proxy the normal docker container without the "baseurl" option and got the same result as before (index page loads, but all assets are 404)
I can open up a separate issue...

I was able to get what I want with caddy.
https://mywebsite.com
gzip
log caddylog.log
root public
hugo
filemanager /admin

tls {
    dns digitalocean
}

I know what the problem is. I have a BaseURL and a PrefixURL, which are different things. PrefixURL is the part of the URL which is stripped from the request before it comes to File Manager and this is what you want because the program is running behind a proxy. I'll add the new flag now 😄 And then you don't need to use caddy if you don't want to.

Just pushed v1.2.8. It will build and the binaries will be available soon. I'll ask you to try running filemanager --prefixurl=/admin 😄 Sorry for the troubles.

Now I can't launch filemanager:
filemanager -p 42634 --staticgen hugo  --baseurl "/admin"
unable to redefine 'p' shorthand in "filemanager" flagset: it's already used for "port" flagpanic: unable to redefine 'p' shorthand in "filemanager" flagset: it's already used for "port" flag

goroutine 1 [running]:
github.com/spf13/pflag.(*FlagSet).AddFlag(0xc4200ea2d0, 0xc420196be0)
        /home/travis/gopath/src/github.com/spf13/pflag/flag.go:827 +0x45a
github.com/spf13/pflag.(*FlagSet).VarPF(0xc4200ea2d0, 0x13c9b40, 0x14053a0, 0xabb812, 0x9, 0xab5a72, 0x1, 0xabc01a, 0xa, 0xc420196b40)
        /home/travis/gopath/src/github.com/spf13/pflag/flag.go:784 +0x120
github.com/spf13/pflag.(*FlagSet).VarP(0xc4200ea2d0, 0x13c9b40, 0x14053a0, 0xabb812, 0x9, 0xab5a72, 0x1, 0xabc01a, 0xa)
        /home/travis/gopath/src/github.com/spf13/pflag/flag.go:790 +0x8e
github.com/spf13/pflag.StringVarP(0x14053a0, 0xabb812, 0x9, 0xab5a72, 0x1, 0x0, 0x0, 0xabc01a, 0xa)
        /home/travis/gopath/src/github.com/spf13/pflag/string.go:53 +0xaa
main.init.1()
        /home/travis/gopath/src/github.com/hacdias/filemanager/cmd/filemanager/main.go:56 +0x378
main.init()
        /home/travis/gopath/src/github.com/hacdias/filemanager/cmd/filemanager/main.go:244 +0x9d

Sorry 😞 V1.2.9 on its way. I'm so sorry.

It works!
For other people who might have this problem, here is my nginx config and command-line settings:
server {
    listen 80;
    server_name mywebsite.com www.mywebsite.com;
    return 301 https://$host$request_uri;
}

server {
        listen 443 ssl;
        server_name mywebsite.com www.mywebsite.com;

        #<SSL Stuff

        root /usr/share/nginx/html;
        index index.html index.htm;
        server_name localhost;

        location / {
            try_files $uri $uri/ =404;
        }

        location ~ /.well-known {
                allow all;
        }

        location /admin {
                proxy_pass http://localhost:42634;
        }
}

filemanager -p 42634 --staticgen hugo  --baseurl "/admin"

😄


support for report generate command

https://lambdatest.atlassian.net/browse/MLE-5021
lambdatest-cypress report-generate --build-id <build_id>

not required


[BUG] Cant save cluster with edit as yaml, corrupts encryption.yaml

Rancher Server Setup

Rancher version: rancher/rancher:v2.6.2
Installation option (Docker install/Helm Chart):

Production setup is rke
Reproducable with just a local development setup.

Start rancher container.
Start docker:dind and link it to register a machine for a cluster

Proxy/Cert Details:
No Proxy, default container.

Information about the Cluster
rancher_cluster/resource definition:
{
    "name": name,
    "enableNetworkPolicy": False,
    "rancherKubernetesEngineConfig": {
        "kubernetesVersion": "v1.21.8-rancher1-1",
        "services": {
            "etcd": {
                "extraArgs": {
                    "election-timeout": "5000",
                    "heartbeat-interval": "500"
                }
            },
            "kubeApi": {
                "secretsEncryptionConfig": {
                    "customConfig": {
                        "apiVersion": "apiserver.config.k8s.io/v1",
                        "kind": "EncryptionConfiguration",
                        "resources": [
                            {
                                "providers": [
                                    {
                                        "aescbc": {
                                            "keys": [
                                                {
                                                    "name": "key1",
                                                    "secret": "c2VjcmV0IGlzIHNlY3VyZQ=="
                                                }
                                            ]
                                        }
                                    }
                                ],
                                "resources": [
                                    "secrets"
                                ]
                            }
                        ]
                    },
                    "enabled": True
                }
            }
        },
        "ingress": {
            "extraArgs": {
                "default-ssl-certificate": "ingress-nginx/ingress-default-cert"
            },
            "options": {
                "error-log-level": "crit"
            }
        }
    }
}

User Information
Default rancher container, nothing special.
Describe the bug
Editing a cluster with edit as yaml in the rancher ui cluster management, will add defaults to the encryption.yaml.
This will lead to a kube-apiserver that will not continue to start and a cluster state that ends up with a error.
To Reproduce

Start rancher
docker run -d --rm -p 443:443 --privileged --name rancher "rancher/rancher:v2.6.2
Create api token for admin.
Set the hostname to http://rancher in the global settings.
We create a cluster through the api and register a encryption provider.
This will create a encryption.yaml without aesgcm, kms or secretbox
You can probably get the same result to create a cluster through the ui and go to step 7.
Register a machine with all roles
docker run --privileged -d --name test-cluster --link rancher:rancher docker:dind
Take note of the local EncryptionConfiguration on the machine.
/etc/kubernetes/ssl/encryption.yaml

# /etc/kubernetes/ssl/encryption.yaml
apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
resources:
- providers:
  - aescbc:
      keys:
      - name: key1
        secret: c2VjcmV0IGlzIHNlY3VyZQ==
  resources:
  - secrets

Open the edit as yaml on the cluster.
Hit Safe, with no changes.
Wait for the new encryption config.

#/etc/kubernetes/ssl/encryption.yaml
apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
kind: EncryptionConfiguration
resources:
- providers:
  - aescbc:
      keys:
      - name: key1
        secret: c2VjcmV0IGlzIHNlY3VyZQ==
    aesgcm:
      keys: []
    identity: {}
    kms:
      endpoint: ""
      name: ""
    secretbox:
      keys: []
  resources:
  - secrets

Result
EncryptionConfiguration with default providers that are empty.
Rancher/Kubernetes does not like this and goes into an error state.
Error: error while parsing encryption provider configuration file "/etc/kubernetes/ssl/encryption.yaml":
error while parsing file: [resources[0].providers[0]: Invalid value: config.ProviderConfiguration  {AESGCM:(*config.AESConfiguration)(0xc0006bfd40), AESCBC:(*config.AESConfiguration)(0xc0006bfd28),
Secretbox:(*config.SecretboxConfiguration)(0xc0006bfd58), Identity:(*config.IdentityConfiguration)  (0x78d2290),
KMS:(*config.KMSConfiguration)(0xc000c15020)}: more than one provider specified in a single element,
should split into different list elements, resources[0].providers[0].kms.name:
Required   value: name is a mandatory field for a provider, resources[0].providers[0].kms.endpoint:
Invalid value: "": endpoint is a mandatory field for a kms]

Expected Result
The kube-apiservers are restarted without errors.
Additional context
Workaround to fix it:

Edit the cluster crd from the management cluster with kubectl
Never hit the save button in the rancher UI again.

export KUBECONFIG=<RANCHER_LOCAL_CLUSTER>
kubectl edit clusters.management.cattle.io <CLUSTER_ID>

Still an issue in v2.6.5


RuntimeError: Failed to fetch any data from dataloader after refresh.

When I trained the stage4, I met an error. How to address it?
Train: data epoch: [0]  [   0/1000]  eta: 2:15:24  lr: 0.000001  loss: 10.6312  time: 8.1247  data: 0.0000  max mem: 9246
Train: data epoch: [0]  [  50/1000]  eta: 0:30:10  lr: 0.000001  loss: 8.0872  time: 0.6961  data: 0.0000  max mem: 15709
Traceback (most recent call last):
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/datasets/datasets/dataloader_utils.py", line 159, in next
data = next(self.iter_loader)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/datasets/datasets/dataloader_utils.py", line 163, in next
data = next(self.iter_loader)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/autodl-tmp/Project/TinyGPT-V/train.py", line 104, in
main()
File "/root/autodl-tmp/Project/TinyGPT-V/train.py", line 100, in main
runner.train()
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/runners/runner_base.py", line 377, in train
train_stats = self.train_epoch(cur_epoch)
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/runners/runner_base.py", line 437, in train_epoch
return self.task.train_epoch(
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/tasks/base_task.py", line 116, in train_epoch
return self._train_inner_loop(
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/tasks/base_task.py", line 207, in _train_inner_loop
samples = next(data_loader)
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/datasets/datasets/dataloader_utils.py", line 45, in next
return next(self.loaders[loader_idx])
File "/root/autodl-tmp/Project/TinyGPT-V/minigpt4/datasets/datasets/dataloader_utils.py", line 165, in next
raise RuntimeError('Failed to fetch any data from dataloader after refresh.')
RuntimeError: Failed to fetch any data from dataloader after refresh.

Hi
It may be caused by a setting error in the dataloader; could you please check which dataset got wrong in detail?


Windows: Pass temp environment through

Signed-off-by: John Howard<EMAIL_ADDRESS>@swernli @jfrazelle @tianon @ahmetalpbalkan
This PR is part of the proposal described in issue 10662 to port the docker daemon to Windows.
There's a problem when running the integration tests on a Windows machine (client) targeting a Linux daemon. Eventually go test goes through the following call-stack to create a temporary directory in the format go-build123456789

ioutils.TempDir("", "go-build")
os.TempDir()
syscall.GetTempPath()
win32::GetTempPathW()

If you take a look at the Win32 documentation for GetTempPathW at https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992(v=vs.85).aspx, it states the order in which the path is chosen is based, in order, on TMP, TEMP, USERPROFILE, the Windows directory.
Without this fix, it means that running the tests is attempting to create directories under c:\windows. This fails unless the user is elevated (against best practices). Even then, it's really not a good idea putting temporary junk in your Windows directory!
I suspect your Azure Windows machines might be filling up with junk under the %windows% directory until this fix is merged - work checking :) Same applies for fake-contextnnnnnnnnn and docker-test-git-reponnnnnnnnn directories. (I also suspect you might have UAC turned off on those machines on account of this???)

@jhowardmsft this is fundamentally an issue with os.Tempdir() implementation of Go. It's great if we fix that here, but would be much better if you can bring this up in golang repo as well.

Actually, I disagree :) GoLang can only at the end of the day follow OS syscall fundamentals, which in this case, it's doing the right thing as TMP/TEMP aren't set due to the way in which the call is made. This is the right fix IMO

@jhowardmsft ah I thought syscall.GetTempPath() was doing the evaluation, if it's done down at win32 layer this change makes sense. LGTM.

ping @jfrazelle @tianon for hack (and build servers)

LGTM

LGMT


Slider in Firefox

Is this project still under active development? Seems the slider doesn't work in Firefox, but no console errors to speak of. Tried firefox Windows, Mobile Android, and Linux, same thing. Chrome slider works fine.
Edit: Edited to remove PWA part, I found PWA in the code the more I dug.

Thanks you for the feedback. The project is unfortunately no longer being actively developed. However if you wish to propose a pull request, I can still review/approve.
Yes there is PWA support, but without TLS YMMV.
I've moved on to using the Node-RED dashboard. But I would still like to have these widgets on that platform.


IMPORTANT: How to fix the input blocking bug

Just comment these lines (1246, 1247) in the lib's js file:
        addEvent(document, EVENT_KEY_DOWN, this.handleKeydown);
         addEvent(document, EVENT_KEY_UP, this.handleKeyup);
If you have already written all the code and don't have the ability to switch to another library, this trick seems to do the job.

Thank you for this tip

Check out this https://stackoverflow.com/questions/60871872/vue-range-slider-making-page-not-scrollable-on-mobile

Remove installed package from npm:
"vue-range-component": "^1.0.3"
Add directly from Github
"vue-range-component": "xwpongithub/vue-range-slider"

Would be nice if the fix was just relased.

Yes, I have the same issue. It disables/blocks the keyboard input for the select input component (https://vue-select.org/) that I'm using. Please release the fix, thank you!

thanx 🙏

thanx 🙏

Remove installed package from npm:
"vue-range-component": "^1.0.3"
Add directly from Github
"vue-range-component": "xwpongithub/vue-range-slider"

it seems this thread has been deleted?

Remove installed package from npm: "vue-range-component": "^1.0.3"
Add directly from Github "vue-range-component": "xwpongithub/vue-range-slider"

Hands down to this 🙌 . Thanks!!


Fix llvm-config path on MacOS

This is a continuation of #188 .  Tests passed on Travis CI now. Please give it a review at your convenience. cc @ihnorton @rsrock

Looks like the path is still wrong on Travis :thinking: , I will look into this tonight.

@ihnorton I still got errors with the latest master:
┌ Error: Error building `Clang`:
│ ==> Installing llvm from staticfloat/juliatranslated
│ ==> Downloading https://homebrew.bintray.com/bottles/llvm-6.0.1.high_sierra.bottle.tar.gz
│ Already downloaded: /Users/gnimuc/Library/Caches/Homebrew.jl/llvm-6.0.1.high_sierra.bottle.tar.gz
│ ==> Pouring llvm-6.0.1.high_sierra.bottle.tar.gz
│ ==> Caveats
│ To use the bundled libc++ please add the following LDFLAGS:
│   LDFLAGS="-L/Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/opt/llvm/lib -Wl,-rpath,/Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/opt/llvm/lib"
│
│ This formula is keg-only, which means it was not symlinked into /Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr,
│ because macOS already provides this software and installing another version in
│ parallel can cause all kinds of trouble.
│
│ If you need to have this software first in your PATH run:
│   echo 'export PATH="/Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/opt/llvm/bin:$PATH"' >> ~/.zshrc
│
│ For compilers to find this software you may need to set:
│     LDFLAGS:  -L/Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/opt/llvm/lib
│     CPPFLAGS: -I/Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/opt/llvm/include
│
│ ==> Summary
│ 🍺  /Users/gnimuc/.julia/packages/Homebrew/l8kUw/deps/usr/Cellar/llvm/6.0.1: 2,613 files, 1.3GB
│ [ Info: Called Clang.jl: find_llvm
│ [ Info: No system llvm-config: ErrorException("failed process: Process(`which llvm-config`, ProcessExited(1)) [1]")
│ [ Info: Searching for LLVM in system Homebrew
│ ┌ Warning: No llvm or llvm-config found in system homebrew!
│ └ @ Main ~/.julia/dev/Clang/deps/build.jl:40
│ [ Info: Attempting install through Homebrew.jl
│ ERROR: LoadError: No useable llvm-config found
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] find_llvm() at /Users/gnimuc/.julia/dev/Clang/deps/build.jl:23

yeah, it would be nice to merge this firstly and then switch to BB+LLVMBuilder later.


Use array expansion compatible with older bash

Older bash treats empty arrays as unset, and so exits the hook with an unbound variable in some places where empty arrays are acceptable.
There's an excellent stackoverflow answer which documents the safest way to do this:
https://stackoverflow.com/a/61551944
This adjusts all usage of array expansions to use the suggested idiom, ${arr[@]+"${arr[@]}"}
Fixes #91.

I've folded in your feedback @toote, thanks!


Update ordering

Clump together the OSG elements and move OSCF to the bottom
https://opensciencegrid.atlassian.net/browse/EC-135

Makes the order:

HTC
dHTC
HTCSS
OSG Consortium
OSPool
OSDF
OSCF


add fast_finish

Coverage remained the same at 100.0% when pulling dd2561292ea3387436f6a6d6d84bc1453b8bc417 on chylli:chylli/fast_finish into a1c0cb7b7e3d763de4d0cf5186edf3367047352e on binary-com:master.


State converter doesn't always get the right import strings

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Currently the terraform state converter assumes that the import string for each resource is that resources ID.
This is not actually true, for example @jaxxstorm tried to import an "aws:ec2:Route":
 aws:ec2:Route (public_internet_gateway-0):
    error: Preview failed: importing r-rtb-02a2262371ebeb7311080289494: unexpected format of ID ("r-rtb-02a2262371ebeb7311080289494"), expected ROUTETABLEID_DESTINATION

We should work out how to cover resources like this in the converter, probably requiring new information in the mapping files.
Affected area/feature

I was building the following sample terraform codebase to propose a change in import naming. However, I experienced this same error on my sample codebase and had to use different resources for my example.
provider "aws" {
  profile = var.aws_profile
  region  = "us-west-2"
}

resource "random_string" "default" {
  length  = 16
  numeric = false
  special = false
  upper   = false
  lower   = true
}

resource "aws_ssm_parameter" "s3" {
  name  = format("/%s/foo", random_string.default.result)
  type  = "String"
  value = "bar"
}

resource "aws_s3_bucket" "s3" {
  bucket = format("example-bucket-%s", random_string.s3.result)
}

resource "aws_s3_bucket_object" "s3" {
  bucket = aws_s3_bucket.s3.id
  key    = "my-object"
  source = "main.tf"
}

resource "aws_s3_access_point" "s3" {
  name   = "my-access-point"
  bucket = aws_s3_bucket.s3.id
}

pulumi import --from terraform terraform.tfstate
error: Preview failed: importing my-object: id my-object should be in format <bucket>/<key> or s3://<bucket>/<key>

Just a thought here, could those mappings be go-templates?
E.g. for this
case "aws_ecs_service":
	cluster, err := getString(resource.Addr.Resource, obj, "cluster")
	if err != nil {
		return nil, err
	}
	name, err := getString(resource.Addr.Resource, obj, "name")
	if err != nil {
		return nil, err
	}
	parts := strings.Split(cluster, "/")
	id = fmt.Sprintf("%s/%s", parts[len(parts)-1], name)`

it could be something like:
aws_ecs_service = `{{ $s := (split .cluster "/") }}{{ index $s (sub (len $s) 1) }}/{{ .name }}`

With split and sub and other useful functions added with a funcMap.
This is a working test program
package main

import (
	"os"
	"strings"
	"text/template"
)

func main() {
	var funcMap = template.FuncMap{
		"split": strings.Split,
		"sub": func(x int, y int) int {
			return x - y
		},
	}
	var obj = map[string]interface{}{
		"cluster": "useless/part/prefix",
		"name":    "cluster-name",
	}
	var tpl, err = template.New("test").Funcs(funcMap).Parse(`{{ $s := (split .cluster "/") }}{{ index $s (sub (len $s) 1) }}/{{ .name }}`)
	if err != nil {
		panic(err)
	}
	err = tpl.Execute(os.Stdout, obj)
	if err != nil {
		panic(err)
	}
}

could those mappings be go-templates?

Probably, that was my first thought for this as well.


Add display support to DietPi OS

possible candidates with GPIO:
RaspberryPi - default Elegoo LCD
Odroid XU4 with Waveshare screen
Rock64 - limited driver support

ordered a simple HDMI screen to be tested with all three SBC-s above
￡13.11  5%OFF | 3.5 inch LCD HDMI USB Touch Screen Real HD 1920x1080 LCD Display Py for Raspberri 3 Model B / Orange Pi (Play Game Video)MPI3508
https://s.click.aliexpress.com/e/bx6vHaa5

Done:
https://github.com/openoms/raspiblitz/commit/6cdb7801cb85b60bd93e46797283e2e58de7fb40

https://github.com/rootzoll/raspiblitz/issues/244#issuecomment-475311433


It contains integration with service spec builder and service creation.

Pull Request Test Coverage Report for Build 5673

12 of 31 (38.71%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 43.269%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
5
24
20.83%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/executor/container/KubernetesContainerizedImpl.java
1
35.07%

Totals

Change from base Build 5672:
-0.01%

Covered Lines:
14858

Relevant Lines:
34339

💛  - Coveralls


Nominate @IamLizu to the triage team

I would like to nominate @IamLizu to join the triage team 🎉
He has been a great help with triaging issues and PRs, and has also contributed to other areas of the project, such as documentation.
He previously expressed interest in this role: https://github.com/expressjs/express/issues/5766 :)

Seems like opened the PR against my fork, so I close this one.


feat(services/gcs): support batch delete for gcs

Via batch api

Could update onto the base branch?

Tests failed for:
[2023-04-27T14:01:47Z ERROR opendal::services] service=gcs operation=batch-delete count=3 -> failed: Unexpected (permanent) at batch => signing http request

    Context:
        called: reqsign::Sign
        service: gcs

    Source: request without authority is invalid for signing

[2023-04-27T14:01:47Z DEBUG opendal::services] service=gcs operation=scan path=b64195e8-5a4c-4e56-a3f0-a16cf369e299/x/ -> all entries read finished
Error: Unexpected (persistent) at batch, context: { called: reqsign::Sign, service: gcs } => signing http request, source: request without authority is invalid for signing

Caused by:
    request without authority is invalid for signing

failures:
    services_gcs::list_test_remove_all

The returning response is also a multipart instead json. Maybe we should implement the multipart-mixed request and response feature in http_util frist.

The returning response is also a multipart instead json. Maybe we should implement the multipart-mixed request and response feature in http_util frist.
Wait for #2152

Feel free to close this PR, I will fix the response as multipart after #2152 implemented.

The returning response is also a multipart instead json. Maybe we should implement the multipart-mixed request and response feature in http_util frist.
Wait for #2152

Feel free to close this PR, I will fix the response as multipart after #2152 implemented.

👀Just keep as draft. Don't worry.


Fixes #16: Adds profile page

Changes and improvements

Fixes #16
Builds a profile page of current logged user.
Adds tabs , avatar from shadcn ui
adds one new route /api/getUserProfile/{userId}
adds new env

NEXT_PUBLIC_URL=https://localhost:3000

https://github.com/user-attachments/assets/94a84c24-33b6-40b5-92ad-2aa57927e59e

Hello @notsoocool,
Please review the PR again

do the required changes and your PR will be ready to merge

@notsoocool  relative paths like /api/getUserProfile do not work in server components.

No worries use the client component instead

Good eveing @notsoocool
I did some fix. Let me know if it works


Iss 295 validator crash when def structure not present

The PR adds fix for Issue 295. A new flag has been added to select either to validate schema or not. The flag can be used with --validate_xml or -vx in test command of core.py. Default value of flag is True
To test case when schema is invalid or specifically def: structure is missing and schema validation flag is set to true. Perform following steps:

Copy content of SEND_define_DM_test_defStructure_absent.xml and paste in the define.xml file
run command: python3 -m core test -s sendig -v 3.1 -r tests/resources/CoreIssue295/SEND4.json -dp tests/resources/CoreIssue295/dm.json -dv 2.1
A error message due to failed schema validation should be printed during the execution
verify that the summary page in the generated file contains schema validation error

To test case when schema is invalid or specifically def: structure is missing and schema validation flag is set to False. Perform following steps:

Copy content of SEND_define_DM_test_defStructure_absent.xml and paste in the define.xml file
run command: python3 -m core test -s sendig -v 3.1 -r tests/resources/CoreIssue295/SEND4.json -dp tests/resources/CoreIssue295/dm.json -dv 2.1 -vx no
No error message should be printed even though schema validation fails
verify that the summary page in the generated file is empty and the rule in the rules report page is marked skipped

For crosscheck the case when schema is valid perform following steps:

Copy content of SEND_define_DM_test_defStructure_present.xml and paste in the define.xml file
run command: python3 -m core test -s sendig -v 3.1 -r tests/resources/CoreIssue295/SEND4.json -dp tests/resources/CoreIssue295/dm.json -dv 2.1
verify that the summary page in the generated file do not contains any schema validation error

QA: While doing the 3rd step, I am getting an exception on Windows. This issue may be unrelated to this pull request, so we may want to log a new issue:
[ERROR 2023-10-10 14:38:34,738 - console_logger.py:47] - Error occurred during validation.
                Error: 'NoneType' object has no attribute 'variables'. Error message: 'NoneType' object has no attribute 'variables'
Traceback (most recent call last):
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\rules_engine.py", line 158, in validate_single_rule
    result: List[Union[dict, str]] = self.validate_rule(
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\rules_engine.py", line 224, in validate_rule
    dataset = builder.get_dataset()
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\dataset_builders\base_dataset_builder.py", line 68, in get_dataset
    dataset: pd.DataFrame = self.build()
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\dataset_builders\variables_metadata_with_define_dataset_builder.py", line 35, in build
    content_metadata: pd.DataFrame = self.data_service.get_variables_metadata(
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\services\data_services\dummy_data_service.py", line 94, in get_variables_metadata
    for i, variable in enumerate(dataset.variables):
AttributeError: 'NoneType' object has no attribute 'variables'
  [████████████████████████████████████]  100%
Output: CORE-Report-2023-10-10T14-38-34

I believe the issue is caused by this line:
https://github.com/cdisc-org/cdisc-rules-engine/blob/aa03ff0a35cfa6b7f35a0cfb77d2fa603016383b/cdisc_rules_engine/services/data_services/dummy_data_service.py#L51
Note that a similar filesystem issue also exists on this line:
https://github.com/cdisc-org/cdisc-rules-engine/blob/aa03ff0a35cfa6b7f35a0cfb77d2fa603016383b/cdisc_rules_engine/services/data_services/dummy_data_service.py#L46

QA: While doing the 3rd step, I am getting an exception on Windows. This issue may be unrelated to this pull request, so we may want to log a new issue:
[ERROR 2023-10-10 14:38:34,738 - console_logger.py:47] - Error occurred during validation.
                Error: 'NoneType' object has no attribute 'variables'. Error message: 'NoneType' object has no attribute 'variables'
Traceback (most recent call last):
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\rules_engine.py", line 158, in validate_single_rule
    result: List[Union[dict, str]] = self.validate_rule(
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\rules_engine.py", line 224, in validate_rule
    dataset = builder.get_dataset()
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\dataset_builders\base_dataset_builder.py", line 68, in get_dataset
    dataset: pd.DataFrame = self.build()
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\dataset_builders\variables_metadata_with_define_dataset_builder.py", line 35, in build
    content_metadata: pd.DataFrame = self.data_service.get_variables_metadata(
  File "C:\Users\GerryCampion\Code\cdisc-rules-engine\cdisc_rules_engine\services\data_services\dummy_data_service.py", line 94, in get_variables_metadata
    for i, variable in enumerate(dataset.variables):
AttributeError: 'NoneType' object has no attribute 'variables'
  [████████████████████████████████████]  100%
Output: CORE-Report-2023-10-10T14-38-34

I believe the issue is caused by this line:
https://github.com/cdisc-org/cdisc-rules-engine/blob/aa03ff0a35cfa6b7f35a0cfb77d2fa603016383b/cdisc_rules_engine/services/data_services/dummy_data_service.py#L51
Note that a similar filesystem issue also exists on this line:
https://github.com/cdisc-org/cdisc-rules-engine/blob/aa03ff0a35cfa6b7f35a0cfb77d2fa603016383b/cdisc_rules_engine/services/data_services/dummy_data_service.py#L46

Update, I see line 51 is going to be fixed here: https://github.com/cdisc-org/cdisc-rules-engine/pull/540
And line 46 is not used


[Snyk] Fix for 19 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

docs/package.json
docs/package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-BROWSERSLIST-1090194
No
Proof of Concept

726/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 8.1
Remote Code Execution (RCE) SNYK-JS-ETA-2936803
No
Proof of Concept

484/1000  Why? Has a fix available, CVSS 5.4
Cross-site Scripting (XSS) SNYK-JS-ETA-3261240
No
No Known Exploit

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-HTTPCACHESEMANTICS-3248783
No
Proof of Concept

601/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.6
Prototype Pollution SNYK-JS-IMMER-1540542
No
Proof of Concept

641/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 6.4
Prototype Pollution SNYK-JS-JSON5-3182856
No
Proof of Concept

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-LOADERUTILS-3042992
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Prototype Pollution SNYK-JS-LOADERUTILS-3043105
No
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-LOADERUTILS-3105943
No
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-MINIMATCH-3050818
No
No Known Exploit

506/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Prototype Pollution SNYK-JS-MINIMIST-2429795
No
Proof of Concept

589/1000  Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS) SNYK-JS-NORMALIZEURL-1296539
No
No Known Exploit

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-POSTCSS-1090595
No
Proof of Concept

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-POSTCSS-1255640
No
Proof of Concept

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-PROMPTS-1729737
No
Proof of Concept

676/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.1
Improper Privilege Management SNYK-JS-SHELLJS-2332187
No
Proof of Concept

619/1000  Why? Has a fix available, CVSS 8.1
Remote Code Execution (RCE) SNYK-JS-SHELLQUOTE-1766506
No
No Known Exploit

479/1000  Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-TERSER-2806366
No
No Known Exploit

586/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS) SNYK-JS-WS-1296835
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: @docusaurus/theme-classic
    The new version differs by 250 commits.

2a9e8f5 v2.0.0
2ef40c2 chore: Netlify branch deploys should only deploy default locale "en" (#7788)
d88f248 chore: add Netlify config for major version branch deploys (docusaurus-v2 branch) (#7787)
e4fc47b Merge branch 'main' into docusaurus-v2
7f40350 chore: fix codesandbox playgrounds, use Node.js 16 version (#7784)
1065e55 refactor(core): log Docusaurus & Node version before exiting (#7781)
965a01e chore: port-2.0.0-rc.1 (#7782)
e78a15e chore: ci tests should run on version branches "docusaurus-vX" (#7783)
c751bc6 chore: regen v2.0.0-rc.1 examples (#7780)
d255389 chore: prepare v2.0.0-rc.1 release (#7778)
443914a docs: add Bruce Wiki website to showcase (#7770)
f913af0 docs: release process, versioning, breaking changes, public API surface (#7706)
9788944 refactor(theme): fix duplicate page metadata usage (#7777)
c48f338 fix(core): swizzle --eject js should not copy theme .d.ts files (#7776)
c3d2e0d fix(sitemap): complete gracefully when all pages have noIndex meta (#7774)
665c311 chore: bump Infima to 0.2.0-alpha.42, fix a:hover link bug (#7771)
1899a2e docs: add EverShop website to showcase (#7765)
542228e fix(deploy): revert "feat(deploy): copy local git config to tmp repo (#7702)" (#7750)
a4b4a7f fix(migrate): import siteConfig with file extension (#7766)
337463a chore(theme-translations): complete ko translations (#7762)
9467da6 chore(deps): bump actions/setup-node from 3.3.0 to 3.4.0 (#7764)
cba8be0 fix(theme-classic): validate options properly (#7755)
636d470 refactor(core): use has instead of get to test for existence in ExecEnv (#7763)
f21dadf docs: add StackQL Provider Registry to showcase (#7760)

See the full diff

Package name: @docusaurus/theme-search-algolia
    The new version differs by 250 commits.

2a9e8f5 v2.0.0
2ef40c2 chore: Netlify branch deploys should only deploy default locale "en" (#7788)
d88f248 chore: add Netlify config for major version branch deploys (docusaurus-v2 branch) (#7787)
e4fc47b Merge branch 'main' into docusaurus-v2
7f40350 chore: fix codesandbox playgrounds, use Node.js 16 version (#7784)
1065e55 refactor(core): log Docusaurus & Node version before exiting (#7781)
965a01e chore: port-2.0.0-rc.1 (#7782)
e78a15e chore: ci tests should run on version branches "docusaurus-vX" (#7783)
c751bc6 chore: regen v2.0.0-rc.1 examples (#7780)
d255389 chore: prepare v2.0.0-rc.1 release (#7778)
443914a docs: add Bruce Wiki website to showcase (#7770)
f913af0 docs: release process, versioning, breaking changes, public API surface (#7706)
9788944 refactor(theme): fix duplicate page metadata usage (#7777)
c48f338 fix(core): swizzle --eject js should not copy theme .d.ts files (#7776)
c3d2e0d fix(sitemap): complete gracefully when all pages have noIndex meta (#7774)
665c311 chore: bump Infima to 0.2.0-alpha.42, fix a:hover link bug (#7771)
1899a2e docs: add EverShop website to showcase (#7765)
542228e fix(deploy): revert "feat(deploy): copy local git config to tmp repo (#7702)" (#7750)
a4b4a7f fix(migrate): import siteConfig with file extension (#7766)
337463a chore(theme-translations): complete ko translations (#7762)
9467da6 chore(deps): bump actions/setup-node from 3.3.0 to 3.4.0 (#7764)
cba8be0 fix(theme-classic): validate options properly (#7755)
636d470 refactor(core): use has instead of get to test for existence in ExecEnv (#7763)
f21dadf docs: add StackQL Provider Registry to showcase (#7760)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)
🦉 Remote Code Execution (RCE)
🦉 Cross-site Scripting (XSS)
🦉 More lessons are available in Snyk Learn

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


Set route aliases in the route definition instead of using Yii::setAlias

I think would be better to set alias in the route structure in order to keep everything together.
http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html#url-suffixes (at the end of paragraph).
'rules' => [
    [
        'pattern' => 'posts',
        'route' => 'post/index',
        'alias' => 'posts',
    ],
],

Otherwise, I have to write \Yii::setAlias('') for every route.

Yep. Could be implemented.

Why do you need an alias for URL route?
For me, this sounds like abusing the alias feature.
URL rules serve for URL creation. Any URL for particular controller/action should be composed using createUrl(), not by Yii::getAlias().

Agree with @klimov-paul
Proposed change increases coupling and might be implemented as standalone extension

There's one use case where using route aliases (also known as named routes) are helpful. It's chaning controller names or action names or moving action into another controller. Of course, you can find-replace ['oldcontroller/oldaction' everywhere but I was asked multiple times about aliases because people want to refactor controllers and actions w/o changing createUrl params.
Personally I won't use it.

Agree with @samdark , exactly for this reason.

There's one use case where using route aliases (also known as named routes) are helpful. It's chaning controller names or action names or moving action into another controller.

Sounds twisted. The result program code will be unreadable: there will be no way to determine which controller particular createUrl() actually refers to.
I am against of adding such feature to the core.

Yes, of course, it adds extra step when debugging: going to rules list and checking which rule has an alias. That's why I won't use it myself but it seems people want it and are OK with this extra lookup. @yurikosan is that the case?

@klimov-paul the thing is that it's already possible and the change proposed makes it easier for people who already use it.

@klimov-paul you are right only if use of aliases would by mandatory. And why you are not against of using aliases declared via \Yii::setAlias('') ?
@samdark, @klimov-paul OK, It is possible to live without it, it's just convenient, "dirty" habit from Symfony.

Let's wait for more people to ask for it.

Any URL for particular controller/action should be composed using createUrl(), not by Yii::getAlias()
+1

P.S. PHPStorm can help you to autocomplete for alias name in arrays:
Yii::$app->params['your-alia(CTRL+SPACE)']; . For this reason, I prefer to use params instead getAlias

@githubjeka I meant this use case from http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html#creating-urls :
echo Url::to(['@posts']);

It is the only way to aliasing routes and it's from an official manual.
Therefore route named as '@posts' can be used only after setting Yii::setAlias('@posts', 'posts/index') (e.g), isn't it?
So what's the difference between adding Yii::setAlias('@posts', 'posts/index') and additional element of route's array?

For me it is strange behavior at least.

@githubjeka using params for this case seems to me a great idea, as for me.

I agree, that if framework has oportunity of using aliases in Url::to it will be more convenienty to have possibility to set alias in rule.
ps for example in django exist such possibility: https://docs.djangoproject.com/en/1.9/topics/http/urls/#examples

@quantum13 it's already supported.

@samdark did you mean, that key 'alias' already supported in rule array and it didn't noted in this topic?

No. Using aliases in Url::to is supported.

@samdark yes, I know it. I talked about key 'alias' in rule array. Maybe I didn't say clearly anough..

Won't be implemented in 2.0.


Algorithm for txn hashing

Base58Check input limit is 8192, too short for Snapps
Consider Base64

I propose chunking it and concatenating the base58-checks of each

For a 27k bytes instance:
    let encoded = B58.encode mina_alphabet long_bytes in
    let encoded_str = Bytes.to_string encoded in
    let chars = Bytes.to_list long_bytes in
    let rec get_chunks acc cs =
      match List.split_n cs 8192 with
      | l1, [] ->
          List.rev (l1 :: acc)
      | l1, l2 ->
          get_chunks (l1 :: acc) l2
    in
    let chunks = get_chunks [] chars |> List.map ~f:Bytes.of_char_list in
    let reassembled = List.concat (List.map chunks ~f:Bytes.to_list) in
    Format.eprintf "REASSEMBLES<EMAIL_ADDRESS>([%equal: char list] chars reassembled) ;
    let encoded_chunks = List.map chunks ~f:(B58.encode mina_alphabet) in
    let encoded_chunks_str =
      List.map ~f:Bytes.to_string encoded_chunks |> String.concat
    in
    Format.eprintf "SAME<EMAIL_ADDRESS>(String.equal encoded_str encoded_chunks_str)

prints true for reassembling, false for equality of the encodings.

To decode, we have to know where the "stitches" are. A length prefix would work, but would not be backwards-compatible.


[Bug] Providing --argumentfile is unuseful when default .robocop file exist

What happened?
If default .robocop file exist, the another config file witch is set as  --argumentfile from command line, is ignored. So I can't execute robocop with other configurations if default .robocop file exist in main directory.
Operating System
Linux
Robocop version
2.5.0, 2.6.0

Overriding configuration file should be possible so it's definitely a bug - I will investigate. Thanks!

It looks like it's outcome of several changes in the configuration file handling - where we wanted user to be able to use default configuration file while overriding some options in the cli. Hovewer it backfired us in a way where now where there is default configuration file in the directory it will be always loaded and some options (like --include, --exclude) cannot be overrided but only extended.
I think it would be best to still allow user adding some options from cli, ie:
robocop --verbose

which should load default configutation file and add verbose flag. But if user specify argument file in the cli then we  should not attempt to  search for the default configuration file.
Also, it looks like only ".robocop" file and not "pyproject.toml" file can be loaded using "-A/--argumentfile" option. It would be good to be able to load toml files using cli as well (I will open separate issue for it).


Display issue, small mouse cursor in Spyder 3.1.4 on 4K display on ubuntu 16.04.

The mouse cursor is very small when hoovering over Spyder window on a HiDPI (4K) display
What steps will reproduce the problem?

Use spyder 3.1.4 from anaconda
Use on ubuntu 16.04 with a 4K display

What is the expected output? What do you see instead?
Mouse cursor changes size from regular to very small when entering over the Spyder window.
The mouse cursor should not change size when inside Spyder window. It should remain the same size.
Please provide any additional information below
Versions and main components

Spyder Version: 3.1.4
Python Version: 3.6
Qt Version: ??
PyQt Version: 5
Operating system: ubuntu 16.04

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.9.0     :  0.10.2 (OK)
matplotlib >=1.0 :  2.0.2 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
pandas >=0.13.1  :  0.20.1 (OK)
pep8 >=0.6       :  1.7.0 (OK)
psutil >=0.3     :  5.2.2 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.6 (OK)
sympy >=0.7.3    :  1.0 (OK)

Thanks for reporting. I think this will be fixed in Spyder 3.2, to be released in a couple of weeks.
If not, please reopen this issue.

I still have this issue using Spyder 3.2.8 on Ubuntu 16.04 with a 4K display, should it be fixed?


Mentioning bots with own name as a role doesn't work

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a plugin or theme

Describe the Bug
When trying to mention the bots Pokétwo or Crabstero in a server, it automatically defaults to the role of the same name instead of the bot. This is only happening with bots who have their own name as a role, and disappears when the role name is changed.
When I type "@Pokétwo" it brings up a menu above the typing box, where I can click on two options to mention either the bot Pokétwo (Profile picture, nickname and tag) or the role Pokétwo (only "@Pokétwo"). I click on the bot, but it automatically 'corrects itself' to the role instead. Copy-pasting "@Pokétwo#8236" instead fixes it and changing the bot's role name to something different fixes it.
Expected Behavior

I expected that clicking "ROV Kiel" (the nickname for Pokétwo) would let me mention the bot instead of the role, but it 'corrects' itself to mention the role (similar to autocorrect).
Steps To Reproduce

Disable all themes, plugins and custom CSS
Have a bot (or regular user?) in your server with a role name that matches its username
Start typing @[bot name]
Select the bot, not the role, from the list
(Optional) send message

Operating System
Windows
Discord Version
Stable
BetterDiscord Version
v.1.9.0
Anything else?
I'm the only one in the server using BetterDiscord and the only one experiencing this issue so I assumed it was related to BetterDiscord, but I'm not 100% sure. It's also not very important since it's easily circumvented but I didn't see any existing bug reports about it so I thought maybe I should write one anyway.

Have you tested with BetterDiscord uninstalled

I was not able to reproduce this


Implement parse_document

https://docs.rs/comrak/latest/comrak/fn.parse_document.html

As an aspiring mermaid, how can I help here?

As an aspiring mermaid, how can I help here?

@c4lliope I'll open a PR soon. Tests and feedback will be welcome! I let you know

@c4lliope implemented here https://github.com/leandrocp/mdex/pull/58

how can I help here?

Thanks for that! There are some ways to help, one is improving the Rust code implemented in that PR. It works well but is not super optimized yet. Testing or writing more examples similar to the ones listed at https://github.com/elixir-lang/ex_doc?tab=readme-ov-file#extensions is also very helpful.

Closing this issue since parse_document is now available but feel free to open new PRs or issues. Thanks!


[WIP] feat(theme-doc): search

TODO:

handle I18n seperation (should not show results from other locales)
support searching in H1, H2, H3 title of markdown pages. Not only page titles.
support search config like: https://vuepress.vuejs.org/theme/default-theme-config.html#built-in-search
Responsive design style
algolia search

Fix: https://github.com/vitejs/vite-plugin-react-pages/issues/52

Close in favor of https://github.com/vitejs/vite-plugin-react-pages/pull/96


Loss diagram is cut-off at right side

The "Losses" diagram cuts-off long label text at the right side. The allowable width of the diagram needs to be increased. This is especially a problem with the new bifacial losses.

@Matthew-Boyd, could you please provide a screenshot or a SAM project file to illustrate the issue? Thanks!

You can start to see it here. I've changed the shown bifacial losses so I don't have a better example at the moment, but I think I have seen more of a cut-off with larger systems (wider arrows). Since I've changed the shown losses, this might not be as much of a priority anymore. Thanks for taking a look!

Project file that demonstrates issue SAM_1122.sam
SAM_1122.zip

Updated and fixed text width max in SAM pull request #1139


Provide a feature to delete the Keptn event history

Is your feature request related to a problem? Please describe.
After testing and demos I would like to have the data removed from Keptn.
Describe the solution you'd like
Perhaps the CLI or an API call to specify project and time range or all data.
Describe alternatives you've considered
None.  Reinstall Keptn.
Additional context
Add any other context or screenshots about the feature request here.

Hi, and thanks for your feature request.
In the master branch (not yet released) we have implemented a feature that automatically deletes all cloud-events of a project on deletion of the project (keptn delete project sockshop).
Issue: https://github.com/keptn/keptn/issues/1384
Pull Request: https://github.com/keptn/keptn/pull/1676
Is removing cloud-events of a project by deleting the project what you were asking for, or is there more to this?

@johannes-b This feature request has gone stale two times now, and did not receive any upvotes at all, nor any comments since May. Is this still something we need?

Please let this issue open.

The keptn delete project xyz command a solution is provided
The keptn delete service xyz command does not delete the events of that service. But I got feedback on adding a --purge flag that also deletes the history.

The keptn delete service xyz command does not delete the events of that service. But I got feedback on adding a --purge flag that also deletes the history.

Is there an issue for that already? I'd like to do house-keeping and close duplicates.

Let's use this issue for implementing the keptn delete service --purge command.

This issue relates to #2776 and can be closed when the other is implemented.


Permission denied warning on global install of the package and the first run in user mode

Describe the bug
If you install package globally
To Reproduce
Steps to reproduce the behavior:

Run new clean installation "pip install simple-ddl-parser' without an any trace of the package in 'site-packages'
Check the folder and find that 'parsetab.py' file doesn't exist.
Run any script that calles simple_ddl_parser.parse_from_file from non root/non administrative user.
See error warning 'permission denied'

Expected behavior
Python packages shouldn't write into their package dir after installation.
If this file is required it should be generated during installation.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
Python version: 3.10

@ivbeg  and again - thanks for reporting the issue, parsetab created by Ply, I tried include it in package, but I'm not sure that it will help, because as I see it is generated each run. Can you try 0.26.5 version?

@xnuinside sure, just I will write quite a lot of issues soon. I am parsing quite a big dataset of SQL files. Probably the next version?

@ivbeg  okay :) 😭

I will close this issue, because I tried to fix it in 0.26.5, if it will be still actual - reopen pls


New flag: -l SUBSET

New flag: -l SUBSET, --limit=SUBSET further limit selected hosts to an additional pattern.
Why:
Node v4 does not accept a spawn with fake-command-params arrays e.g ['-i','hostfile -l myhost']
Now in order to pass additional params we have to set them properly e.g ['-i','hostfile', '-l', 'myhost']

:+1: This seems solid. @shaharke

Looks solid except for the comments I've added. Please fix and I'll merge and publish.

Comments on commits don't get sent to participants. There's a merge conflict in the code @sitamet.

@macobo thanks. I really didn't see the comment. @sitamet can you rebase and fix the conflicts?

:+1: thanks!

:) This has been rebased. @sitamet @shaharke probably doesn't see your rebases unless you leave a comment.

@macobo thanks. It might take me a while to merge. sorry for the delays.

Any way I can speed this up? This missing feature would make my life much much easier for usage in chatops. :)

Thank you!


APIM policy 'authentication-certificate' attributes

Described and exemplified undocumented attributes.

@bremnes : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Full Head Mesh

What do I need to change in eos for creating full head model. As I know eos mesh only has face region and it cannot create meshes.
I want to know about :

what changes are needed in "eos" to make its face only mesh to full head mesh?
If I needed to create my own "sfm_shape_3448.bin" file for creating full head mesh or I can use this file?

Thanks

Hi,
Could you have a look at #23, and some of the other topics that might be head-related?
I'm happy to answer any remaining questions you have.
One of the main questions you'll have to answer for yourself is if you want a full PCA model over the head,  or just want a more or less "static" head attached to the back of the existing face model.

I do not have 3D data of full head that's why I cannot create a full PCA model over head.If you can help me how can I get full head 3d data I will appreciate that and I am able to build my own PCA Model over head,but If you cannot then its okay.

Well, you can have a look if you find a database with full head scans, for academic use, there is most likely stuff around. But in any case, as you say, depending on your application, a head attached to the face model and having the statistics only calculated on the face-mask might even be what you want.
I haven't done something like this before, but first I would find out which vertices of the face have to be attached to which vertices of the head, and possibly you need some triangulation, to "merge" the meshes. Then, you'd need to adjust or warp the head somehow (at least at the border regions), to make it fit with different face model instances (e.g. if the face model is fitted to a narrow face, the head also needs to get narrower). I can't really give much more help than that.

I appreciate for your help and this information in enough to get a way/path for full head creation.
Thanks for your help as always you do.

Hi,I want to find the vertices of surrey face only model and attached with the static head vertices but I am not sure how can I convert cereal binary of "sfm_shape_3448.bin" into obj format So that I am able to modify the morphable model and attached it with the static head can you help me?
Thanks

Draw a sample from the model (i.e. just the mean face) and then use write_obj.

Okay and after modifying the model can I convert it back into cereal binary and use the updated version of sfm_shape_3448.bin?


feat: accept multiple objectIDs

Description
In the context of a shopping cart, getting recommendations based on all items is a common pattern. This updates the API to accept multiple objectIDs as references to get recommendations from.
How it works

We get recommendations for each object ID passed to objectIDs via searchClient.getObjects, with a hitsPerPage value divided by the number of objectIDs
We then build an Algolia query for each of these recommendations
The recommendations can contain duplicate objectIDs, so we remove any duplications.
We sort the recommendations by their scores to merge the recommendations coming from all the objectIDs in a continuous way

Questions

We might want to sort before deduping so that the lowest scored version of the item gets removed?

@shortcuts I noted it on my board—I'll take care of deduping correctly in another PR along with some tests.


Adding a changelog for each release version is necessary

Describe the proposal
Adding a changelog for each release version is necessary

@icankeep https://dubbo.apache.org/zh/blog/2020/05/18/过往版本/  这个应该是你想要的


[Bug]: Windows build doesn't set parallel build thread count properly

What Operating System(s) are you seeing this problem on?
Windows
dlib version
19.24.2
Python version
3.11.7
Compiler
MSVC 19.39.33523
Expected Behavior
Build should set appropriate parallel thread count
Current Behavior
Build only uses 2 threads on 32/64 core machine with 512GB of ram.
Steps to Reproduce
pip install dlib
observe very long build time
Anything else?
A fix for this should be a quick conditional in the num_available_cpu_cores(ram_per_build_process_in_gb) function in setup.py if the os is Windows, something like:
try:
   if platform.system() == "Windows":
      import win32.win32api as w32api
      memstatus = w32api.GlobalMemoryStatusEx()
      mem_bytes = memstatus['AvailPhys']
      mem_gib = mem_bytes/(1024.**3)
    else:
      #snip current sysconf stuff
   num_cores = multiprocessing.cpu_count()
   #snip calculations

The windows functions should be standard with win python installs but I didn't submit a pull request since I haven't tested this inside that file, I just know the given functions to determine memory work.
The AvailPhys field returned doesn't include pagefile or virtual memory so there shouldn't be any chance of hitting either of those.
Right now it fails and returns 2 because os.sysconf isn't defined on Windows so it throws the exception and uses the default value.

Yeah, that's a good idea.  Send me a PR that works for you on your windows machine :)

Sorry, missed this.  I'll whip one up for you soonish, shouldn't take long since that's pretty much all of it up there.


login-pages: Clean up split view left side styling.

This cleans up the left side of the split view to have better
font size management and styling.

Automated message from Dropbox CLA bot
@brockwhittaker, it looks like you've already signed the Dropbox CLA. Thanks!

Updated to solve new merge conflicts @timabbott.

If I reload this alternately using ctrl-R vs ctrl-shift-R, I get different sizes:

@brockwhittaker I think this problem (not enough space for longer organization titles) is still a very real one.  Do you think fixing the reload problem I mentioned is feasible?

Heads up @brockwhittaker, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the upstream/master branch and resolve your pull request's merge conflicts accordingly.

Closing this as I don't think this sort of dynamic text size approach is viable.


Update to ClassGraph 4.8.86.

Codecov Report

Merging #801 into master will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #801   +/-   ##
=========================================
  Coverage     80.48%   80.48%
  Complexity     3043     3043
=========================================
  Files           277      277
  Lines          9273     9273
  Branches       1386     1386
=========================================
  Hits           7463     7463
  Misses         1302     1302
  Partials        508      508

Impacted Files
Coverage Δ
Complexity Δ

...c/main/java/org/neo4j/ogm/metadata/DomainInfo.java
86.58% <100.00%> (ø)
78.00 <0.00> (ø)

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 47d6b05...cc403b4. Read the comment docs.


Failed to start gauge API: Timed out connecting to java (1.0.7)

Failed to start gauge API with the latest version of gauge (1.0.7)
Expected behavior
Should run the gauge-java plugin
Actual behavior
Following error is thrown:
Failed to start gauge API: Timed out connecting to java

Steps to reproduce

Using the https://github.com/getgauge-examples/java-maven-selenium project.
docker run --rm -it -v $(pwd):/usr/src/app -v /Users/${USER}/.m2:/root/.m2 sitture/docker-gauge-java:1.0.7 mvn test

Gauge version
docker run --rm -it -v $(pwd):/usr/src/app -v /Users/${USER}/.m2:/root/.m2 sitture/docker-gauge-java:1.0.7

Gauge version: 1.0.7
Commit Hash: ed7b4fd6

Plugins
-------
html-report (4.0.9)
java (0.7.4)
reportserver (0.1.1)
screenshot (0.0.1)
spectacle (0.1.4)
xml-report (0.2.3)

@haroon-sheikh I noticed that the versions in the pom were quite old.
I just pushed a commit to fix that
https://github.com/getgauge-examples/java-maven-selenium/commit/d45c012895acbef43c1d3c18bb277e532ac292c4
Can you check with the updated versions?

Yep @zabil, the problem with me using older version of gauge-java in pom.xml. Updating to 0.7.4 fixes the problem.

@haroon-sheikh Gauge 1.0.7 is compatible with older version of plugins but new plugins are not compatible with the Gauge version (< 1.0.7).


Fix a StackOverflowError when GETin v2/info when running locally …

…(#6424)
When previously started locally with a mesos connection string like <IP_ADDRESS>:5050 Marathon would throw an StackOverflowError when GETing the v2/info.
JIRA issues:

Rebased and pushed


Remove user management from harbor if the auth mode is ldap_auth

We verify a user's credentials against our LDAP server. We find it can't be synchronized with our LDAP server(In fact, permission deny) when we delete an user  through the WebUI of harbor. What's worse, we can't recover the deleted user unless re-deploy entire project as well as clean all data in database.
In my opinion, user management can be removed from harbor if the auth mode is ladp_auth, which can be exactly taken over by LDAP server.

Thanks. I accept your opinion, and we'll refine the current user management workflow in the future release.

completed.


handle capture syntax

Short description:
Allow passing capture strings to support nmpolicy.
Capture will be passed to interface configuration, dns-resolver, routes, and capture field
More details:
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

@AdiZav please update the README with example how to use capture

/verified

/verified


Compositing 101

What are you trying to achieve?
Want to put an image, in the center of a blank new image of a given size.
Have you searched for similar questions? Yes.
Here is what I got:
const blankImage = await sharp({
            create: {
                width: 600,
                height: 600,
                channels: 4,
                background: "rgba(255, 255, 255, 0)",
            },
        })
            .png()
            .toBuffer();

const overlay = await sharp(inputImage);

const composite = sharp(blankImage)
            .composite([{ input: overlay }])
            .png()
            .toBuffer();

return composite;

This throws me a
    at Sharp._createInputDescriptor (/Users/gyula/workspace/radioplayer/generate-logos-lambda/node_modules/sharp/lib/input.js:61:15)
    at /Users/gyula/workspace/radioplayer/generate-logos-lambda/node_modules/sharp/lib/composite.js:105:19
    at Array.map (<anonymous>)
    at Sharp.composite (/Users/gyula/workspace/radioplayer/generate-logos-lambda/node_modules/sharp/lib/composite.js:98:35)```

What am I douing wrong? Could you please provide an example to solve this?

I hope this information helped. Please feel free to re-open with more details if further assistance is required.


Import statements are not resolved properly

I can't open https://raw.githubusercontent.com/BIG-MAP/BattINFO/master/battinfo.ttl properly in Protege (no classes are available).
As far as I can see, the reason is that the  import cannot be resolved, because the ontologies "model" and "observation" are not avilable.
owl:imports http://emmo.info/BattINFO/0.1.0/models ,
http://emmo.info/BattINFO/0.1.0/observations

I am sorry for the late reply on this issue. The current master branch should work. We are working towards a release beginning next year and this can be followed in the 'dev' branch.
As I believe this issue is solved, I will close it now. Please make a new one if the problem persists.


Merge metadata file in the app's exutable file

Merge metadata file in the app's executable file. Because of App Thinning, only one slice of the binary will be installed on the phone, so unnecesery metadata will be strpipped as part of unnecessary slice. This is will reduce the NativeScript app size.

Is this the same as https://github.com/NativeScript/ios-runtime/issues/179 ?

Yes, I thougth there is no issue for this. I will remove it.

Unfortunately, there is no way to completely delete an issue in github :). I will remove all labels and close it.