Icons component missing

Expected Behavior
According to the documentation, the only place where an icon is used is in the navigation and it was used this way:
<fa :icon="['fas', 'search']" />

however, when I do I get an error that the component fa is not registered
Current Behavior
There is no documentation on how to use icons nor an icon component.
Note: I have tried to use the <i/> tag but it didn't work either.
Steps to Reproduce
described in first section
Possible Solution
Implement the fa component ?

@gimyboya Thanks for submitting this! Actually, in order to be able to use the Font Awesome icons you would have to manually integrate the vue-fontawesome library that also provides the proper component. Please make sure to check out their documentation to learn more about how you can use the library and register the icons you'd like to use. 😄


CAMEL-12076: Specified topic is ignored when KafkaConfiguration is used

If topic property was not received from configuration or header parameters take it from the remaining URI. Also some minor code style fixes are applied.

Thanks the PR has been merged on master. There was a little error on tests compilation. Fixed now.

Since we changed to DefaultComponent this fix can be only on 2.21.0, backporting to 2.20.x can be a breaking change for users.


[Feature] - Optional Alphabetic sort

Allowing to configure the alphabetic sort

My bad after checking in the code, it's already relying on dictionaries rather that line numbers so it shouldn't be that big of a deal :)

/*
 Sanitizing files will remove comments, empy lines and order your keys alphabetically.
 */
let sanitizeFiles = true

Set to false, it will prevent the script form modifying your files :)

This seems to work fine, thank you ;-)


Add more eclasses to package automation

Adds the rest of eclasses under automation (except for usr-ldscript.eclass, that we overrode to be an empty eclass).
CI: http://jenkins.infra.kinvolk.io:8080/job/container/job/sdk/1617/cldsv/
--

eclass/check-reqs.eclass:

doc fixes, mostly

eclass/crossdev.eclass:

nothing changed

eclass/db-use.eclass:

dropped support for EAPI 5 and 6
use ESYSROOT rather than EPREFIX where appropriate

eclass/gnome2-utils.eclass:

dropped support for EAPI 5 and 6

eclass/go-env.eclass:

fixed setting dev environment for other arches

eclass/golang-base.eclass:

dropped support for EAPI 5 and 6

eclass/golang-vcs.eclass:

dropped support for EAPI 6
there were some flatcar modifications, but there were merged upstream

eclass/golang-vcs-snapshot.eclass:

dropped support for EAPI 6
there were some flatcar modifications, but there were merged upstream

eclass/go-module.eclass:

bumped minimal go version to 1.20
there were some flatcar modifications, but there were merged upstream

eclass/linux-mod-r1.eclass:

added some module compression, initramfs rebuild and reinstallation, and dist kernel handling goo

eclass/llvm-r1.eclass:

bumped llvm stable version to 18

eclass/llvm-utils.eclass:

nothing changed

eclass/mercurial.eclass:

became unmaintained
removed some vestiges of EAPI 0, 1 and 2

eclass/mono-env.eclass:

dropped support for EAPI 5

eclass/out-of-source.eclass:

nothing changed

eclass/perl-module.eclass:

update to the new perl features stuff (that replaced some USE flags)

eclass/qmake-utils.eclass:

added support for qt6

eclass/secureboot.eclass:

added build dependency on dev-libs/openssl on ebuilds inheriting this eclass
added sanity checks for keys and certs to be in proper formats

eclass/sgml-catalog-r1.eclass:

strip ROOT when generating catalog

eclass/ssl-cert.eclass:

dropped support for EAPI 6

eclass/subversion.eclass:

dropped support for EAPI 6
use BDEPEND instead of DEPEND
mostly doc updates and bash refreshing

eclass/vcs-snapshot.eclass:

dropped support for EAPI 6

eclass/xdg.eclass:

dropped support for EAPI 5

--

[x] Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

CI passed.


Feature Request: Status Bar Mode

In effort to reclaim more vertical space, I would like to see the sticky heading information in the status bar, rather than above each pane.

Isn't the space in the status bar too small? Or do you have any more specific ideas?

BTW, you can also reduce the number of displayed headings in the settings to save vertical space.

I understand there is Concise Mode in settings. I would like that content displayed (with no line break) in the status bar.
Many users hide elements in the status bar, and have lots unused of horizontal space.
I will attach an mock-up to show where I feel it could fit:

If you're really concerned about the vertical space usage, you might want to try the Obsidian Floating TOC plugin. If this plugin still doesn't meet your expectations, we can then discuss whether to add the headings to the status bar.

Thanks for suggesting an alternative. I gave it a shot, but as a mouseless user, I don't want to move my mouse to see the information.

Have to agree with @zhouhua, this would be unfeasible for users who—like me—remove the status bar in favour of stacked tabs.

@TheMathGuyd might I suggest Obsidian Switcher++ inwhich you could setup a shortcut for embedded symbol mode?

@zhouhua close this


"hc:ComboBox" component does not appear the value when an option is selected

Describe the bug
When "ItemsSource" property binds to a collection of objects, the selected value is not displayed after the option is selected
<hc:ComboBox Name="ComBox_StepId" Width="100" ShowClearButton="True"   ItemsSource="{Binding StepList}" DisplayMemberPath="StepName"   SelectedValuePath="ReaderNumber"></hc:ComboBox>
Steps to reproduce the bug
selected
Expected behavior
No response
Screenshots
No response
NuGet package version
HandyControl 3.4.0
IDE
Visual Studio 2022
Framework type
.Net 6.0
Windows version
Windows 11 (22000)
Additional context
No response

solved


Multiple voting error

Hello, i use ubuntu xenial 16.04 and bigchaindb server 0.95 this is the content of my config file
INFO:bigchaindb.config_utils:Configuration loaded from /root/.bigchaindb
{
"backlog_reassign_delay": 120,
"database": {
"backend": "rethinkdb",
"host": "<IP_ADDRESS>",
"name": "bigchain",
"port": 28015
},
"keypair": {
"private": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"public": "Df5AQK6GRYe9CfjC7ujgWdUX7GUMf9sgo3mMtPgp38Cs"
},
"keyring": [],
"server": {
"bind": "<IP_ADDRESS>:9984",
"threads": null,
"workers": null
}
}
and database such rethinkdb, i use correcly for one month but when i restart the service i have this problem
and this is the full error
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/usr/local/lib/python3.5/site-packages/flask_restful/init.py", line 477, in wrapper
resp = resource(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/flask_restful/init.py", line 587, in dispatch_request
resp = meth(*args, **kwargs)
File "/usr/local/lib/python3.5/site-packages/bigchaindb/web/views/outputs.py", line 26, in get
include_spent)
File "/usr/local/lib/python3.5/site-packages/bigchaindb/core.py", line 432, in get_outputs_filtered
outputs = self.get_outputs(owner)
File "/usr/local/lib/python3.5/site-packages/bigchaindb/core.py", line 393, in get_outputs
validity = self.get_blocks_status_containing_tx(tx['id'])
File "/usr/local/lib/python3.5/site-packages/bigchaindb/core.py", line 301, in get_blocks_status_containing_tx
) for block in blocks
File "/usr/local/lib/python3.5/site-packages/bigchaindb/core.py", line 301, in
) for block in blocks
File "/usr/local/lib/python3.5/site-packages/bigchaindb/core.py", line 629, in block_election_status
.format(block_id=block_id, n_votes=str(voter_counts[node]), node_id=node))
bigchaindb.common.exceptions.MultipleVotesError: Block 762b50a6b438469bfc481b8e65d025ec5a349272fc214ef692699aa8cece456c has multiple votes (2) from voting node D9EsBd5XRMc8b4zv7TaWJzADRdAtGhkyAF3RYddQ6jNt

Hi @MindFK,
We made alot of changes to this code for 0.10. We aren't supporting this version of BigchainDB anymore, best thing is to run the current patch release ie 0.10.2 and use MongoDB as a database, that way you will get all fixes as fast as possible.
Best

BigchainDB 2.0 doesn't do voting any more (because Tendermint does) so this issue is gone.


Map routes of Puerto Rico

Most Puerto Rico routes are not yet mapped in route=road relations, and the majority of mapped routes follow the outdated tagging scheme network=US:PR. These route relations need to be split and retagged to US:PR:primary, US:PR:primary_urban, US:PR:secondary or US:PR:tertiary, according to their signage.
This Overpass query highlights route=road relations in Puerto Rico, color-coded by the value of network=*

gray: missing network=*
red: network=US:PR
blue: network=US:PR:primary
green: network=US:PR:primary_urban
cyan: network=US:PR:secondary
purple: network=US:PR:tertiary

the majority of mapped routes follow the outdated tagging scheme network=US:PR

All the occurrences of network=US:PR have been retagged at some point, but there are still a lot of relations to create.


[UX] grammar issue in error - "Password at least should have x characters"

The error text returned by a too-short password contains a grammar error - it is currently "Password at least should have x characters", while it should be "Password should have at least x characters".  It may also be worthwhile to change "should" to "must".
https://github.com/wso2/carbon-identity-framework/blob/master/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/policy/password/DefaultPasswordLengthPolicy.java#L68

@brionmario Lets fix this one.

I'm working on this.

I was able to reproduce the mentioned behaviour in IS 5.8.0 with following configuration changes

Enabled old identity management framework.
Changed <IS_HOME/>repository/conf/identity/identity.xml,
from

        <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
                       name="org.wso2.carbon.identity.mgt.IdentityMgtEventListener"
                       orderId="50" enable="false"/>

to
        <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
                       name="org.wso2.carbon.identity.mgt.IdentityMgtEventListener"
                       orderId="50" enable="true"/>

Disabled new identity management framework
Changed <IS_HOME/>repository/conf/identity/identity.xml,
from

        <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
                       name="org.wso2.carbon.identity.governance.listener.IdentityMgtEventListener"
                       orderId="95" enable="true"/>

to
        <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
                       name="org.wso2.carbon.identity.governance.listener.IdentityMgtEventListener"
                       orderId="95" enable="false"/>

