Enable uk locale

(probably needs weblate contents to be synced to Git first)

@ewdurbin @di this should be ok to merge since #6821 is in master.

@webknjaz This also needs the compiled MO file, see the instructions at https://warehouse.readthedocs.io/translations/#adding-a-newly-completed-translation

@di done

@di anything else?

thank you @webknjaz !

Thanks, Ernest!


[docs] document that vcpkg_from_github works with Gitea

https://github.com/microsoft/vcpkg/pull/20747#pullrequestreview-779956592
Describe the pull request

What does your PR fix?
How to download sources from Gitea servers was not previously documented.

Which triplets are supported/not supported? Have you updated the CI baseline?

N/A

Please apply [this patch](https://dev.azure.com/vcpkg/c1ee48cb-0df2-4ab3-8384-b1df5a79fe53/_apis/build/builds/62793/artifacts?artifactName=format.diff&api-version=6.0&%24format=zip) and commit.

That patch just undoes the change?

@Be-ing I think you should also modify scripts/cmake/vcpkg_from_github.cmake.

That patch just undoes the change?

If you changed the derived file, the patch is reversed...

Please note our docs will be automaticly generated by the scripts in scripts/cmake.

Depends on https://github.com/microsoft/vcpkg/pull/21344.

Thanks for the note!


Deleting an agent instance leave the agent active but inaccessible

When an agent instance is deleted something should be done to the state of the agent to indicate that it is not usable.

Closed in favor of rancher/rancher#3821


feat(templates): ability to disable animation effect in loading page

fix #159
Adding a toggle button at the top-right corner to enable/disable the animation. Also added a check checkIsLowPerformance() (not very sure how I can do it better) to have a smart default.

Can you fix the conflicts @antfu ?
Checked the preview, good for me to merge once conflicts are fixed.


scalatest 3.2.5 (was 3.2.2)

Updates org.scalatest:scalatest from 3.2.2 to 3.2.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

labels: test-library-update, semver-patch

Superseded by #184.


Increasing security!

Hi Hamish! I love your repo! I noticed a few areas where the security of your project could be improved... hopefully you find this interesting/useful:
1. SQL Statements
You're database would currently be vulnerable to an SQL injection attack because you're not using prepared statements.
You can learn about SQL injections here and prepared statements in PHP here.
2. MD5 Hash
The MD5 hash algorithm isn't considered secure anymore (see this and this) so I suggest checking out a hashing algorithm like SHA-256 which is currently one of the most secure.
You should also look into salting your hashes too, which makes your hashes more secure by adding in variation so that you hash of "password" isn't the standard SHA-256 hash. For example, hackers can have extensive lists of common passwords and their hashes, so in the event of a database breach all of the easy passwords will be quickly cracked. You can read about this here.
I'd also like to add that these suggestions are above Advanced Higher Computing level - you're amazing!
Hope this is useful, good luck :)

Ah thank you! This is very helpful. I will update the repo when I can with your suggestions included.


extracting microseconds

Hi,
I have set of data which is linked to timestamps in the form of a string, eg "5/17/2018  13:35:44.746977".
I have tried using this code to convert the string to a DateTime object
ds = "5/17/2018  13:35:44.746977"
DateTime(ds, Dates.DateFormat("m/d/y  H:M:S.s]"))
Which works fine if the data does not contain the microseconds part, however I can't figure out how to extract the full time including the microseconds. Is there a way to do that?
For example, dropping everything from the string except for the seconds count, or similar?
Kind regards

Closing issue since this isn't the right version of dates.jl at all, though any help would still be much appreciated..


Panic baseblock is not found in multiple miners

Description
Tortoise crashed with:
panic: error processing block c9255f97d7: baseblock layer not found 65f2dd7c07, 6007

goroutine 263 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc035c1c0b0, 0x0, 0x0, 0x0)
	/go/pkg/mod/go.uber.org/zap@v1.15.0/zapcore/entry.go:230 +0x55f