Enabled password policy (length validations with proper values.
Uncommented <IS_HOME/>repository/conf/identity/identity-mgt.properties,

Password.policy.extensions.1=org.wso2.carbon.identity.mgt.policy.password.DefaultPasswordLengthPolicy
Password.policy.extensions.1.min.length=8
Password.policy.extensions.1.max.length=20

Then I created a user with name johnsmith and a 6 character password in management console and got following error message,

After fixing the grammar issues, the validation message appears as follows.


syscall: test failed on TestAmbientCapsUserns on master branch 5930c7d

What version of Go are you using (go version)?

$ go version
go version devel +5930c7de93 Fri Mar 8 20:53:16 2019 +0000 linux/amd64

Does this issue reproduce with the latest release?
No.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOBIN="/home/ms/bin"
GOCACHE="/home/ms/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ms/go"
GOPROXY=""
GORACE="history_size=7"
GOROOT="/home/ms/Programs/go"
GOTMPDIR=""
GOTOOLDIR="/home/ms/Programs/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build730915919=/tmp/go-build -gno-record-gcc-switches"

System,
regression ms 0 % uname -a
Linux kilabit.local 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux

all-gofmt ms 0 % gcc --version
gcc (GCC) 8.2.1 20181127

all-gofmt ms 0 % pacman -Qi glibc
Name            : glibc
Version         : 2.28-5

sysctl: https://gist.github.com/shuLhan/8e89236998ebb017d9fe3700eed6710a
What did you do?
Rebuild Go from the source code from commit 5930c7de93.
What did you expect to see?
Build success.
What did you see instead?
ok      sync    0.551s
ok      sync/atomic     0.037s
--- FAIL: TestAmbientCapsUserns (0.00s)
    exec_linux_test.go:616: fork/exec /tmp/gotest178771049: operation not permitted
FAIL
FAIL    syscall 0.074s
ok      testing 1.299s
...
ok      cmd/vendor/golang.org/x/sys/unix        0.562s
ok      cmd/vet 4.843s
2019/03/09 05:59:20 Failed: exit status 1

What's your distro, kernel, and versions thereof? Any other special system tweaks or notable config?

I have update description.
regression ms 0 % uname -a
Linux kilabit.local 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux

all-gofmt ms 0 % gcc --version
gcc (GCC) 8.2.1 20181127

all-gofmt ms 0 % pacman -Qi glibc
Name            : glibc
Version         : 2.28-5

sysctl: https://gist.github.com/shuLhan/8e89236998ebb017d9fe3700eed6710a

Any other special system tweaks or notable config?

I believe I don't do any tweaks.

We don't yet have an Arch builder (at https://build.golang.org). That is #9505 and might prevent these sort of breakages in the future.

This is not Arch-related, I'm seeing this on Debian.
$ uname -a
Linux gauss 4.19.0-2-amd64 #1 SMP Debian 4.19.16-1 (2019-01-17) x86_64 GNU/Linux

The offending setting is likely kernel.unprivileged_userns_clone = 0, an old friend. It prevents unprivileged user from creating namespaces.
@shuLhan Can you check if CL 166460 (which contains a Skip check that I lifted from another syscall test) fixes the issue on your system? It does on mine. Thanks.

@ALTree OK, wait a moment.

@ALTree CL 166460 fix the build process on my system.
Build log: https://gist.github.com/shuLhan/210bbb28368ea00d34840f8d541582cf


Problem with empty input

Hi, there is problem if I press Enter in empty field
Here is the problem (completer-cmp.ts:158):
public keydownHandler(event: any) {
        if (event.keyCode === KEY_EN && this.results) {
            if (this.listCmp.currentIndex >= 0 && this.listCmp.currentIndex < this.results.length) {

When field is empty, it throws exception, because listCmp is undefined. I'd added one more condition like "if (this.listCmp && ... "

closed by PR #12


Demo not working

Hello, first of all thank you for sharing your amazing work
I'm trying to upload a pointcloud to the demo web, but it gets stuck uploading and never finishes. I tried with multiple pointcloud, .ply format.

@joseigbintuitivo Thanks for your interest.
The issue may be due to the size of the uploaded point cloud. For smoother processing, we recommend keeping your point cloud data under 1MB.


Update keepalived to v2.0.19

There is a bug in v2.0.16 of keepalived which is segfaulting when vsg is configured. The fixing commit: https://github.com/acassen/keepalived/commit/50382b81c7ae8720b97073e3e919de12171b1b45 this resolves issue when we upgrade ingress controller and the downloading of new images takes to long time.

 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.

Coverage remained the same at 15.014% when pulling fd3795049fb12974d5f27307224f153b586b46a8 on curantes:master into 4b6c94ad289c292ae31048457e435952e5b41442 on aledbf:master.

@curantes thanks!


EUR symbolOnLeft per country

Very useful library, thanks for sharing!
So this is a major pain in the ass, and not specific to this library at all, but placement of the euro sign (€) differs between countries.
Quote from the European commission:

Where should the euro symbol be placed: ‘€ 100’ or ‘100 €’?
There are no official standards on where to place the euro symbol. In English text, the usual practice is to place the symbol "€" before the amount in figures, i.e. € 100. In French text, the symbol is usually placed after the amount in figures, i.e. 100 €.

The app I'm working on requires correct placement across locales, so for example, our Dutch version should display €100, while the French version should display 100 €.
Currently we maintain our own list of currencies per country, which means that we have two "versions" of the euro, one with symbolOnLeft=true and the other one with symbolOnLeft=false. I can hardly imagine we're the only ones struggling with this, and this library might be a nice central place to solve this issue.
Would love to hear your thoughts!

Dove into it a bit more, and found the problem to be even more complex :tada:
Take a look at this table: http://www.evertype.com/standards/euro/formats.html
It shows a couple different Euro formats:
1.234,56 €
1 234,56 €
€1.234,56
€1,234.56
Note that not only location of the sign differs, but the separators (., ,,  ) differ as well.

I see, and I agree how this can be a problem. I'll try to do some experiments after work.
We'd need to take locale as a parameter and use it for formatting, but our data structure won't really allow this, we'd need to duplicate the data which is not ideal.
There is another way, which I've seen in Java and .NET world, for example Java has a class called NumberFormat which takes a locale and formats the number or currency based on that locale but that approach also might not be ideal, here's an example
scala> NumberFormat.getCurrencyInstance(new Locale("en", "US")).format(1234.56)
res0: String = $1,234.56

scala> NumberFormat.getCurrencyInstance(new Locale("it", "IT")).format(1234.56)
res1: String = € 1.234,56

scala> NumberFormat.getCurrencyInstance(new Locale("fr", "FR")).format(1234.56)
res2: String = 1 234,56 €

scala> NumberFormat.getCurrencyInstance(new Locale("en", "GB")).format(1234.56)
res3: String = £1,234.56

This is great but it's only ideal if you first convert the price to the target currency.
I've been down that road and believe me I know your pain :p but to be honest I don't think there is a one size fit all solution here, it depends on your application and how you want to handle localization. I created this library to have something quick to show the currency in the way it's mostly represented (usually the english version of Wikipedia)
Anyways if you have any suggestions, I'm all ears :)

I have a couple of suggestions!
First off, I checked the ECMAscript Intl api, which allows you to do this:
new Intl.NumberFormat('nl-NL', { style: 'currency', currency: 'EUR' }).format(1234.6789);
// '€ 1.234,68'
new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(1234.6789);
// '1.234,68 €'

Which looks awesome, and might be the ideal way to do it. Except that it turns out that not all browsers format all currencies the same for all locales. For example, I found that Firefox currently wrongly renders the euro sign before the amount for de-AT. And the Intl API does not support any way of overwriting the formatting.
Some of the reasons in favor of having a user-land package for currency rendering I can think of are:

Having predictable formatting across environments
Being able to override certain formats if this is required for your specific use-case
Having a shorter iteration cycle for fixing formats

If you're open for it, I'll start working on a locale-based implementation, and submit a PR.

See #30 for suggestions and a first attempt to an implementation.

Excellent find, I didn't know about Intl API.
Either way you are more than welcome to extend this library, as long as it's backwards compatible and efficient :)
For this case I think allowing user to pass the locale as an optional parameter would be ideal, something like
currencyFormatter.format(1000000, { code: 'EUR', locale: 'nl-NL' })

Sorry I can't be much of help, have a ton to do at work these days.
Let me know if you have any questions :)

For some reason didn't see the PR, I'll check it out soon.

#30


Making npc sleep

Hello,
how can i make my npc sleep on the floor?
(1.18.1)

Hey, setting the sleep state is done via the entity metadata, which can be done trough the MetadataModifier. I'm not entirely sure, but just setting EntityMetadata.POSE to SLEEPING should just work.

Okay thank you


[Suggest] commit a GitHub project

Hi, an amateur Web developer here and I'm willing to help on implementing features if possible :)
I was wondering what about to create a GitHub project and write down our needs and future to-dos?
Doing so make us able to track things up and keep organized whenever we're back on this!

By the way I can help on documentations and implementations (hopefully I won't f**k up with the codes)

Though I'm totally a noob of rust-lang, and there's a long way ahead to learn along with 🤔 ...
Butt it's fun 😀 and for me, might be the first repository of long-term contributions.

Looking for your reply

Thank you so much for your suggestion. I believe this is a good Idea. And I will do this with the polako when MVP will be ready (#77)


Creation of IIIF resources (Manifests/Collections)

Description
The creation of IIIF resource types such as Manifests and Collections. SIPI takes care of the IIIF Image API 3.0, but we will still need to create IIIF resources compatible with the IIIF Presentation API 3.0.
Proposed Solutions

This could be done on the back-end where every image of the three SGV collections could have their own IIIF Manifest and also via the front-end for the creations of "stories" (cf. #11) and thus new digital objects or collections.
All images uploaded (cf. #7) by end users could also be incorporated into a IIIF Manifest (but not all individual private images would not necessarily need to have their own IIIF Manifest, it depends what is a digital object - with associated metadata)

Additional Background

IIIF Presentation API 3.0
Cookbook of IIIF Recipes
Creation of IIIF Collections by end-users on Biblissima (via the "shopping cart"): https://iiif.biblissima.fr/collections/
PIA IIIF Boilerplates

Tools to consider:

https://github.com/ksclarke/jiiify-presentation
https://github.com/IIIF-Commons/biiif


smacknet: disable service

it disable the service and not set up the smack netlabels
Fixes: IOTOS-1014
Signed-off-by: Alejandro Joya<EMAIL_ADDRESS>

+2 built/confirm service not running


SqlServerCompiler compiling AsInsert with @p1 @p2 instead of real values

My code
var query = SqlQueryCompiler.Compile(new Query("User").AsInsert(user)); var compiler = new SqlServerCompiler(); var compiledQuery = compiler.Compile(query).Sql;
Result
INSERT INTO [User] ([UserId], [FirstName], [LastName], [Email], [Password]) VALUES (@p0, @p1, @p2, @p3, @p4)
What am I missing? In the playground on the web instead of @p0, @p1, @p2, @p3, @p4 it would fill it with the property values.
Thanks!

Added expected behaviour from the site playground.
Thanks again!

The correct way to execute the query in ADO.net is to use parameters binding, which is explained in the documentation section https://sqlkata.com/docs#compile-only-example
So I see no issues here,
I will close this for now, if you have any further feedback feel free to reopen.


Support for custom K8s authentication path

Hi team,
It's really really fantastic to see this project being active again.
Goal
We would like to support custom Authentication path for Vault K8s authentication, rather than the default one v1/auth/kubernetes/login as specified in official doc
Problem

The current way is relying on the default value when calling loginByKubernetes() method
https://github.com/lensesio/secret-provider/blob/75238234be77a62938a339652d10c840089d3b97/secret-provider/src/main/scala/io/lenses/connect/secrets/providers/VaultHelper.scala#L81-L87
where the path is hardcoded to (source)

    public AuthResponse loginByJwt(final String provider, final String role, final String jwt)
            throws VaultException {
        return retry(attempt -> {
            // HTTP request to Vault
            final String requestJson = Json.object().add("role", role).add("jwt", jwt)
                    .toString();
            final RestResponse restResponse = new Rest()
                    .url(config.getAddress() + "/v1/auth/" + provider + "/login")

However the repo vault-java-driver has not been maintaiend in a few years with the reply from the original author (link)

My proposed solution

For the secret-provider side, I did a rough sketch a while ago https://github.com/dttung2905/secret-provider/pull/1. Of course there are a few things to take care as well. For example, how to fallback when user does not provide any authentication path
For vault-java-driver, the author has mentioned a few approaches in his post. I think the least disruptive would be switching to a community fork https://github.com/jopenlibs/vault-java-driver, which was very actively developed. I could submit another PR to add that feature on their side as well.

Please let me know what you think @davidsloan. Sorry for directly tagging you as your recent activity in this repo is the only reason that motivate me to write this lengthy issue :smile:

Hi @dttung2905 .  We at Lenses are happy to be back working on our open source projects!
Thanks for the detailed write-up of the issue.
The reliance the unmaintained vault lib is indeed an issue and we are looking into ways of addressing this.  Switching to the new fork is definitely an option we are evaluating, and as you say the least disruptive.
Please feel free to submit a PR to address your needs 🥇 .  Let me know if you need any support.  Thank you!

Hi @davidsloan,
Thanks so much for the support !. Let me find some time submit the changes on the fork of the Vault library first https://github.com/jopenlibs/vault-java-driver first, before making another changes on this repo :pray:


Error occurred while fetching data. failed to fetch data, status 401: Unauthorised

I have tried most of the solutions the issue in https://github.com/RoadieHQ/roadie-backstage-plugins/issues/308
But still unable to get this to work.
I am using an Argocd service account that just has API access. I have generated a token and I am referencing it correctly in the env variables. As stated in the previous linked issue.
If using an Argocd service account what kind of permission does it need to be able to read from your argocd instance I think that is the issue?
Expected Behavior
View Argocd data on backstage frontend.
Current Behavior
Argocd card is visible on the UI but has error messgae Error occurred while fetching data. failed to fetch data, status 401: Unauthorised

Same issue here .. Testing via curl
curl -k $ARGOCD_SERVER/api/v1/applications --cookie "argocd.token=$ARGOCD_AUTH_TOKEN | jq .

{
  "metadata": {
    "resourceVersion": "6879110"
  },
  "items": [
    {
      "metadata": {
        "name": "argo-application",
        "namespace": "argocd",
        "uid": "73bb68cd-f150-4197-94b4-7b49011e12a3",
        "resourceVersion": "6879110",
        "generation": 42,
        "creationTimestamp": "2022-08-23T18:09:10Z",
        "annotations": {
          "argocd/app-name": "argo-application"
        },
        "managedFields": [
          {
            "manager": "Go-http-client",
            "operation": "Update",
            "apiVersion": "argoproj.io/v1alpha1",
            "time": "2022-08-23T18:09:10Z",
            "fieldsType": "FieldsV1",
            "fieldsV1": {
              "f:metadata": {
                "f:annotations": {
                  ".": {},
                  "f:argocd/app-name": {}
                }
              },
              "f:spec": {
                ".": {},
                "f:destination": {
                  ".": {},
                  "f:namespace": {},
                  "f:server": {}
                },
                "f:project": {},
                "f:source": {
                  ".": {},
                  "f:path": {},
                  "f:repoURL": {},
                  "f:targetRevision": {}
                },
                "f:syncPolicy": {
                  ".": {},
                  "f:automated": {
                    ".": {},
                    "f:prune": {},
                    "f:selfHeal": {}
                  },
                  "f:syncOptions": {}
                }
              },
              "f:status": {
                ".": {},
                "f:health": {},
                "f:summary": {},
                "f:sync": {
                  ".": {},
                  "f:comparedTo": {
                    ".": {},
                    "f:destination": {},
                    "f:source": {}
                  }
                }
              }
            }
          },
          {
            "manager": "argocd-application-controller",
            "operation": "Update",
            "apiVersion": "argoproj.io/v1alpha1",
            "time": "2022-08-23T18:09:11Z",
            "fieldsType": "FieldsV1",
            "fieldsV1": {
              "f:status": {
                "f:health": {
                  "f:status": {}
                },
                "f:history": {},
                "f:operationState": {
                  ".": {},
                  "f:finishedAt": {},
                  "f:message": {},
                  "f:operation": {
                    ".": {},
                    "f:initiatedBy": {
                      ".": {},
                      "f:automated": {}
                    },
                    "f:retry": {
                      ".": {},
                      "f:limit": {}
                    },
                    "f:sync": {
                      ".": {},
                      "f:prune": {},
                      "f:revision": {},
                      "f:syncOptions": {}
                    }
                  },
                  "f:phase": {},
                  "f:startedAt": {},
                  "f:syncResult": {
                    ".": {},
                    "f:resources": {},
                    "f:revision": {},
                    "f:source": {
                      ".": {},
                      "f:path": {},
                      "f:repoURL": {},
                      "f:targetRevision": {}
                    }
                  }
                },
                "f:reconciledAt": {},
                "f:resources": {},
                "f:sourceType": {},
                "f:summary": {
                  "f:images": {}
                },
                "f:sync": {
                  "f:comparedTo": {
                    "f:destination": {
                      "f:namespace": {},
                      "f:server": {}
                    },
                    "f:source": {
                      "f:path": {},
                      "f:repoURL": {},
                      "f:targetRevision": {}
                    }
                  },
                  "f:revision": {},
                  "f:status": {}
                }
              }
            }
          }
        ]
      },
      "spec": {
        "source": {
          "repoURL": "https://github.com/argoproj/argocd-example-apps.git",
          "path": "helm-guestbook",
          "targetRevision": "HEAD"
        },
        "destination": {
          "server": "https://kubernetes.default.svc",
          "namespace": "myapp"
        },
        "project": "default",
        "syncPolicy": {
          "automated": {
            "prune": true,
            "selfHeal": true
          },
          "syncOptions": [
            "CreateNamespace=true"
          ]
        }
      },
      "status": {
        "resources": [
          {
            "version": "v1",
            "kind": "Service",
            "namespace": "myapp",
            "name": "argo-application-helm-guestbook",
            "status": "Synced",
            "health": {
              "status": "Healthy"
            }
          },
          {
            "group": "apps",
            "version": "v1",
            "kind": "Deployment",
            "namespace": "myapp",
            "name": "argo-application-helm-guestbook",
            "status": "Synced",
            "health": {
              "status": "Healthy"
            }
          }
        ],
        "sync": {
          "status": "Synced",
          "comparedTo": {
            "source": {
              "repoURL": "https://github.com/argoproj/argocd-example-apps.git",
              "path": "helm-guestbook",
              "targetRevision": "HEAD"
            },
            "destination": {
              "server": "https://kubernetes.default.svc",
              "namespace": "myapp"
            }
          },
          "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba"
        },
        "health": {
          "status": "Healthy"
        },
        "history": [
          {
            "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
            "deployedAt": "2022-08-23T18:09:11Z",
            "id": 0,
            "source": {
              "repoURL": "https://github.com/argoproj/argocd-example-apps.git",
              "path": "helm-guestbook",
              "targetRevision": "HEAD"
            },
            "deployStartedAt": "2022-08-23T18:09:10Z"
          }
        ],
        "reconciledAt": "2022-08-23T19:48:45Z",
        "operationState": {
          "operation": {
            "sync": {
              "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
              "prune": true,
              "syncOptions": [
                "CreateNamespace=true"
              ]
            },
            "initiatedBy": {
              "automated": true
            },
            "retry": {
              "limit": 5
            }
          },
          "phase": "Succeeded",
          "message": "successfully synced (all tasks run)",
          "syncResult": {
            "resources": [
              {
                "group": "",
                "version": "v1",
                "kind": "Service",
                "namespace": "myapp",
                "name": "argo-application-helm-guestbook",
                "status": "Synced",
                "message": "service/argo-application-helm-guestbook created",
                "hookPhase": "Running",
                "syncPhase": "Sync"
              },
              {
                "group": "apps",
                "version": "v1",
                "kind": "Deployment",
                "namespace": "myapp",
                "name": "argo-application-helm-guestbook",
                "status": "Synced",
                "message": "deployment.apps/argo-application-helm-guestbook created",
                "hookPhase": "Running",
                "syncPhase": "Sync"
              }
            ],
            "revision": "53e28ff20cc530b9ada2173fbbd64d48338583ba",
            "source": {
              "repoURL": "https://github.com/argoproj/argocd-example-apps.git",
              "path": "helm-guestbook",
              "targetRevision": "HEAD"
            }
          },
          "startedAt": "2022-08-23T18:09:10Z",
          "finishedAt": "2022-08-23T18:09:11Z"
        },
        "sourceType": "Helm",
        "summary": {
          "images": [
            "gcr.io/heptio-images/ks-guestbook-demo:0.1"
          ]
        }
      }
    }
  ]
}

Well, Talking to the team on discord and, at least in my case, it was detected misconfiguration.
Correct setup is:
"/argocd/api":
    target: https://argocd.customer-success.sbox.stackspot.com/api/v1
    changeOrigin: true
    # only if your argocd api has self-signed cert
    secure: false
    headers:
      Cookie: "argocd.token=${ARGOCD_AUTH_TOKEN}"

@apmartins85 Thanks!
This config works for me, I will create a PR to update the documentation.

2 years later doc is still incorrect, please update

@lukacsi would you be in a position to create a pull request with the suggested update?


Lycoris extension slow down iteration by 200% without being used

Disclaimer I'm new to Stable diffusion and just started last week
Long story short:
Somehow having Lycoris extension cause my GPU to not be able to perform fully and I have no idea why, when I enable the extension despite not using it and it just being there it drops my generation time by 500%. It went back to normal after I disable the extension. It sucks that I can't use Lycoris function but it isn't the end of the world, still would be cool if I could use it and if someone experience something similar and found the fix for it, please share!
edit: My GPU is 1060, windows 10
// version: [v1.7.0] •  python: 3.10.6  •  torch: 2.0.1+cu118  •  xformers: 0.0.20  •  gradio: 3.41.2  •
Full story:
So anyway I was trying all of the features of stable diffusion and yesterday I installed the Lycoris extension and I haven't used it yet because I'm still trying out other features, I noticed that my generation time increases after I turn on my PC this morning and my iteration time goes by 100-200% from 1-2s/it to 5-8s/it and this happens to all settings. Txt2img, img2img, etc with or without hires.fix and at high or low sampling steps which confuse me greatly so I scramble to try to fix it on my own.
The first thing I noticed was when I checked on my Task manager, my GPU Cuda usage usually at 90-100% goes to 40-60% and it wasn't static, and yet the performance goes beyond half, it would make sense if the GPU usage drop cuz of temperature or CPU throttling etc that the result should somewhat follow the performance drop so I expect the time to double but nope, it was more than quadruple! Usually, it took me 30 seconds or less to generate a basic 20-step image without additional settings but now it become 3 minutes!
I tried googling it and I found a lot of people with similar issues that suddenly their stable diffusion slowing down mostly due to updates but no one ever mentioned their Cuda usage in their GPU at all which confused me since it was the first thing I notices, so I thought it was common issue but rarely do I find any positive result other than rolling back webui version and that doesn't work for me so ugh
I tried to restart my PC multiple time after installing and uninstalling my GPU driver, using Malwarebytes and so on and so forth but I finally took a step back and reminded myself what changes since yesterday that I added to my PC/setting, and the only thing that come to mind was Lycoris extension so I try to disable the extension and it fix everything.

Thank you, that explain it. Is there any way to use Lycoris in v1.7? This is the only lycoris I found or is the extension dead?

Thank you, that explain it. Is there any way to use Lycoris in v1.7? This is the only lycoris I found or is the extension dead?

Built-in lora system is mainly maintained by me after sd-webui 1.5.0
Now guess how you use lycoris model in sd-webui 1.7
UwU

Image Generation
a1111/sd-webui
After sd-webui 1.5.0, LyCORIS models are officially supported by the built-in LoRA system. You can put them in either models/Lora or models/LyCORIS and use the default syntax lora:filename:multiplier to trigger it.
So basically I don't need the extension? Oh well, my bad for using old guide, these things changes and progress too quickly
When we add new model types, we will always make sure they can be used with the newest version of sd-webui.
As for sd-webui with version < 1.5.0, please check this extension.

Yes
Just use lora:...:...
The arg system is as same as this extension


Feature to add in script - Check for NIC Power management setting

Hi there,
Can this be added to the script?
https://www.alitajran.com/disable-nic-power-management-in-exchange-best-practice/
Thanks.
If it’s already added, can you tell me where? I can’t seem to find it.

Need to check if this is already covered when OS power plan is set to "High Performance"

@lusassl-msft I think it’s added to the latest version, am I right?
On a Hyper-v host, it’s telling me that it’s enabled. When I go to the nic power management settings, I dont have the option to disable it.
Microsoft is telling in the sleepy nic article that if you don’t see the option in the nic management, it means that it’s already set.
Whats going wrong? Let me know if you need more information or screenshots.
I have exchange servers running om hyper-v and on vmware. I have not yet tried it on the vmware host. Will try and let you know.

@worldsdream yes, it was added with v2.44.0 and optimized with v.2.44.1. Unfortunately it's not easy to detect if a NIC support power saving. At the moment we're doing some kind of best guess. We run through all active NICs on the system and check if the PnPCapabilities is set to 24 (hex 0x18) which is the same as unchecking all three checkboxes. If it's not set to 24 or if it doesn't exist, we display a yellow warning next to the support.microsoft.com article where we describe the problem. I've tested to set the PnPCapabilities value to 24 via registry on a system with NIC that doesn't support power management. It does not have had any impact on the system so I decided to implement the first version of the check as kind of best guess. I stumbled across a vmware vm which had the power management capabilities checkboxes displayed on the NIC settings but no PnPCapabilities registry key exists. It was also not possible to properly determine the capabilities if the script was executed on
a VM where the NIC doesn't have the checkboxes displayed but on the hypervisor they was.
So, it seems that there are many different scenarios and due to my limited resources I was not able to validate each of them.
I'm thinking about to modify the check and display a warning only if the PnPCapabilities value is available and if it's not available to just show a note to validate the capabilities manually and configure the NIC either on the NIC itself or via registry key. I have to discuss this with @dpaulson45 and come back to you with more details.


How to fine-tune model to support a new language

It seems that the example fine-tune task is training for specific downstream task, like text-to-code. Is there any example for adding a new programming language? Thanks!

+1


contrib/scripts: Remove special handling for patch release number 90

In commit 56dfec2f1ac5 ("contrib/scripts: Support patch releases in print-downgrade-version.sh"), we added support to disaply the previous patch release for a given version number to the print-downgrade-version.sh script. We treated to patch release values as special cases: 0, because this means that we don't have a previous patch release on the branch, and 90, because it used to be a temporary value used during release processes.
But as Joe commented, we no longer use this "90" convention, but we use something like vX.Y.Z-dev instead. Let's remove the reverence to 90 from the script (and the workflow calling it).
Comparing with the commit introducing the special cases in the script, the output remains nearly the same as when it was introduced, only the previous patch release for "1.13.90" naturally turns to "1.13.89" instead of providing an error.
    VERSION         Previous minor  Previous patch release

    1.14.3          v1.13           v1.14.2
    1.14.1          v1.13           v1.14.0
    1.14.0          v1.13           <error>
    1.14.1-dev      v1.13           v1.14.0
    1.15.0-dev      v1.14           <error>
    1.13.90         v1.12           v1.13.89

/test


patients list column sort fix

address this story:
https://www.pivotaltracker.com/story/show/142739321

makes assessment status field sortable AND searchable
It seems the most clean way to do this is by making the assessment status a property of the user
otherwise, it seems error-prone trying to acquire assessment status conditionally
fix consent date field sorting issue AND also making it searchable
add loading indicator during url redirect

@pbugni  Paul, your feedback on my changes is greatly appreciated.  Thank you very much in advance.

trying a different approach, will have ready shortly


[FEATURE] Introduce Spring Data Opensearch

Is your feature request related to a problem? Please describe.
Taking into account how widely popular Spring Data Elasticsearch is, it is highly likely that community would seek the first class support of the OpenSearch integration. In scope of this issue and multiple discussions with Spring Data Elasticsearch team (@sothawo), the decision has been made to host the integration on OpenSearch side as a standalone project based on Spring Data Elasticsearch 5.0, under spring-data-opensearch repository.
The existing pull request [3] will become the foundation for  spring-data-opensearch integration, with minor changes required on Spring Data Elasticsearch as well.
Describe the solution you'd like
Create new repository spring-data-opensearch to host Spring Data Opensearch project
Describe alternatives you've considered
The option to bundle Spring Data Elasticsearch with OpenSearch is feasible but pose a significant maintenance overhead, the agreement was reached to have it as a separate deliverables (under OpenSearch project).
Additional context
[1] https://github.com/spring-projects/spring-data-elasticsearch/issues/1770
[2] https://github.com/spring-projects/spring-data-elasticsearch/issues/1918
[3] https://github.com/spring-projects/spring-data-elasticsearch/pull/2203

I'll begin the process of creating a new repo. FYI @VachaShah


Defining minor version

Article discusses pinning the major version as mandatory, but no info is given on pinning the minor version.
As someone who just ran into this.... how do you pin a minor version<EMAIL_ADDRESS>will just spit out an error task reference must be in the format <NAME>@<VERSION>.

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

ID: 8098f527-ebdf-60d5-3989-5228b7a207c1
Version Independent ID: ce27c817-9599-00ef-5af2-3ac1dbad8dc6
Content: Build and Release Tasks - Azure Pipelines
Content Source: docs/pipelines/process/tasks.md
Product: devops
Technology: devops-cicd-process
GitHub Login: @juliakm
Microsoft Alias: jukullam

@Justin-DynamicD Could you give an example of the task that has a minor version? Looking at the tasks repo, I'm not seeing any. Thanks for your help!

That's the fun part, isn't it :)
Try InstallSSHKey@0  Obviously the major version is "0", but when you look at the logs output from the pipeline, it actually reports back running version 0.169.1.  If I go back 2 weeks and look at older jobs, it had version 0.156.0.  So there are minor release changes occurring in the modules that can be seen from the output of the executing pipeline.

vs.

@Justin-DynamicD I'll update the docs. The task name would change to something like<EMAIL_ADDRESS>The warning is that you can only use the minor versions for tasks in your organization. Tasks start saving from the moment your organization is created. So, you should be able to access any task version that you have used previously in your organization.


Memory leak on opengl backend plots

There is a lazy remove on the OpenGL backend in order to clean up OpenGL item in the right thread.
This code is executed during the paintGL.
If the plot is never displayed, items are never cleaned up.
But the plot can be updated with new items which will be never displayed.
As result the amount of items increase, until the plot is displayed again.
When using tabs, it's really common to have hidden plots.

With Flint, while the plot was on an hidden tab.
The plot is a curve plot with only 3 curves.
In [7]: len(w._silxPlot()._backend._glGarbageCollector)
Out[7]: 2190

After a display of this tab
In [8]: len(w._silxPlot()._backend._glGarbageCollector)
Out[8]: 0

A backport to 0.14 would be very welcome.

Related to https://gitlab.esrf.fr/bliss/bliss/-/issues/2733

We also encountered this issue and I can confirm that it is fixed from silx 0.14.1 onwards. However, on Debian 11 we are stuck on version 0.14.0. Is there a way to make the fix available on our operating system, without resorting to pip? For example by providing an official Debian backport, or an unofficial package for Debian 11 (right now these are only available for Debian 10)?

Hi,
To build unofficial Debian/Ubuntu packages, you can use this script: https://github.com/silx-kit/silx/blob/main/build-deb.sh
You can check the CI we use to build the unofficial packages we provide: https://gitlab.esrf.fr/silx/bob/main/-/blob/master/job-templates.yml#L810-865
Otherwise to get an official backport, since we are not much involved in official Debian packaging, it's best to ask a service company that provide this kind of service.

Many thanks!
My apologies if this is in the wrong place, but I get the following error when trying to build a Debian package (and even with just ./build-deb.sh --help):
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
Traceback (most recent call last):
  File "/data/tobiasv/silx/src/silx/io/__init__.py", line 36, in <module>
  File "/data/tobiasv/silx/src/silx/io/utils.py", line 34, in <module>
  File "/usr/lib/python3.9/logging/__init__.py", line 26, in <module>
  File "/usr/lib/python3.9/traceback.py", line 5, in <module>
  File "/usr/lib/python3.9/linecache.py", line 11, in <module>
  File "/usr/lib/python3.9/tokenize.py", line 27, in <module>
ImportError: cannot import name 'open' from 'builtins' (unknown location)

The issue is that the silx/src/io subpackage shadows the standard library's io module. This issue can be circumvented by renaming src/silx/io to e.g. src/silx/_io, but then the build process still fails because silx.io.xxx is expected in many places.
Any clue how to get around this?

Hi,
I just opened a separate issue #3771 for this, let's continue the discussion there.


[AutoRelease] t2-containerservicefleet-2024-03-18-97473(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/5051
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=982
BuildTargetingString
azure-mgmt-containerservicefleet
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/5051

/check-enforcer override


Replace usage of the sample project in tests with mocked responses

Currently, the DeliveryClientTests depends on two sample projects in Kentico Cloud ("975bf280-fd91-488c-994c-2f04416e5ee3" and "e1167a11-75af-4a08-ad84-0582b463b010").

[ ] We'd like to remove that dependency and use fake responses instead. Ideally, it should be done by mocking the httpclient (via moq or fakeiteasy).
[ ] add test for #43 (item.AssetField.First().Description)

Hi @petrsvihlik ,
I would like to pick this task. I hope this task will be a good starting point for me to delivery-sdk-net .

Yes, indeed it's a good task to start with. Thanks for a great job! I've added a follow-up task https://github.com/Kentico/delivery-sdk-net/issues/84.

Great . I'll start working on  #84

fixed in #83


fix #55

@jamesturk any chance to see this changes applied and released on pypi? we are using secretballot in production

this is a backwards incompatible change, but I'd be open to it in theory
can you include a migration?

see https://github.com/django/django-contrib-comments/blob/master/django_comments/abstracts.py#L29 how it should be done

hey @jamesturk  we use your wonderful app at https://altacucina.co, and it would be awesome if you can release a version that address this issue

can you include a migration?
fixed

@jamesturk ?

No plans yet, I'll need to consider an approach to releasing this since it
breaks backwards incompatibility (you can use your own fork in the meantime
hopefully :))
On Sun, Jul 28, 2019 at 4:04 AM Basil S<EMAIL_ADDRESS>wrote:

@jamesturk https://github.com/jamesturk ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jamesturk/django-secretballot/pull/56?email_source=notifications&email_token=AAAB6YWBANSHKMZMI74JPZ3QBVHIJA5CNFSM4IDTSE6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD26ZSVI#issuecomment-515742037,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAB6YX5GZ7IOVYFKID5I2TQBVHIJANCNFSM4IDTSE6A
.


Freshen up the project directory structure

Remove these:

[ ] cloud-function
[x] coffee-bot-board
[ ] graph-integrity
[ ] graph-playground
[x] graph-runner
[x] llm-starter
[ ] node-nursery
[ ] node-nursery-web
[ ] pinecone-kit
[x] team-kit

Consider removing these:

[ ] breadboard-extension
[ ] breadboard-server
[ ] breadbuddy
[ ] create-breadboard
[ ] create-breadboard-kit
[ ] discovery-types
[ ] palm-kit

@paullewis  shall we keep breadbuddy?

We could repurpose it for a Chrome Extension? But if we aren't going to do that then let's get rid.

Decided to remove breadbuddy (it will return!) and renamed breadboard-web/-ui to visual-editor

Will archive the last few and declare victory


pythonPackages.django-anymail: init at 6.1.0

Motivation for this change
I'd like to build my project with Nix, and this package is needed.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

I think this is ready to be merged, is there something left @FRidh ?


feat(v2): global data + useGlobalData + docs versions dropdown

This PR implements the ability to switch from one doc version to the other, directly from the navbar, without loosing "context" (ie, the doc you are on):

To do this, some infra needed to be built:

docs plugin should be able to set some global data, that can be accessed by theme layout/navbar
client api should be able to access that global data from anywhere
docs plugin should provide convenient hooks to query the docs global data (ie global data shape is not direct api surface)
navbar should allow configuring custom item types (ie, a docsVersionDropdown type)
all this should be built with the future multi-instance plugins in mind

Relevant docs:

setGlobalData plugin action
global data client api (useGlobalData, usePluginData , useAllPluginInstancesData)
Custom docs version navbar items
plugin ids for multi-instance

Breaking changes:

themeConfig.navbar.links renamed to themeConfig.navbar.items (with custom error msg to help user)

thanks :)


test: Improved device unit test cases and fixed issue

Description:
We improved the device unit cases
Issue fixed?
https://github.com/equinix/metal-cli/issues/257

Was looking at this, seems like the state shouldn't be a string but instead some type defined in the generated API files.

Closing this since everything in here appears to have been addressed in other PRs.


[Refactor][AST] sinfo_args A3: Well-formed check

This PR is the last part of the sinfo_args switch tracked by #377, which adds the StructInfo check in well-formed check, to ensure that the StructInfo in sinfo_args does not refer to any undefined symbolic variables.

Depends on #386 for the API of call_packed and call_tir.


feat(pie-toast-provider): DSW-2222 toast provider basic functionality

Describe your changes (can list changeset entries if preferable)

Adds the ability to create a toast via the provider
Adds the ability to clear toasts via  the provider
The provider should handle the order priority when tests are added

Author Checklist (complete before requesting a review)

[x] I have performed a self-review of my code
[x] I have added thorough tests where applicable (unit / component / visual)
[x] I have reviewed the PIE Storybook/PIE Docs PR preview
[x] I have reviewed visual test updates properly before approving
[ ] If changes will affect consumers of the package, I have created a changeset entry.
[ ] If a changeset file has been created, I have used the /snapit functionality to test my changes in a consuming application

Reviewer checklists (complete before approving)
Reviewer 1

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] If there are visual test updates, I have reviewed them

Reviewer 2

[ ] I have reviewed the PIE Storybook/PIE Docs PR preview
[ ] If there are visual test updates, I have reviewed them

/snapit

/snapit


Energy measurements for Wagtail Bakery Demo

This pull requests is a bit out of the ordinary ... I hope :)
I work for an open source company called Green Coding Solutions in Germany and we started with the mission to increase awareness and actionability around digital CO2 emissions.
We have recently created an open source CI/CD tool called Green Metrics Tool that can measure the energy consumption of a software.

Project page
Github Page

It works by orchestrating the needed infrastructure (in this case containers) and running a usage_scenario against it.
Some prior work on this has been done with @thibaudcolas on the Gold Standard which resulted in an initial implementation by @thibaudcolas in this fork
Since then the fork got quite outdated and this PR is the update to the newest Wagtail and Bakery Demo.
The tool creates awareness of the energy cost and carbon emissions of software and empoweres developers to create action for more sustainability. Also it helps to understand how the energy cost for certain features of the software change over time and find energy regressions or even optimization potentials.
I hope this PR and the information that the Green Metrics Tool provides is interesting for you and I am super interested in your feedback on  it.
Changelog

Added usage_scenario.yml which allows our tooling to pick up the repostiory and do periodic measurements on it every time a change occured.
Added wget to the Dockerfile as we use that to warm up a cache. If that is not viable it can also be moved to the Green Metrics Tool initialization part. I hope the baggage is small though.
Removed the superflous volume binding in the docker-compose.yml. To my understanding this has no functional effect as the data is already copied anyway in the container build ...? If that is needed it can also moved to the GMT volume mapping rather.
Added usage_scenarios testing different flows inside of the bakery like sending a contact form, going to the admin etc.

Demo

An example of where we have run it before making the PR in the forked repository

https://metrics.green-coding.io/stats.html?id=105e75ed-ac65-4ff3-805a-ae4c5d891962

An example of how runs over time look like in the old Gold Standard repository we crated with help of @thibaudcolas :

https://metrics.green-coding.io/timeline.html?uri=https://github.com/green-coding-solutions/bakerydemo-gold-benchmark&filename=usage_scenario_warm.yml&branch=main&machine_id=7&start_date=2023-04-01

Example screenshot for the look of the different scenarios. Highlighted the contact page flow

@ribalba @MichelleGruene @mrchrisadams

Tagging also @syyong who has helped with technical support of migrating to the new Bakery

Hey @ArneTR , can I check if I understand this?
I'm gonna refer to as Green Metrics Tool as GMT to save typing. This PR seems to:

introduce a usage scenario.yml file used by GMT, this re-uses the docker compose definition, and adds the same flows through the app that were in defined .greenframe.yml, but driving a green-coding-puppeteer-container docker container  containing a headless browser.
take the earlier scripts that were used with greenframe, and introduce more generalised equivalents that work with puppeteer, and are used in by the green-coding-puppeteer-container above:  So, where greenframe has some javascript to drive puppeteer under the hood, there are now the corresponding javascript files in benchmarks/puppeteer/that broadly follow the same steps ( i.e submitting via the contact form, exercising search, and so on.

I think I have a couple of questions about how to test the scenarios though. I have a copy of GMT running locally, and I can 'drive' the containers listed in this PR, when I pass the path to the local checkout of this repo.
So far so good - however, I'm on a mac, so the local readouts from running my local GMT instance do not give the same breakdown you would see here, because Apple macbook M1 laptops don't have the same sensors as the testing machines.
So the output looks like this - where you can see some rendering being offloaded to GPU, but you don't have the same breakdown as the screenshot in the original PR:

How to test GMT runs are working
Is there a way to manually trigger a run for a given project to see how it's working?
I'm aware there is a cool-down between run, so it's not like you would trigger runs every minute, but it would be helpful for testing the behaviour of this PR. I can see something in the API documentation, so I was wondering if sending a POST request something like this might work:

import requests

gmt_run_data = {
    "name": "One-off-test",
    "email"<EMAIL_ADDRESS>    "url": "https://github.com/org-name/project-name",
    "branch": "pr-number",
    "machine_id": 7,
    "schedule_mode": "one-off",
}

requests.post("https://api.green-coding.io/v1/software/add", json=gmt_run_data)

Thanks for getting this PR together.

Hey @mrchrisadams,
thank you so much for this detailed introspection and the additional infos! To answer your questions:

The way to manually trigger the runs on the measurement cluster at the moment is either to use the web form on https://metrics.green-coding.io/request.html or to submit via the REST API.
Your python code is correct. To make it more illustrative I changed the parameters to the exact one that would be needed for the bakerydemo:

import requests

gmt_run_data = {
    "name": "BakeryDemo Test",
    "email"<EMAIL_ADDRESS>    "url": "https://github.com/wagtail/bakerydemo",
    "branch": "main",
     "filename": "usage_scenario.yml",
    "machine_id": 7,
    "schedule_mode": "one-off",
}

requests.post("https://api.green-coding.io/v1/software/add", json=gmt_run_data)

The way how it would be integrated then if gets merged would be to make a cronjob from our side that would be then listet here: https://metrics.green-coding.io/energy-timeline.html

Our cluster picks up the repository once a day and does the measurement.
The changes over time are then also graphed and statistically evaluated. here a demo from the old bakery gold benchmark:  https://metrics.green-coding.io/timeline.html?uri=https://github.com/green-coding-solutions/bakerydemo-gold-benchmark&filename=usage_scenario_warm.yml&branch=main&machine_id=7&start_date=2023-01-01

I added the greenframe tests just for reference because I assumed at somepoint @thibaudcolas will give this PR a look and it helps in putting it into category and they might be interesting also of energy tests are generally added to this project.
But now seeing your confusion I think it might be better to remove them from the PR. Will wait for a maintainer call here for now ...

The idea with having a console command to directly add a job to the cluster is very interesting. Can you open an issue on the GMT repo with some details? Would love to discuss the idea there.

ty!

I removed the legacy greenframe benchmarks to slim the PR and not bring benchmarks in that might not be run.

I fixed the linting errors by rebasing with changes from main. This makes the python lint work.
Then I added the benchmarks to the ignore directory, since they are not core part of the project and mostly the import statement was complained about I thought ignore is the way to go here.

Let me know


feat: 3621 - changed icon for null "is packaging complete?" bool

Impacted file:

edit_new_packagings.dart: changed icon for null "is packaging complete?" bool

What

"is packaging complete?" is a bool?
In order to display a bool?, we need icons for 3 states (null, true, false). The "indeterminate" icon is a bit peculiar.
Now we consider that in that case, null means false
Therefore, there are only 2 displayed checkboxes - checked (true) and unchecked (false, null).

Fixes bug(s)

Closes: #3621

Thank you @stephanegigandet for the review!
Again ;)


pick and place tutorials can't launch

Description
failure to launch pick and place demo.
Your environment

ROS Distro: [Humble]
OS Version: macOS 10.13.6
Source or Binary build?
source , mainly base on origin/ros2

Steps to reproduce
just follow the tutorial of pick and place
in running the demo section,
it should add install launch folder statements inside CMakeLists.txt, other wise we can't run
ros2 launch mtc_tutorial pick_place_demo.launch.py
after deploy launch folder, it failure to launch.
$ ros2 launch mtc_tutorial pick_place_demo.launch.py
[INFO] [launch]: All log files can be found below /Users/xlla/.ros/log/2022-07-03-01-23-42-065169-slim.local-30365
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [mtc_tutorial-1]: process started with pid [30366]
[mtc_tutorial-1] libc++abi.dylib: terminating with uncaught exception of type rclcpp::exceptions::RCLInvalidROSArgsError: failed to parse arguments: Couldn't parse remap rule: '-r __node:=introspection_slim.local_30366_140450084168480'. Error: Expected lexeme type 1, got 22 at index 26, at /Users/xlla/ros2_foxy/src/ros2/rcl/rcl/src/rcl/lexer_lookahead.c:246, at /Users/xlla/ros2_foxy/src/ros2/rcl/rcl/src/rcl/arguments.c:373
[ERROR] [mtc_tutorial-1]: process has died [pid 30366, exit code -6, cmd '/Users/xlla/ws_moveit2/install/lib/mtc_tutorial/mtc_tutorial --ros-args --params-file /var/folders/6j/gqhq_r1n0wg5qjypvtkccnqr0000gn/T/launch_params_zucq2zxa'].

even launch file from moveit2_tutorials failure to launch
$ ros2 launch moveit2_tutorials pick_place_demo.launch.py
[INFO] [launch]: All log files can be found below /Users/xlla/.ros/log/2022-07-03-01-24-39-186562-slim.local-30408
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [mtc_tutorial-1]: process started with pid [30410]
[mtc_tutorial-1] libc++abi.dylib: terminating with uncaught exception of type rclcpp::exceptions::RCLInvalidROSArgsError: failed to parse arguments: Couldn't parse remap rule: '-r __node:=introspection_slim.local_30410_140550745549520'. Error: Expected lexeme type 1, got 22 at index 26, at /Users/xlla/ros2_foxy/src/ros2/rcl/rcl/src/rcl/lexer_lookahead.c:246, at /Users/xlla/ros2_foxy/src/ros2/rcl/rcl/src/rcl/arguments.c:373
[ERROR] [mtc_tutorial-1]: process has died [pid 30410, exit code -6, cmd '/Users/xlla/ws_moveit2/install/lib/moveit2_tutorials/mtc_tutorial --ros-args --params-file /var/folders/6j/gqhq_r1n0wg5qjypvtkccnqr0000gn/T/launch_params_q2pm6ek6'].

other tutorials before "pick and place" have executed successfully.
Expected behaviour
demo successful launch
Backtrace or Console output

I found a solution:
In package moveit_task_constructor_core,  avoid '.' appear in hostname
std::replace(std::begin(our_hostname), std::end(our_hostname), '.', '_');

hello, I have same question,but I don't find the package moveit_task_constructor_core. where is it ?

@xlla, please file a PR with your solution against the source repository next time. This way others can benefit from the fix as well :wink:


Fix issue with no options being passed to bemLint and reporter

This moves the transform callback into a function that is returned with access to the current merged options in a closure. Ensures that bem-linter and reporter get any options.
Added a test where it throws an error on conformance failure. This is what I expect will be a common use to fail builds. Will be useful for our own npm test in the future.

looks good to me!


[Fix] Fix some typos in src/.

Fix some typos in src/.

Can you do one single commit?

Can you do one single commit?

For fear that when all the changes are submitted together, all the changes will be terminated because the CI/CD of a certain change does not pass. And considering that some open source repositories recommend separate PRs when there are many files to be modified, I submitted PRs separately.
If I need to put all the changes into one PR, I will merge it later.

Yeah, please merge them into a single PR.

Yeah, please merge them into a single PR.

OK, thanks!

Quiet curious: how did you find out all those typos? This is super cool

Quiet curious: how did you find out all those typos? This is super cool

Maybe you can see my repo (Search-for-Typos) for details.

This is quite cool!! Thanks @Yulv-git for sharing!

looks like this PR cannot pass CI due to some changes in CI files. @driazati would you mind helping this PR pass? Would be super helpful to have PRs like this

still failed :-(

hey @Yulv-git thanks for persisting with this, could you run black tests/python/frontend/onnx/test_forward.py to fix the lint error?

hey @Yulv-git thanks for persisting with this, could you run black tests/python/frontend/onnx/test_forward.py to fix the lint error?

Sorry, I cannot run black tests/python/frontend/onnx/test_forward.py due to environmental problems.

looks like we have permission to update your fork branch, I can handle shepherding this through CI in that case

looks like we have permission to update your fork branch, I can handle shepherding this through CI in that case

Thanks for your help.

merged! thanks for your patience @Yulv-git


Can't select text within SVG image

Hi, I'm having trouble selecting text within the SVG image when using this plugin. Has anyone else encountered this issue and know of any possible fix?
All text is unselectable, even when disabling pan and zoom functionality.
Thanks

Is text unselectable even if you don't use svgpanzoom plugin?

I can select text when I don't use the svgpanzoom plugin. Is there a way to diable the plugin when pressing a key down, so I can select the text and then on keyup I can resume the plugin functionality?
Also, what is the correct way to include the svg image in a html page? In the demo it says not to use window.open in production.
Thanks

I can select text when I don't use the svgpanzoom plugin. Is there a way to diable the plugin when pressing a key down, so I can select the text and then on keyup I can resume the plugin functionality?

You can resume but this will not help.
The problem is that plugin listens for all mousedown, mousemove and mouseup events. All this events are prevented by using preventDefault. So it would require to refactor the library to allow default events processing when pan is disabled.
If you don't need pan you can disable it and comment event preventing in:

SvgPanZoom.prototype.handleMouseDown
SvgPanZoom.prototype.handleMouseUp
SvgPanZoom.prototype.handleMouseMove
This way text selection should work.

Also, what is the correct way to include the svg image in a html page? In the demo it says not to use window.open in production.

As you saw demo explains why not to use window.open:

Don't use window.onLoad like this in production, because it can only listen to one function.

So if you'll have another such function somewhere else then only one of them would work. If you use jQuery then you can do $(function(){//your code here});. Also I'm sure if window.open is cross-browser.

Hi Bumbu, thanks for your response.
I've noticed the preventDefault and have commented them out and disabled pan and I am able to select text.
My problem is I require text selection, zoom and pan functionality. As the library will need to be amended to accommodate all of these features I have specified, are there any plans to include text selection in the next release of the library?
Thanks

My problem is I require text selection, zoom and pan functionality. As the library will need to be amended to accommodate all of these features I have specified, are there any plans to include text selection in the next release of the library?

It is not trivial do to selection because the library should detect what's user intent (pan or selection). That's not easy, and different implementations may need different solutions (or none at all).
But it is possible to be done now. Take a look at demo/mobile.html. You would want to override default mouse events as:
window.onload = function() {
  var eventsHandler;

  eventsHandler = {
    haltEventListeners: ['mousedown', 'mousemove', 'mouseup']

  , mouseDownHandler: function(ev){
      // Process mouse down event
    }

  , mouseMoveHandler: function(ev){
      // Process mouse move event
    }

  , init: function(options) {
      options.svgElement.addEventListener('mousedown', this.mouseDownHandler, false)
      options.svgElement.addEventListener('mousemove', this.mouseMoveHandler, false)
    }

  , destroy: function(options){
      options.svgElement.removeEventListener('mousedown', this.mouseDownHandler, false)
      options.svgElement.removeEventListener('mousemove', this.mouseMoveHandler, false)
    }
  }

  // Expose to window namespace for testing purposes
  window.panZoom = svgPanZoom('#mobile-svg', {
    zoomEnabled: true
  , controlIconsEnabled: true
  , fit: 1
  , center: 1
  , customEventsHandler: eventsHandler
  });
};

So you have to check in mousedown event if it happened over a text element or not. And then:

if it was over a text element - do nothing
if not then simulate panning via public API

You may choose to have a different way of checking what's the user intent.

Thanks Bambu, I've managed to get text selection working by overriding the default mouse events.
My only problem is panning isn't working at the moment, how do I similate panning via public API?
Thanks

You access pan and panBy methods of svgpanzoom instance.
If to take the example that I provided earlier:

First you store initial mouse position in mouseDownHandler
In each mouseMoveHandler you compute how much mouse moved and call panZoom.panBy(x, y) where x and y are your computed values.

Thanks for your message, I've managed to sort my issue.

Similar to this, I'd like to have two separate "modes" for my svg container:

panEnabled is true and preventMouseEventsDefault() is true
User toggles a button, which causes panEnabled: false and  preventMouseEventsDefault: false

I can use the API to toggle panEnabled, but didn't see how to toggle preventMouseEventsDefault- is this possible? If not, what's the best approach here?

That is true that there is no API that would change the preventMouseEventsDefault value.
What you can do is:

Create a method to toggle this value. It can be similar to enable/disableZoom
Set preventMouseEventsDefault: false. Add a custom handler for mouse events you're interested in. And call preventDefault from your custom event handler when you need it. I'm not sure if this will work, but it should

It would be beneficial in some scenarios to handle the mouseleave event in addition to the three handlers mentioned above. The behaviour of this handler would be similar to mouseup.

@bumbu, could we do mouseleave the same way we do for the other events?
More generally, I came across a library that appears to address use cases
similar to the ones raised in this issue:
http://interactjs.io/api/
It might provide some ideas we could copy for svg-pan-zoom regarding how to
allow devs to specify their desired interaction types. This is probably
only relevant, however, if we ever implement that big "plug-ins allowed"
refactoring for a new major version.
On Dec 1, 2016 10:32 PM, "Rangitha Kuruppu"<EMAIL_ADDRESS>wrote:

It would be beneficial in some scenarios to handle the mouseleave event
in addition to the three handlers mentioned above. The behaviour of this
handler would be similar to mouseup.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ariutta/svg-pan-zoom/issues/81#issuecomment-264384148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPJgzAOEuG8mt7nnYQQgEWze2y-tbwhks5rD7tsgaJpZM4DVUSE
.

Hi @rangitha and @ariutta.
You can see in svg-pan-zoom.js:131 that the library does handle the mouseleave events. And as with other events - you can halt any of the events defined in there (inclusively mouseleave).
@ariutta, can you please elaborate a bit more on which ideas exactly we could reuse from interactjs?
Is it the on/off methods, or draggable/gesturable methods that enable and configure specific interactions, or maybe it's something else?

Hi @bumbu:
Yes, I noticed. I was adding to your example on using customEventsHandler. My specific case was that panning and releasing the left mouse button outside of the SVG limits would continue the pan when the mouse re-enters the SVG again, even if none of the mouse buttons are pressed.
Not sure if that's case specific to me. However I easily fixed that by halting and handling mouseleave.

Hi @rangitha
That's strange, as I was testing the same behavior and it was working fine for me.
I was testing on inline demo.
If it doesn't work like this for you then it may be a library bug, or some specific setup/code for your example. If you think that it's a bug, please open a new issue with some reproducible examples.

Hi Bumbu ,
I have tried the above snippet for text selection , It worked as expected but I missed some of the existing functionality like moving images. Also zooming and movement is going hand in hand for bigger images. We are unable to use copy option after right click the selected text .
Please help us the above issues .


Labelmargins

@halatmit This is a pull request on your fork of the sources. If you accept this pull request (merge it into your repo) then it will automatically update the pull request you submitted against the official copy.
-Jeff


Naming conflicts with matplotlib caused by 'from beakerx import *'

In general a user could import 'plot' from matplotlib by calling:
from matplotlib.pyplot import plot
But if user have another cell importing everything from beakerx:
from beakerx import *
Then all plotting in matplot lib would fail with exception: 'TypeError: module object is not callable' Because beakerx.plot override the matplotlib plot.

yup thanks. IMO we should not recommend the import *, it's just bad style.
could also rename the "plot" submodule to avoid the conflict as a workaround.


bug in referenced class variable

I wrongly referenced to the default params instead of the class variable. Sorry. Merge this as soon as you can please.

ohh missed that too, just made sure it didn't break anything.

Sorry, was a typo! Are you going to release a new version 0.5.6 ?

0.5.6 is released.


Adds extra configuration options & updates plugin versions

What the change is:
Adds extra configuration options to the docker and docker-compose steps to support using private Docker registries.
This PR exposes the following configuration options:

docker

mount-buildkite-agent
expand-volume-vars
debug

docker-compose

propagate-environment
mount-buildkite-agent
expand-volume-vars

Why the change is beneficial:
Adds support for using private Docker repos to match the BuildKite documentation. Multiple vendors, including AWS advice on dealing with Docker Hub rate limits by mirroring public images into your own private Docker registry.
We use this plugin as a global template, and services that use that template can't currently use our private Docker mirror.
Additional comments
I updated the version of the docker and docker-compose plugins to match the latest available one.
If there's anything else needed, please just let me know!

@sagebind will it be possible for someone to have a look at this PR?


Resolving multiple imports guarded by typing.TYPE_CHECKING

Hello!
At the beginning: I saw #22, but this case looks like a separate issue.
Description
Version 1.15.0 introduced a change in the way imports guarded by if typing.TYPE_CHECKING are handled. The _resolve_type_guarded_imports function searches for TYPE_CHECKING occurrences using a regular expression, and then runs the code inside that block with exec.
This solution is pretty smart and it works, until we have multiple levels of TYPE_CHECKING guards.
Example
bokeh/model/model.py: https://github.com/bokeh/bokeh/blob/branch-3.3/src/bokeh/model/model.py#L42
if TYPE_CHECKING:
    from ..core.has_props import Setter

bokeh/core/has_props.py: https://github.com/bokeh/bokeh/blob/branch-3.3/src/bokeh/core/has_props.py#L98
if TYPE_CHECKING:
    from ..client.session import ClientSession
    from ..server.session import ServerSession

if TYPE_CHECKING:
    Setter = Union[ClientSession, ServerSession]

The resolver finds TYPE_CHECKING guard in model.py and tries to execute the import, but it's unable to find the Setter in has_props.py (the TYPE_CHECKING flag is set to False, and the file has_props.py is just being executed by python, not parsed by _resolve_type_guarded_imports function).
Proposition
I'm wondering if it would be possible to resolve this type of imports recursively, using _resolve_type_guarded_imports? Or do you have any other ideas? I guess I have to stay with version <1.15.0 until this gets fixed.

Your proposition sounds ok, PR welcome 🤗

Could be AbstractSetIntStr from pydantic/_internal/_utils in pydantic 2.x another one?
_utils.py: https://github.com/pydantic/pydantic/blob/v2.2.2/pydantic/_internal/_utils.py#L22
which get's accessed in
main.py: https://github.com/pydantic/pydantic/blob/v2.2.2/pydantic/main.py#L43
at least I get the same 'WARNING: Failed guarded type import with ImportError("cannot import name 'AbstractSetIntStr'' that you mentioned

@hojo0590 yes, looking at the lines you've pasted, it looks like the same problem.

@hojo0590 did you find solution to resolve this problem "cannot import name 'AbstractSetIntStr' from 'pydantic._internal._utils'" ?

I have implemented a draft that should fix this issue: #393
@lchojnacki Could you please test if that fix works for your Bokeh use case?
However, the fix does not work for Pydantic because Pydantic uses AnyClassMethod = classmethod[Any, Any, Any] in one of its blocks guarded by if TYPE_CHECKING. That code can not be executed by Python because TypeError: 'type' object is not subscriptable. I couldn't find any documentation for generic arguments on classmethod, so I don't know what the Pydantic folks are trying to achieve there. I guess code guarded by if TYPE_CHECKING is not really meant for execution but does that mean that it can contain invalid Python code?

@Mr-Pepe this looks like valid Python 3.12 - see PEP-659
Haven't had a look if my guess if right and their dev enforces Python 3.12 already (for which the type guarding would make even more sense then) though.

@hojo0590 Running the following with Python 3.12
from typing import Any

AnyClassMethod = classmethod[Any, Any, Any]

yields
Traceback (most recent call last):
  File "tmp.py", line 3, in <module>
    AnyClassMethod = classmethod[Any, Any, Any]
                     ~~~~~~~~~~~^^^^^^^^^^^^^^^
TypeError: type 'classmethod' is not subscriptable

I couldn't really find any information on whether code in if TYPE_CHECKING actually has to be executable, so I opened this thread on discuss.python.org. @gaborbernat Do you know any specific documentation on the topic or did you just assume that you could execute the code when you wrote this extension?

Just hopped 😳hence why if it fails is silent error.

@Mr-Pepe sorry, I did not make it clear enough, that I haven't tried (Python 3.12) myself yet - thanks for trying it, I learned something


DevFile doesn't running in Red Hat OpenShift Dev Spaces 3.10.1 provided by Red Hat

This repository doesn't running in openshift 4.14 or crc2.31.0
DevSpace operator version
Red Hat OpenShift Dev Spaces
3.10.1 provided by Red Hat

Hey @adelahozredhat could you also share any logs related to this issue?

nothing on the openshift sorry. only timeout

@adelahozredhat
From my side I've tried to reproduce. I was able to reproduce a timeout error but the workspace build failed on the "waiting the editor to start" step. AFAIK this means that all k8s components were created successfully (I was able to confirm that through the openshift console).
More detailed I've tried to create a che workspace in devspaces by importing the https://github.com/devfile-samples/devfile-sample-python-basic repo
Could you share what you see in the "progress" tab?

See my comment: https://github.com/devfile/api/issues/1423#issuecomment-2008008201
If this issue persists it should be tracked and re-opened on devfile/api#1423.


ibc: handle height in gRPC request metadata if specified

Describe your changes
Check if height is specified in the metadata for relevant IBC gRPC queries and get the respective snapshot if it is provided. If the height is not specified in the metadata, the latest snapshot is used, which is the existing behaviour.
Reasoning: since astria uses only gRPC queries for all the IBC queries in the hermes impl, but the gRPC proto messages don't contain the query height, we implemented a fix by putting the height in the metadata. Without this fix, our hermes impl would submit unexpected proofs on occasion, as the proofs would be off-by-one height than that was expected.
I opened a PR to update the protos, but the response by the maintainer of ibc-go suggests to me that they intend for having the height in the header be the actual fix (https://github.com/cosmos/ibc-go/pull/7303).
Issue ticket number and link
n/a
Checklist before requesting a review

[ ] I have added guiding text to explain how a reviewer should test these changes.

[ ] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

only affects the IBC gRPC server, and does not affect existing behaviour

Thanks a lot, learned a bunch from going down this rabbit hole. I am doing some testing and will merge EOD or early tomorrow.


Exclude developmentOnly dependency by default

just like testImplementation and other non production dependency configuration

Hi @CoderYellow, would you mind adding a bit more of context to this request (why do we need this, where exactly)? I see that the micronaut example is the place that declares a developmentOnly dependency configuration (used only in the test classpath). It seems to me that this cold be a more general request, so I need to confirm. Thanks in advance!

currently i have to config like this
configure<com.google.cloud.tools.jib.gradle.JibExtension> {
    pluginExtensions {
        pluginExtension {
            implementation = "com.google.cloud.tools.jib.gradle.extension.layerfilter.JibLayerFilterExtension"
            configuration(Action<Configuration> {
                filters {
                    configurations["developmentOnly"]
                        .resolvedConfiguration
                        .firstLevelModuleDependencies
                        .flatMap { dependency ->
                            dependency.moduleArtifacts.map { artifact ->
                                artifact.file
                            }
                        }.forEach {
                            filter {
                                glob = "/app/libs/${it.name}"
                            }
                        }
                }
            })
        }
    }
}


When Moving pieces, limit selection to what is actually movable

After issue #17    I decided to adjust and move my pieces. Even though I only have Underground VC and a base, I was given more options. Maybe limit it to only what's there, and include an "All" choice"? Though I get it, you're giving me more options to save a step later. Not sure this is the best place for that kind of efficiency, though.

I think this works fine the way it is.  The adjust command is not used often during play and was intended for use mostly when testing.


Collect software versions

It's nice to have all of the software versions in the summary HTML file.
I've just done this in the NGI-MethylSeq pipeline, see the stdout parsing here.

Done in #141


Update DockerMachine to 0.3.0

Docker Machine plans to ship 0.3.0 on 6/16.
https://github.com/docker/machine/releases/

tested, positive cases

Adding hosts
1.1. digitalocean - OK
1.2. rackspace - OK
1.3. packet - OK
deleting hosts
2.1. digitalocean - OK
2.2. rackspace - OK
2.3. packet - OK

failure cases

Set wrong API key on a digitalocean host - got error status - "exit status 1" (is this expected?)

Tested with server version - V0.23.0-rc2.
root@97c16797b4be:/# docker-machine -v
docker-machine version 0.3.0-dev (ccb7f0a)
root@97c16797b4be:/# go-machine-service -v
go-machine-service	 gitcommit=480875d
root@97c16797b4be:/#
Existing set of validation test cases for digital Ocean machine and amazon ec2 machines work fine.


For manual "installation" instructions consider linking to raw file on GitHub?

Just a thought to help those who aren't familiar with JavaScript or GitHub, maybe instead of having people download the repo and then open autoPlay.js in a text editor in order to select all and copy, link directly to the GitHub raw file for autoplay.js?
https://raw.githubusercontent.com/wchill/steamSummerMinigame/master/autoPlay.js
Then they can just open it in a tab, select all, copy and paste into their console.

I plan on minifying the script very soon, but yes that is planned.

Fixed.


What happened to V4?

What happened to V4?
Have you lost interest in him?
Almost a year has passed since he went out to sponsors.

v4 is actively being developed with early access open to sponsors.


[New game]: Etch-a-Sketch Game

🎮 Game Request
Game logic and basic description

This game is a beginner friendly game.
Also a beginner friendly project.
Create so many images just hovering over the blocks of the grid or touch the blocks of the grid.
Create as much large grid as you want.

Point down the features
Game points

Create emojis and different pictures
Enjoy the game !

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Avdhesh-Varshney !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Avdhesh-Varshney ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


feat(release): prepare for 0.0.1

@homu r+

:pushpin: Commit 0fd0f47 has been approved by hobofan

:hourglass: Testing commit 0fd0f47 with merge dabcacc...

:sunny: Test successful - status


fix: 避免associationtype异常

这个 PR 实现什么功能/修复什么问题:
避免associationtype异常
是否需要 backport 到之前的 release 分支:

release/2.10.0

/area region
/cc @tb365 @yousong @swordqiu

Codecov Report

Merging #3636 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #3636      +/-   ##
=========================================
+ Coverage    6.96%   6.97%   +<.01%
=========================================
  Files         499     499
  Lines       83677   83677
=========================================
+ Hits         5832    5834       +2
+ Misses      77347   77346       -1
+ Partials      498     497       -1

Flag
Coverage Δ

#aFlag
6.97% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
69.23% <0%> (+3.07%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm

/lgtm

/lgtm

/lgtm

/approve


TS issues

I just started trying to use ember-cli-typescript, and it's complaining about missing types from the private folder of this addon. Any suggestions or workarounds?
node_modules/ember-orbit/index.d.ts:1:47 - error TS2307: Cannot find module './-private/factories/coordinator-factory' or its corresponding type declarations.

1 export { default as CoordinatorFactory } from './-private/factories/coordinator-factory';
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ember-orbit/index.d.ts:2:42 - error TS2307: Cannot find module './-private/factories/key-map-factory' or its corresponding type declarations.

2 export { default as KeyMapFactory } from './-private/factories/key-map-factory';
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ember-orbit/index.d.ts:3:42 - error TS2307: Cannot find module './-private/factories/schema-factory' or its corresponding type declarations.

3 export { default as SchemaFactory } from './-private/factories/schema-factory';
                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ember-orbit/index.d.ts:4:48 - error TS2307: Cannot find module './-private/factories/memory-source-factory' or its corresponding type declarations.

4 export { default as MemorySourceFactory } from './-private/factories/memory-source-factory';
                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/ember-orbit/index.d.ts:5:41 - error TS2307: Cannot find module './-private/factories/memory-source-factory' or its corresponding type declarations.

5 export { default as StoreFactory } from './-private/factories/memory-source-factory';

I believe these particular issues have been resolved in v0.17.0-beta.7.

I can confirm that most issues are resolved. Thanks for fixing this up @dgeb!


change bq_workers folders in setup.sh

Cloud Run doesn't support underscores in service names... in order to have variables that go all the way from bash through terraform, this PR changes the names of the source folders to be consistent with GCP naming requirements.

Should we also rename bq_workers to bq-workers? Just get rid of all the underscores?

Good call -- changed and tested with both setup processes.


Policy Reporter no longer working post kyverno 1.11.0 upgrade

This issue is being created to inform the developer community that post kyverno 1.11.0 upgrade, the Policy Reporter is no longer functioning properly.
Per a conversation in the Kybernetes/Kyverno slack channel:
@eddycharly mentioned: "Reports storage change quite a bit, cc @fjogeleit"
Here is an example screen shot of the effected policy reporter post 1.11.0 update: (If you noticed the Passed results are not displaying properly).   This is just one example.

Will be fixed in v2.1.72


Base Model

Base Model provides a query builder sort of functionality. It provides the following methods:

create
get/getBy
update/updateBy
delete/deleteBy

Along with options of joining with other models/tables, ordering results, grouping results, etc.
Part of slaxweb/framework#91

Resolved


[Idea] GregTech power conduits

It would be a nice idea create a GT power conduit (one of each tier of voltage that GregTech has) in order to connect machines in a very tight design with multiple pipes though one face of the block, for example. Currently, using only GT and Ender IO mods, GregTech power needs a face of the block, item import/export needs another one and, only if you're using liquids, a fluid import/export needs an extra one.
Being possible to import/export items and power the machines via one face of the block (in tight places) would be a nice advantage.

I am currently working on an addon mod that will add ic2 and gt conduits
#2944
https://github.com/spacebuilder2020/Random_Enderio_Addons

@spacebuilder2020 You might want to try to avoid people getting confused about "Ender IO Addons" and "Random Ender IO Addons"...

ok... I will think of a different name.

Is there a download to a jar file Random Enderio Addons?
https://github.com/spacebuilder2020/Random_Enderio_Addons/issues/1

Not yet, cause it requires changes to ender io core to not crash.

ok, i'll be around


docs(guides): Update metadata guide

The metadata guide was outdated. This is an extensive update to the guide removing authentication details, and adding getting metadata via authentication service. For completeness the guide now explains the difference to using the management api.

@hifabienne can you please check if the listed methods to get the metadata are correct?
@dakshitha we could structure a guide for authorizations/roles similar to this one, if you think the guide has a proper form. Let me know any feeback.

@hifabienne ok for you?


Add id, startDateTime, endDateTime fields to adding appointment

A new Appointment class is added and there are three fields when creating an appointment as per the [v1.2 Feature List]. These fields will be used for appointment booking and contact tracing which would be implemented in a later version.

Note that this is blocked by feature #36 which involves creating the data model first.

@SampsonYe1999 is this the same as #43

@SampsonYe1999 is this the same as #43

This issue should be a duplicate case of issue #35 and #38. Can be closed.

Issue closed as it's duplicate case of #35 and #38


Calculate and embed image hash

Context

What

Testing

Contribution Checklist

[ ] If the python-sdk was changed, please run make fmt in python-sdk/.
[ ] If the server was changed, please run make fmt in server/.
[ ] Make sure all PR Checks are passing.

Fix lints and merge


Added support for Databricks

Hello. Old closed issue I know, but was there a reason this PR was abandoned? I am looking for something like this for Databricks.

PtrckGdwn, I have code that adds Databricks support to dbt_constraints.  I'll find some time soon to submit a PR to this repo so everyone can take advantage of my work.  Thanks.

Excellent, thanks myersdiz!


Run(): don't use a callback when a slice will do

moreCreateArgs() doesn't need to be a function; it can just be a slice.

LGTM
@umohnani8 @TomSweeneyRedHat @giuseppe PTAL

LGTM, but thought I'd done so a while ago....

@rh-atomic-bot r+

LGTM


Add size var

Add size var in order to define size of the disk storage to be created
Example
nodes:
  count: 1
  infra: false
  type: n1-standard-1
  size: 10

Fix #15

@mhausenblas LGTM

Actually, Deployment descriptor would need to be updated as well to pass the value into the template.

Integrated as part of 19c14231305add8ce6b09a080eb374b79cf3f8d7