go.uber.org/zap.(*SugaredLogger).log(0xc04845c8a8, 0x604, 0xc031823360, 0x4d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/go/pkg/mod/go.uber.org/zap@v1.15.0/sugar.go:234 +0xf6
go.uber.org/zap.(*SugaredLogger).Panicf(...)
	/go/pkg/mod/go.uber.org/zap@v1.15.0/sugar.go:159
github.com/spacemeshos/go-spacemesh/log.Log.Panic(0xc000400240, 0x0, 0x0, 0xc031823360, 0x4d, 0x0, 0x0, 0x0)
	/go/src/github.com/spacemeshos/go-spacemesh/log/zap.go:46 +0x277
github.com/spacemeshos/go-spacemesh/log.Panic(...)
	/go/src/github.com/spacemeshos/go-spacemesh/log/log.go:146
github.com/spacemeshos/go-spacemesh/tortoise.(*turtle).HandleIncomingLayer(0xc00052d260, 0xc074720c40, 0x155200001552)
	/go/src/github.com/spacemeshos/go-spacemesh/tortoise/verifying_tortoise.go:468 +0x4d2
github.com/spacemeshos/go-spacemesh/tortoise.(*ThreadSafeVerifyingTortoise).HandleIncomingLayer(0xc0000115a0, 0xc074720c40, 0x0)
	/go/src/github.com/spacemeshos/go-spacemesh/tortoise/verifying_algorithm.go:84 +0x94
github.com/spacemeshos/go-spacemesh/mesh.(*validator).ValidateLayer(0xc0004d9d80, 0xc074720c40)
	/go/src/github.com/spacemeshos/go-spacemesh/mesh/mesh.go:284 +0xcd
github.com/spacemeshos/go-spacemesh/mesh.(*Mesh).HandleValidatedLayer(0xc000339340, 0x124db60, 0xc0000ad7d0, 0xc000001778, 0xc076eab2c0, 0x18, 0x18)
	/go/src/github.com/spacemeshos/go-spacemesh/mesh/mesh.go:404 +0x649
github.com/spacemeshos/go-spacemesh/hare.(*Hare).collectOutput(0xc0003572c0, 0x124db60, 0xc0000ad7d0, 0x124e6a0, 0xc074720a80, 0x0, 0x0)
	/go/src/github.com/spacemeshos/go-spacemesh/hare/hare.go:172 +0x224
github.com/spacemeshos/go-spacemesh/hare.(*Hare).outputCollectionLoop(0xc0003572c0, 0x124db60, 0xc0000ad7d0)
	/go/src/github.com/spacemeshos/go-spacemesh/hare/hare.go:319 +0x766
created by github.com/spacemeshos/go-spacemesh/hare.(*Hare).Start
	/go/src/github.com/spacemeshos/go-spacemesh/hare/hare.go:359 +0x7fe

6007 wasn't received by mesh by multiple miners (including miners 12, 17, 28 that are crashed later).
Hare didn't run for multiple miners in between layers 6003-6007.
Steps To Reproduce
Three miners crashed with this error in current devnet.
Expected Behavior
In my opinion, we shouldn't run any consensus code if we suspect that we are not in sync. If we receive a layer 6008 with blocks and we can't find a base block in our database this is a clear sign that we are not in sync. Therefore we should wait until we are synced.

The panic, in this case, was removed some time ago. The tortoise still won't be able to make progress if out of order layers are received, but this is tracked in separate issues.


Customizable find/replace text history retention

Is your feature request related to a problem? Please describe.
Find/replace (CTRL+F) text history is too short (only last 15 entries)
Describe the solution you'd like
Please add an option to customize this retention

thanks for suggestion


create page layout

Create the wireframes for the landing page; this will have a hero with a nav element, and this element will have references to the home page, projects, and contact me pages. The hero will also have a photo of me, a call to action, and a few descriptions.
Then, this page is also going to have a section that will be contacted about me, where it will also have a picture of me on the left and a few text on the right, and below the about me,
The page will have a carousel element with all the technologies I am proficient in.
Then, the projects page will have a hero displaying the leading technologies used in the projects and also will show their stats; below this container, the projects are going to be shown with a title, a placeholder for an img or video (TBD), text giving a brief description about the application, and also icons with the technologies used in the specific project, and link references to the deployed app and the src code.
The Contact Me section will have a simple form with a photo of me on the right, and this form will allow the user to contact me by email with any dedicated concern they might have; this page will also have below my photo icons for LinkedIn profile and Instagram profile, as well as alternative bizz address.

https://wireframe.cc/L3dGiy
Final layout idea, subject to change


Highlight expressions in Template literals (Template strings)

I'm not sure if this is caused by plugin conflict, but othree/yajs.vim failed to highlight template strings
Sample code
    let qBaseStr = `

${q.Desc}

${multiHint}

`;

With no plugins (clean .vim)

othree/yajs.vim  is the only plugin installed

My vim's behaviour before othree/yajs.vim is installed

My vim's behaviour after othree/yajs.vim is installed

The ${expression} is really insignificant here. I wonder if this grammar is highlighted?
Thank you
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals

Yes, inside the ${}. Codes will highlight.


fixes #137: add iss to jwt key proof

Fixes #137

@ydanneg Thanks again for the fix
I merged it, leaving aside the considerations expressed in my previous comment, because I have the impression that in most cases the iss is required. It is exceptional the case that it is has to be omitted


[Python] Add redis client to python dependencies

With the addition of redis cache support to the Enrichment transform, it will be good to package redis client dependency with apache-beam package. Otherwise user will have to install it separately.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

What tests are exercising this dependency?

What tests are exercising this dependency?

Good catch. there are 2 enrichment tests using redis. I'll drop the requirements file for them and rerun again

All tests passed

All tests passed. Unrelated test failure in Py Coverage. Merging this!


fix: customized icon

Coverage increased (+4.07%) to 75.484% when pulling 093deef171089389fa7342d680d9a7f03ddca27f on NancyZhuJY:dev into 56f25bfda149a382c4047f018ff0b600ce70be5c on ZhonganTechENG:dev.