feat(storybook): support mdx

Description
update storybook versions and support mdx files
add new component specific mdx files
table component content also added
Why
move design guidelines to storybook from assets
Issue
https://github.com/eclipse-tractusx/portal-shared-components/issues/115
https://github.com/eclipse-tractusx/portal-shared-components/issues/223
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[ ] I have performed IP checks for added or updated 3rd party libraries
[ ] I have created and linked IP issues or requested their creation by a committer
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[ ] I have added tests that prove my changes work
[ ] I have checked that new and existing tests pass locally with my changes
[ ] I have commented my code, particularly in hard-to-understand areas

@evegufy Can you pls check dependency issue here?

I checked an the issue in the PR checks is specific to this PR and connected to some storybook package upgrade, not a general issue.
@oyo is checking it out further

I checked an the issue in the PR checks is specific to this PR and connected to some storybook package upgrade, not a general issue. @oyo is checking it out further

After some investigation Storybook from v8.1.0 onwards requires prettier to be added as a peer dependency. So I moved it from devDependencies to dependencies and the prettier check is now running.

IP Issues created:
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15486 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15487 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15483 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15484 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15485 .
A review is required for npm/npmjs/-/chromatic/11.5.4.
A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15478 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15479 .
A review is required for npm/npmjs/-/prettier/3.3.2.
A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15480 .
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15481 .
A review is required for npm/npmjs/-/eslint-plugin-es-x/7.7.0.
A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15482 .

Please also fix failing linter https://github.com/eclipse-tractusx/portal-shared-components/actions/runs/9611276695/job/26509514085?pr=210

There is not issue in the local, when I run yarn lint, but here it is failing

Please also fix failing linter https://github.com/eclipse-tractusx/portal-shared-components/actions/runs/9611276695/job/26509514085?pr=210

There is no issue in the local, when I run yarn lint, but here it is failing

For me it is also failing on local:
 portal-shared-components yarn lint
yarn run v1.22.22
$ eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0
There was a problem loading formatter: /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish
Error: require() of ES Module /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/strip-ansi/index.js from /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish.js not supported.
Instead change the require of index.js in /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish.js to a dynamic import() which is available in all CommonJS modules.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please also fix failing linter https://github.com/eclipse-tractusx/portal-shared-components/actions/runs/9611276695/job/26509514085?pr=210

There is no issue in the local, when I run yarn lint, but here it is failing

For me it is also failing on local:
 portal-shared-components yarn lint
yarn run v1.22.22
$ eslint . --ext ts,tsx,js,jsx --report-unused-disable-directives --max-warnings 0
There was a problem loading formatter: /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish
Error: require() of ES Module /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/strip-ansi/index.js from /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish.js not supported.
Instead change the require of index.js in /Users/q163684/work/eclipse-tractusx/portal-shared-components/node_modules/eslint/lib/cli-engine/formatters/stylish.js to a dynamic import() which is available in all CommonJS modules.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@oyo I tried from my end. I do not see any error in local

@evegufy  Any update on Dependency file?

IP Issues created: A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15486 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15487 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15483 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15484 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15485 . A review is required for npm/npmjs/-/chromatic/11.5.4. A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15478 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15479 . A review is required for npm/npmjs/-/prettier/3.3.2. A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15480 . A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15481 . A review is required for npm/npmjs/-/eslint-plugin-es-x/7.7.0. A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15482 .

@manojava-gk I created those I issues and they appear to be closed, did you change the versions? If so, change them back.

https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15486

@evegufy I have not added any new packages here. I cleaned up my local and generated new yarn.lock file by running yarn install. pr checks used to get failed with the older version but now it is fixed

https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15486

@evegufy I have not added any new packages here. I cleaned up my local and generated new yarn.lock file by running yarn install. pr checks used to get failed with the older version but now it is fixed
@oyo you want to add anything here?

You did change the versions of the packages very evidently from https://github.com/eclipse-tractusx/portal-shared-components/pull/210/commits/7323404beb43377a3821f36feef15dfb943e0441 - which is when I created the IP issues - to https://github.com/eclipse-tractusx/portal-shared-components/pull/210/commits/f9891d8a544c2cd087fad9c0d335bb764d3cf0fc, what make the created IP issues useless for this pull request.
I had to create now new IP issues:
A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15710
A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15711
A review is required for npm/npmjs/-/eslint-plugin-es-x/7.8.0.
A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15712
A review is required for npm/npmjs/-/esquery/1.6.0.
A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15713
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15714
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15715
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15716
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15717
A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15718
A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15719
A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15720
A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15721
I assume some of them will ran again in a manual review, so expect a wait time from at leat two weeks.

https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15486

@evegufy I have not added any new packages here. I cleaned up my local and generated new yarn.lock file by running yarn install. pr checks used to get failed with the older version but now it is fixed
@oyo you want to add anything here?

You did change the versions of the packages very evidently from 7323404 - which is when I created the IP issues - to f9891d8, what made the created IP issues useless for this pull request.
I had to create now new IP issues: A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15710 A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15711 A review is required for npm/npmjs/-/eslint-plugin-es-x/7.8.0. A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15712 A review is required for npm/npmjs/-/esquery/1.6.0. A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15713 A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15714 A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15715 A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15716 A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15717 A review is required for<EMAIL_ADDRESS>A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15718 A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15719 A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15720 A review is required for<EMAIL_ADDRESS>A review request already exists https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15721
I assume some of them will ran again in a manual review, so expect a wait time from at leat two weeks.

we do not manually change the yarn.lock file. It is auto generated based on package.json and currently available version from the internet. It got changed as the new version is available in the internet.

IP issues currently still under review:
<EMAIL_ADDRESS>https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15720
<EMAIL_ADDRESS>https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15721

Hi @manojava-gk as the catenax-ng GitHub org was recreated, I was able to reopen the PR... please reopen the PR as soon as possible from your own fork as the catenax-ng GitHub org will be deleted again.
could it be possible to contribute this change in multiple pull requests? this one got quite huge
BTW, IP issues are all approved now.


Does Jpype support with Java SpringBoot annotation classes defined in jar?

Currently, I am trying to use one of the helper java code which is written using SpringBoot framework with an annotation like @Component, @Autowired .
while calling those object method I am getting NullPointerException, Does anyone come across this type of issue?

I sm not aware of the mechanism used here.  So you would need to show a short example that replicates the issue.

In SpringBoot with annotation, it helps us to get objects ready to use instead of creating those objects with an explicit declaration of new keywords.
Let me show simple class with SpringBoot annotation in it. if you look at loader variable it should automatically initialize and ready to access in init method with @PostConstruct annotation.but I am getting NullPointerException for line loader.loadMetadata() . which usually works when I am running pure java application.
@Lazy
@Component
public class FhirTransformer {
@Autowired
private RuleEngine ruleEngine;

private static Logger logger = LoggerFactory.getLogger(FhirTransformer.class);

@Autowired
private MetadataLoader loader;
@Autowired
private UAPEnvironment uapenv;

@PostConstruct
public void init() throws MetadataLoadException {
    logger.info("Loading Metadata...");
    metadata = loader.loadMetadata();
    tableLinksByResourceType = loader.loadTableLinks();
    commonColumnsMetadata = loader.loadCommonColumnsMetadata();
    activeResourceList = loader.loadActiveResources();
    loader.closeMetadataStore();
    logger.info("Completed loading Metadata.");
}

whereas if I convert this code to non-springBoot syntax(removing annotation and creating object explicitly) then it works while using in python code.
so want to confirm this behavior w.r.t SpringBoot support with jpype.

I wonder the same thing. How well are java annotation supported in JPype ?

JPype uses Proxy to implement Java classes within Python.  As far as I am aware there are no special provisions that allow adding annotation to a class using Proxy.
https://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Proxy.html
It is possible to read an annotation using java.lang.reflect from within Python, but adding an annotation is difficult.  There are a few magic hacks to dynamically alter a class which allows annotations to be added at runtime, but those tricks are very version dependent and thus not portable.
The only way to support full annotations would be to use the ASM library to construct a Java representation at runtime based on the specifications provided by Java.  There is a prototype of such a scheme in the epypj branch, but I don't have enough developer/user support to complete the test bench which would required to release it.
Also there are many of tricks that one can do with annotations in Java don't actually use runtime annotations but rather an annotation processor and compile time annotations which are removed.    So unless someone has some specific Python code where the annotations are can actually be passed through to Java that I can use as an example I am not sure how to answer this request.
For example, the most of the spring type annotations are compile time.  Therefore, it doesn't matter if JPype can add the annotations or not, because the spring processor will not get run, thus there is no way that they will appear properly in Java.
https://dzone.com/articles/spring-annotation-processing-how-it-works
These are language based limitations imposed by Java, thus they are likely the same in any library that uses JNI to control Java.

Thanks for the detailed answer. I think ideally your  comment (as is) should appear somewhere in the JPype documentation

Sure.  I will make sure it gets added to the next release.


Request: Support Pandoc-style "span-only links"

Pandoc has a markdown extension called bracketed_spans. It allows you to have links without targets, so that you can apply arbitrary attributes:
[this is not a link]{this="not-link"}

These are then rendered as s with the attributes applied.
I'd really like this in redcarpet (and thus GitHub) because it makes (human) language tagging much simpler—the only way to achieve this is at the moment is to drop to HTML-syntax in language foo, which is not as nice as sticking to Markdown 🙂 (the equivalent
being [in language foo]{lang="foo"}).
Motivation: Tagging language in HTML is important due to Han unification (among other things), where the rendering of a particular character depends on what the target language is:

Thanks!

Hi @Porges,
Sorry but actually the "philosophy" in Redcarpet is that we try to avoid as much as possible to implement feature that can't be easily achieved through HTML. Markdown isn't intended to replace HTML but work with it. You can still do:
This is not a link

Which is not much longer than:
[this is not a link]{this="not-link"}

Also if you were requesting that change to be able to use it on GitHub, Redcarpet isn't their Markdown parser anymore.
I'm giving this a close but thank you very much for the proposal anyway !


Forseti server can't find projects inside folders

The forseti server is not able to list projects inside folders on which it does not have folder viewer permissions, even though the individual projects grant the forseti server service account 'browser' permissions. Projects not in folders are found without a problem.
Is there a way to grant Forseti access to projects within a folder without granting permissions on the folder itself? Perhaps the projects list could be modified (i.e. use projects.search instead)?
/cc @dufton

We were able to use composite root in our forseti server config to fix this. You may still wish to fix this bug as it seems like unexpected behaviour, but as there is a workaround this isn't a critical issue for us anymore.

@joecheuk is there still something you feel we should do by default without composite root

Composite root is the right solution for the reported issue. Closing this issue.


documentation failed when sandbox restart

When 1.x is running on Ubuntun 20 ARM7, and the localhost:3010 failed. Do you have any clue? Thanks.

Seconding this.


feat(ImageSlider): Omniture tracking for feature companies

Refer to this card & PR:
https://trello.com/c/OvzMn5os/113-omniture-analytics-homepage-feature-tracking-for-featured-companies
https://github.com/seekinternational/srp-react/pull/595
To replace ahref with LinkComponent in ImageSlider & Omniture tracking feature companies

What's the rationale between the click and the link component being separate?  Couldn't you combine them in the consumer?

@mengtzu the onFeatureCompanyClick is to trigger the omniture tracking, LinkComponent is to replace the ahref for better handling

@youwei91 I understand that previous uses of this pattern have had LinkRenderer handle both roles.

I see...I was looking at JobCard as example, didn't notice LinkRenderer pattern exist 🤦♂


Default Route Lost after Network Interface Manual UP/DOWN Event

Hi,
I've come across an issue where if I use the ip link set eth0 down command, followed by ip link set eth0 up, the default route (gateway) is lost.
The /var/lib/rancher/conf/cloud-config.d/user_config.yml file contains the correct information (changed below for privacy):
rancher:
  network:
    interfaces:
      eth*:
        dhcp: false
      eth0:
        address: <IP_ADDRESS>/24
        gateway: <IP_ADDRESS>
        mtu: 1500
    dns:

Environment details:
$ uname -a
Linux HOSTNAME 4.2.3-rancher #1 SMP Wed Oct 14 11:25:04 UTC 2015 x86_64 GNU/Linux

$ docker version
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   994543b
 Built:        Mon Nov 23 06:08:57 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   994543b
 Built:        Mon Nov 23 06:08:57 UTC 2015
 OS/Arch:      linux/amd64

The problem is that we don't process the networking information dynamically, but only at boot.  So this is the default behavior in Linux pre-systemd.  When an interface is down the routes associated with the route is deleted.  When the interface is brought back up, we don't process the networking configuration so the route is lost.
In the future we could change the approach, but that would require a good deal of effort.  But I think we will eventually do it.

I'm pretty sure both Debian (via /etc/network/interfaces) and RHEL (via /etc/sysconfig/network-scripts/route-'interface') reinstated routes on interface down/up pre-systemd, but I won't pretend I'm an expert on that score and really know what I'm talking about. I have a bad habit of hacking udevd files with RUN statements.
Regardless, thank you for the update and I understand there's little value at this stage. My bad habit might come in handy here, or perhaps a container that monitors routes...
Cheers

@sjiveson You correct in that if you run ifup/ifdown it will re-register the routes, ip link set down/up I don't believe so.  It requires listening to udev events to do that.  But I too could be wrong.  I did forget to mention that you you can do sudo ros service restart network to reapply network settings.

That's Darren, that might just be good enough for our needs. Should I close the issue?


Indexes in prisma schema

Do we have a plan for how to keep the prisma schema up-to-date with any indexes we create in production? This only matters if the indexes affect how the database behaves, i.e. they're unique, but we should think about how (or if) we're going to keep the schema up to date.
Periodic prisma db pulls?

prisma db pull only works if we have a single schema across the whole db. Even after a decent normalization, this is unlikely.

Well, finding out that the schema has drifted is useful info. However, for indexes, I think you can just directly query for them with https://www.mongodb.com/docs/manual/reference/command/listIndexes/#mongodb-dbcommand-dbcmd.listIndexes I.e. there's no need to sample.
I've not confirmed this, but it seems likely that that's what prisma db pull does.

Well, finding out that the schema has drifted is useful info

Right, but we won't get this with prisma db pull. Best as I can remember, it will only look at 1_000 docs to generate the models.

How about initially keeping the indexes in sync with listIndexes?


Error flag on Trezor that this is deceptive request.

When using Trezor + Metamask in  Firefox at the Mor Dashboard for staking stETH, I get an error message that this is a fake site.

I have seen this one before as well, asking the person what the circumstances were

I still have this problem. Saw it again today.
I am guessing it is repeatable when using Metamask on Firefox with Trezor.

@jabo38 is this error still showing?


add wekzeug dependency

add werkzeug dependency as a workaround to flask issue https://github.com/pallets/werkzeug/issues/1714
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aucoindan Would love to see this go out, only thing is you're going to want to add that line to each of the subsequent modules' requirements as well.

Subsequent PR submitted contained updates for all modules. This is resolved. Thanks for submitting this prior!


Why do we allow searching by the title of the original Miro work?

Within the pipeline, we record two source works for an image: the canonical work and the redirected work.
flowchart TD
     TS([title search]) -- source.canonicalWork.data.title --> CW
     TS -- source.redirectedWork.data.title --> RW
     CW[canonical work] --> I[image]
     RW[redirected work] --> I
     style RW stroke-dasharray: 5 5

This is used when a Miro image is merged into something else, e.g. a Sierra work. In this case, the Sierra work is canonical and the Miro work is redirected.
We use the redirected work to search a couple of fields, in particular description and title. If you search for the title of a Miro work, you'll find the image – even if the displayed work on the site has a different title from Sierra.
It's not obvious why we allow searching on this field (or at least, neither Harrison nor Jamie nor I can remember; see Slack discussion).
We should find out why, write it down, then decide if it's still the best approach.

I wonder whether things could have been cited with the title that was in Miro, so those titles would still need to turn up something when searched. Hannah worked with Miro so might be able to shed light on this.

Jonathan has ruled; I'll open a new ticket to describe the changes we want to make.

I wonder whether things could have been cited with the title that was in Miro, so those titles would still need to turn up something when searched

The trouble is, there'd be no way for a user to know they were looking at the right thing – even if they got a single result for the title, that title wouldn't appear anywhere so they wouldn't know if it was what they wanted or an unlucky coincidence.


remove invalid overcloud-tnt combos

@szakeri @pjbreaux this PR recaps the change in mitaka that removes invalid exclude-file names.
The names were invalid because names must map to Jenkins jobs, and overcloud-TENANT-ISO-TYPE is an invalid configuration.

Can one of the admins verify this patch?

Please see PR #689 for details.


VMware Player

What version number do I use for VMware Player 6.0.5? All I see is stuff for VMware Workstation and VMware Fusion.

https://softwareupdate.vmware.com/cds/vmw-desktop/player/6.0.5/2443746/linux/packages/
indicates VMware Tools version 9.6.4 is what you want, but I don't see that version available at
https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/ . Try either the latest, VMwareTools-9.9.2-2496486.tar.gz (VMware Fusion 7.1.1 & Workstation 11.1.0), or the next one after 9.6.4 that is available, which is VMwareTools-9.8.3-2075148.tar.gz (VMware Fusion 7.0.0)

Or try VMwareTools-9.6.2-1688356.tar.gz (VMware Fusion 6.0.3/4/5 & Workstation 10.0.2/3/4), as it worked here: https://github.com/rasa/vmware-tools-patches/issues/35

Why not upgrading to Player 7 and use latest tools provided with it?


Monitor critical flag to replace 'Partially Degraded Service' with 'Full Service Outage'

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
The Status Page on top shows All Systems Operational or Partially Degraded Service but there is never really a Degraded Service or Full Service Outage message, since that requires all Monitors to be down ?
I have a bunch of Monitors and some like Router or Firewall can be interpreted as if they are down nothing works. There are still other Monitors like redundancy or offsite services that will always be up though.
I think it would be great if we had a Critical Service checkbox (or dropdown with levels?) on the Monitor.
✔ Solution
Adding a checkbox Critical Service on Monitors.
If this is checked and the Monitor is on the Status Page with Status down the heading message changes to Full Service Outage with red error symbol.
Actual message e.g. Full Service Outage to be defined.
❓ Alternatives
No response
📝 Additional Context
No response

Related #2487 #2474
Imo #2693 blocks #1236 which blocks such a change

I would argue against adding such a checkbox (additional clutter), but rather change the message to Degraded Service if all monitors in a status page are down.
(this would also not be blocked by grouping)

Seems reasonable, I will wait for the pr's to be merged and then see if I can implement this feature.

@kub3let
I think, we should track this issue in https://github.com/louislam/uptime-kuma/issues/1089
Oppinions?

Continuing to track this in https://github.com/louislam/uptime-kuma/issues/1089 and related issues tagged with [groups]
=> closing as a duplicate


⚠ Bofrost.de has degraded performance

In 6072b33, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1370 ms

Resolved: Bofrost.de performance has improved in 6d97ef5 after 8 minutes.


SLES - Updates

Setup - Update SLES install for RPP
Readme & Changelog updates

@hansely can you look at the fs changes in MV_COMPILE


Add type hints

Hello 👋🏻
On this PR I have added type hints ✨
resolves #232

Hi @faissaloux and thanks a lot for your contribution. I like type hints too. They make Python feel a little less interpreted and a little more statically typed. I will definitely take a look at this PR once I am done with adding the Cloud Monitoring MQL backend. Some commits I made there will make our life easier when it comes to linting and testing.

@lvaylet heeey sorry for late response 😅 I've got busy
I just found some time so I can check your comments now 😃

About the Optional arguments, I think we should bring back the Optional type so the lint tests can pass.
What do you think!

Oow yeah you right I wanted to but I found my self changing it because lint keeps failing so I have to fix it 👀
About main.py I've got None has no attribute get so I made sure config is not None before getting anything from it
Now we still have some errors because of some duplicated code 😐

Oow yeah you right I wanted to but I found my self changing it because lint keeps failing so I have to fix it 👀
About main.py I've got None has no attribute get so I made sure config is not None before getting anything from it .. or should I reverse it despite of the failing lint!!
Now we still have some errors because of some duplicated code 😐

@lvaylet @ocervell I have tried to send review request for both of you but when I send it to one it removes from the other 😅 IDK why!
Anyway have a good night 🌙


Devfile metadata: add a link to an external website

When you use a devfile in an IDE, the IDE might want to be able to display a devfile-specific welcome page. Likewise, a command line tool might want to link to information on how to use the devfile. In both of these cases we want the devfile to provide the link and not pull other files into the user's project, which could be easily removed or annoying to clean up.
For cases like these it would be nice to have an optional doc url in the devfile metadata.

We are going to add the website metadata at the top level of the devfile:
---
schemaVersion: 2.0.0
metadata:
  name: quarkus-stack
  description: ...
  website: https://quarkus.io

@deboer-tim if that's satisfies your need we are going to add that to the spec

+1. I don't love 'website', but I can't decide why or come up with a better option, so let's go with it. :)

Yes we named it website because it includes but is broader then documentation.

Stack author's guide needs to be updated to reflect that. We may want to consider to change https://docs.devfile.io/devfile/2.0.0/user-guide/adding-a-name-to-a-devfile.html to document metadata in general instead of just name so we can give examples to metadata in general including website, icons, etc.

Stack author's guide needs to be updated to reflect that. We may want to consider to change https://docs.devfile.io/devfile/2.0.0/user-guide/adding-a-name-to-a-devfile.html to document metadata in general instead of just name so we can give examples to metadata in general including name, website, icons, etc.

Docs issue has been opened here: https://github.com/devfile/api/issues/345


Add support for several process directives

Close #27
This PR adds support for the following process directives:

disk
machineType
resourceLabels
time

While the CLI options can already be specified via float.commonExtra, the process directives are more user-friendly and can also be applied on a per-process level.
Also adds custom config options for --vmPolicy and --migratePolicy, since these options are some of the most valuable parts of Float but also have the most complicated syntax, we should try to make them as user-friendly as possible.
I also added a few default labels for things like process name, task name, session ID, etc. But feel free to remove them if you don't think they are needed. I copied them from the K8s executor.
I added unit tests for these options but haven't tested them end to end. Let me know if you need any help with testing.
Not urgent or groundbreaking but these settings would be nice to have for the initial blog post.

Thanks for the contribution @bentsherman.

For the custom tag names, some platforms such as GCP does not support upper case or characters like ., / or space.  For now, I will try to replace them with -

I update the rootVolSize to imageVolSize because image volume is where we run the container where the actual work load happens.  The root volume only contains the OS for VM.

Both fair points. I realized also that we probably need to replace : as well, at least while nf-float uses the CLI, since that character is used to separate the key/value.


Command

Hi,
Is there any example of the implementation of this library for the Laravel command?
Best,

Hi @renatocosta, i'm building and example project using this library. Will make it public as soon as it's ready, but for now, you can create a command something like this:

class ConsumeXKafkaTopic extends Command
{
    protected $signature = 'kafka:consume-X-topic';

    protected $description = 'Consume messages from kafka topic X';

    public function handle()
    {
        $consumer = ConsumerBuilder::create(config('kafka.brokers'), 'your-group-id', ['X-topic'])
            ->withHandler(new XTopicConsumer())
            ->withAutoCommit()
            ->build();

        $consumer->consume();
    }
}

Hi @renatocosta, i'm building and example project using this library. Will make it public as soon as it's ready, but for now, you can create a command something like this:
class ConsumeXKafkaTopic extends Command
{
    protected $signature = 'kafka:consume-X-topic';

    protected $description = 'Consume messages from kafka topic X';

    public function handle()
    {
        $consumer = Kafka::createConsumer()
            ->subscribe('X-topic')
            ->withConsumerGroupId('your-group-id')
            ->withHandler(new XTopicConsumer())
            ->withAutoCommit()
            ->build();

        $consumer->consume();
    }
}

Thank you again @mateusjunges
By the way, When I used Enqueue lib had a class processor to keep on reading the messages 24/7.
Is there in this library anything like that?

I think enqueue use queue-interop to do this. I haven't tested it so can't confirm it works with this library.

That's right.
If I understand correctly the ConsumeXKafkaTopic class would be called manually via the command line so that reading a new message?

Yes, but i use supervisor to run the command in background for me.

I don't know as you implemented it but I think that it would be a reusable class to be derived from another one.
`class ConsumeXKafkaTopic extends Command
{
protected $signature;
protected $description;

protected string $topicName;

protected $groupId;

protected $topicConsumerHandler;

public function handle()
{
    $consumer = Kafka::createConsumer()
        ->subscribe($this->topicName)
        ->withConsumerGroupId($this->groupId)
        ->withHandler($this->topicConsumerHandler)
        ->withAutoCommit()
        ->build();

    $consumer->consume();
}

}`
final class ConsumeUsers extends ConsumeXKafkaTopic
{
public function __construct()
{
parent::signature = ' kafka:consume-users-topic';
parent::description = 'Consume messages from kafka topic Users';
parent::topicName = 'users';
parent::topicConsumerHandler = new XTopicConsumer();
parent::groupId = 'UserGroups';
}
public function handle()
{
  parent::handle();
}

}
Just an idea.

This library doesn't provide the command to consume messages, so you are free to implement it whatever way you think is better, but yeah, if all consumers looks like this, it's a good implementation.


Environment.list_configs() results in an AttributeError

Describe the bug
Running "Environment.list_configs()" in a Jupyter Notebook produces the following error: type object 'Environment' has no attribute 'list_configs'
To Reproduce
Follow "Running a NETT" instructions under "Getting Started" in the readme, using Jupyter Notebook to run the commands. Run the import commands, then "Environment.list_configs()".
Expected behavior
A list of available configurations is outputted.
Screenshots

Desktop:

OS: Ubuntu via Windows Susbsystem for Linux, base system is Windows 11

Additional context
I installed jupyter using "conda install jupyter," then when trying to launch notebook, got the error: ModuleNotFoundError: No module named 'chardet'. I then ran "conda install -c conda-forge chardet" which allowed me to run notebook. Not sure if that has anything to do with this issue.

It appears that the modules nett.environment nett.brain etc contain these list functions, so we will just move these functions to be directly under nett


failure when context is not provided

When the engine is queried two times without context, it throws an exception, and crashes
I experience this problem with develop (commit f32417965e64b9de9fc7e48929e95bcc852abf7c)
To reproduce the error

create an engine with the example data
./mmt create en it examples/data/train/

start the server
./mmt start

query with context    is fine   all times
curl "http://localhost:8045/translate?q=world&context=computer"
{"translation":"mondo","took":1,"context":[{"id":"ibm","score":0.048597444},{"id":"europarl","score":0.007114725}]}

query without context    is   fine the first time
curl "http://localhost:8045/translate?q=world"
{"translation":"mondo","took":2}
curl "http://localhost:8045/translate?q=world&context=computer"
{"translation":"mondo","took":4,"context":[{"id":"ibm","score":0.048597444},{"id":"europarl","score":0.007114725}]}

query without context    is   fails  the second time
curl "http://localhost:8045/translate?q=world"
curl: (52) Empty reply from server

Below the error message
2016-05-16 17:08:54,535 [Thread-19] DEBUG moses.MosesDecoder - Translating: "world"
terminate called after throwing an instance of 'util::Exception'
  what():  /home/ubuntu/ModernMT_develop/vendor/moses/moses/TargetPhrase.cpp:175 in void Moses::TargetPhrase::EvaluateWithSourceContext(const Moses::InputType&, const Moses::InputPath&)
threw util::Exception because 'scope.get() == __null'.
TargetPhrase::EvaluateWithSourceContext() must now have a ContextScope for feature weights.

It seems a phrase-table related problem so I assign this issue to @cidermole
David if my guess is wrong please, reassign this to the right person.

I found (and fixed) a regression in 661ea5d05d40bc88b5eee76f608818cedf199309 yesterday; with the global session, I broke changing feature/context weights outside of sessions...
The fix needs to be merged.

ok, in which branch I can find the fix? Does this branch also include other changes?

Why discuss if you can just push the fix to develop :)

;)


Range with a name and only sheet visibility gets lost while reading

solves #1233

NB: the valid words to close automatically the issue are: close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved.


docs: fix typo/incomplete sentence

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation or readme)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

A sentence in the homepage of the docs reads like it's missing something.
I'm not sure if my fix is wanted or if it goes in the right way, feel free to close or suggest other edits

Thanks!


Normalize file paths before comparing them

These PR does the following:

Removes the usage of isEqualOrParent in the explorer. In one location I simply use the ExplorerItem.find (which should be fast) and in the other I use a reverse logic of looking up the parents
Normalize the paths before comparing the in isEqual and isEqualOrParent calls

I did not thoroughly test this. I also did not check the performance.
In case you like the approach I can do both these things tomorrow.
LiveShare team just informed me that they will need this in the april stable version. So assigning to April so we discuss and check how far away are we from merging this in.
fixes #46549
fixes #36946

@bpasero thanks for looking into this.
I thought the normalize removes the trailing slash, if that is not the case then removing the trailing slash should also be a part of this PR.
LiveShare just wants this fixed https://github.com/Microsoft/vscode-cascade/issues/57
So I will first repro that issue and see if there is an easier fix than changing the whole world

@bpasero As to what is needed here I would stop callling normalize and instead trim the trailling slashes.
As to your conern of calling isEqualOrParent that is no longer the case - we do not call it anymore, instead I go up the parent chaing. However I would have to test this out, do you have some good test case?

@isidorn I was just going by clients of paths.isEqual or paths.isEqualOrParent in our source code (not just in the explorer). If we add code into these methods that makes them more expensive to call, we should make sure that clients such as the file event use a different strategy for computing this that is not so expensive before making that move.

Closing, => abandoned


tool_tests_general  tree closure due to randomized tests

instance https://ci.chromium.org/ui/p/flutter/builders/prod/Linux tool_tests_general/2310/overview

This is due to mock is not initialize before the setup https://github.com/flutter/flutter/blob/a921c1cf3d2616704bcbb83ab13d89e39be0c97c/packages/flutter_tools/test/general.shard/resident_web_runner_test.dart#L282


Setting clone_depth: 1, not working

In phpci.yml i set:
build_settings:
    clone_depth: 1

But when i watch server processes i see:
git clone --recursive -b master git@bitbucket.org:user/my-project.git /var/www/phpci/PHPCI/build/754_41edd/
Where is no --depth 1

Hmm, odd https://github.com/Block8/PHPCI/blob/92ee90998a1b6b218656195a78366542d74a97a3/PHPCI/Model/Build/RemoteGitBuild.php#L92 it should be between--recursive and -b
I'll have a play around later and see if I can figure out what is going on. Are you running from master or from a tag?

Master.
In Model/build/RemoteGitBuild.php file function cloneBySsh().
$depth = $builder->getConfig('clone_depth');

if (!is_null($depth)) {
    $cmd .= ' --depth ' . intval($depth) . ' ';
}

can't get config clone_depth
When i set it manualy in code:
$depth = 2;

if (!is_null($depth)) {
    $cmd .= ' --depth ' . intval($depth) . ' ';
}

It works perfectly.

@dancryer Have there been any changes to the builder which could cause this that you are aware of? I know you were doing branch specific settings so maybe that?

Look at RemoteGitBuild::createWorkingCopy: the repositoriy is cloned before the configuration is loaded, so there is no way cloneDepth could work with RemoteGitBuild.

Hmm yeah, looking at the history it doesn't look like it could have ever worked.....
In fact, thinking about it, I don't see how it could have even been expected to work, because you'd have to clone the repository first to get the phpci.yml file in order to read the clone_depth setting.

IMO this should work the other way around: always do shallow clones (with --depth 1), read the configuration file, then pull missing commits using "git pull --unshallow" or "git pull --depth".

Yeah that would be the logical way, or have it in the project config in the DB

@Adirelle i think this is better solution to download only configuration file
git archive --remote=git://remote/project.git HEAD phploy.yml | tar -x


Pilot tutorial demo added

I preferred to quickly create this demo as it will allow viewers with a cleaner code to fiddle with. Plus with the assignment, I'm certain it'll make things easier for them. I also added a script that allows me to quickly switch between which type of character I'm currently controlling, to demonstrate their differences during game time instead of having to always restart the game.
The code is now following the guidelines as well.

Just tested it, all good, looking forward to seeing the tut!


Storybook hangs when run from turbo

Discussed in https://github.com/vercel/turborepo/discussions/374

Originally posted by fibonacid December 17, 2021
What version of Turborepo are you using?
1.0.17
What version of Node are you using?
v14.17.6
What version of Yarn are you using?
1.22.4
Describe the Bug
Can't run build-storybook on ui package using turbo.
Expected Behavior
Running build-storybook from ui package works fine.
yarn --cwd packages/ui build-storybook

Running build-storybook using turbo gets stuck forever.
yarn build-storybook

To Reproduce
Clone example repo
git clone https://github.com/fibonacid/turborepo-build-storybook-bug
cd turborepo-build-storybook-bug

Install dependencies
yarn install

Run command
yarn build-storybook
```</div>

This is a due to #336 and/or #292

I don't think it's due to circular dependencies.
If I only have one package (ui) and its "build" script is build-storybook, I still run into this issue.
As pointed out here, adding the --quiet flag to the build script seems to resolve the issue.

@kylemh confirm, adding the quiet flag resolved the issue for me.
https://github.com/fibonacid/turborepo-build-storybook-bug/tree/b1d9fb90a5977312175da15895d036f84c43db6f

I think the issue could also be with Go’s io.MultiReader which turbo uses to stitch together stdout and stderr as one stream. Despite its name, this function actually concats the streams though. What seems to happen sometimes when only stderr prints is that turbo locks up.
I’ve noticed this with rollup watch mode too.
The sad news is that there isn’t a great solution for when we need to keep around prefixed lerna-style streamed logs other than turbo stitching stderr into stdout or stdout into stderr as one bytestream.

What do you think about - in the meantime - adding a FAQ about Storybook.
I'm sure there will be an example in soon!

Yeah, similar issue when using --watch with Jest.

Similar issue with jest (even without --watch) and a webpack long build too.

I have a similar issue in jest (no watch) as well.
One of the packages eventually will go on, but one just seems to stop no log just stuck in oblivion

I am running into this issue too, I have a turborepo project with multiple sveltekit projects and they won't start because of a few errors/warnings on startup which make turborepo hang. Going into each specific sveltekit project and running it individually works just fine. Any way I can fix this while waiting for an official fix?


Bug Fix: pq_file.schema.names(): TypeError: 'list' object is not callable

Bugfix

pq_file.schema.names(): TypeError: 'list' object is not callable

Relates

#1141

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 5a3853bdbdbb44b22303667bfd1b1ca6175d9f8d
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 2e9f199c85aa078d40fc515c98c7c09d67474ce8
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 7b881fbf112ba99b1619bfff3419a58b7b32f6a2
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Possibly fix JSON complaining about channels?

Maybe fix #78?

@brendandburns

LGTM, I don't understand where that channel is coming from, that object is serialized to JSON by go-github afaik...

Also, see #99


Buttons to delete are called Delete and Remove. Need to be unified.

What I'm trying to achieve
We should either use Delete or Remove and be consistent throughout the application.
Screenshots

Which one we should use? Your thoughts? @timcla  @pwgryglak

I am a fan of making the action explicit: eg. "remove category" over "remove" as it leads to fewer mistakes when you're tired and the auto-pilot takes over.
I'm not sure whether the current color conveys "this is a dangerous action". To me, it's more "regal purple" than "dangerous red".

I meant whether a question if we should go with Remove or Delete and use it consistently throughout the dashboard.
Found this piece:
Delete means something gets erased from the system completely. Remove means that it still exists in the system, just not visible in the UI. So I guess I would describe deleting as erasing from backend and removing as hiding from frontend.
Adding what is being removed (in the Remove Category example) seems to me a bit redundant. The user knows which sceen they are in (or they should know ;))


Use --skip_preseq by default

Description of feature
Preseq tends to fail more often than other tools and it should be skipped by default to avoid crashing the pipeline or having to ignore errors.

Fixed in https://github.com/nf-core/rnaseq/pull/908


Implemented check function.

Implemented _check() function, that way code dub. is removed.
All tests run smoothly.

All changes are applied. Tests run.


Fix wrong severity of related errors

Currently, the severity of the parent error is shown as the severity of related errors.
This PR fix it.
Closes #232

looks like you just need some clippy fixes

Some clippy issues can't pass both 1.56.0 and stable.

1.56.0

error: there is no argument named `enum_name`
  --> miette-derive/src/url.rs:87:55
   |
87 |                         let item_path = format!("enum.{enum_name}.html#variant.{ident}");
   |

stable

error: variables can be used directly in the `format!` string
  --> miette-derive/src/url.rs:87:41
   |
87 |                         let item_path = format!("enum.{}.html#variant.{}", enum_name, ident);
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args
   = note: `-D clippy::uninlined-format-args` implied by `-D warnings

Ah that's annoying. Let me look into making it so clippy only runs on stable, I guess. No point in running it on both anyway.

If you want to use 1.56.0 as MSRV, clippy should do at 1.56.0 only because new features which cause error at stable's clippy can't be used.

yeah, I guess you're right :)

https://github.com/zkat/miette/commit/b658fc020b23b0715339c5c60f7c12c947f9a747 should fix this hopefully

Looks like we're good now! Thanks again :)


[Question] is Raylib compatible with smooth rendering ranging from 60 to 1.

The simple app with high FPS will use much CPU usage with ‘Raylib’, I understand that Raylib is consuming a height amount of CPU resources because it targets games, even when the applications appear to be doing minimal work.
The goal is to achieve smooth FPS, ranging from 1 to 60, without locking it at 60 FPS every second, as this
inefficient for non-gaming GUI applications.
I haven't found any sources discussing this situation. If there are any resources available, we would be eager to read them, because achieving smooth FPS with Raylib could be a game-changer.
Below is what I envision as an intuitive solution:
#include "raylib.h"

int main(void) {
    InitWindow(400, 2
    InitWindow(400, 200, "Hello, Raylib!");

    SetMaxFPS{60);

    while {!WindowShouldRender()) {
        BeginSmoothFrame();
            DrawCircle(200, 100, 50, RED);
        EndSmoothFrame();
    }

    CloseWindow();
    return 0;
}

@ayoubelmhamdi I'm afraid I don't understand this requirement. In any case, you can omit SetTargetFPS() usage an manage game timing yourself, here it is an example for a custom game loop: https://github.com/raysan5/raylib/blob/master/examples/core/core_custom_frame_control.c


warning: tried to create Proc object without a block

I'm getting a bunch of warnings on the latest ruby version (2.7.0dev):
.rvm/gems/ruby-head/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: tried to create Proc object without a block

Mentioned code:
    def increase_indentation
      indentator.indent(&Proc.new)
    end

This is particularly annoying when using AP within pry (possibly irb as well). Every output is preceded with a wall or warning messages:
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/usr/local/var/rbenv/versions/2.7.0-preview1/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead

(Will see about a PR when I've got a bit of time.)

Same:
/home/mic/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/mic/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/mic/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/formatters/base_formatter.rb:113: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead
/home/mic/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/awesome_print-1.8.0/lib/awesome_print/inspector.rb:63: warning: Capturing the given block using Proc.new is deprecated; use `&block` instead

Fixed with latest PR - will be pushed out in next release!

Fixed with latest PR - will be pushed out in next release!


alphabetize the output of the help command; added short array syntax to the README

[x] alphabetize the list of commands that is output by help #2
[x] clarify the formatting of the configuration in the README
[x] verify the test runs correctly

I was able to get this code to work in the most backwards way.  I updated my code, pushed it to the branch, ran composer in another space, ran phergie with my config file there, and executed the help command.  I had to do it this way because:

my scaffold environment(from the hackathon) isn't letting me run the bot with the config
my plugin in the scaffold environment won't let me run the tests because it says Phake isn't installed.

I need some advice again on this dev environment because each time I want to fix something, I spend a lot of time trying to figure out how to run the plugin, test it, etc.

Changes Unknown when pulling dc1b974d7e10f00da248527ae8aaa3f8006e68ae on elstamey:alphabetize into ** on phergie:master**.


Image overlayer 1.0.5

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit
[x] I read the Step Development Guideline
[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)
[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)
[x] I read and accept the Abandoned Step policy

@shams-ahmed can you please have a look
small improvements compared to 1.0.2 which are required in our project

Hi @imranMnts ,
I left one note for the Step's title, would be great to update it in future releases.
Other than that it looks good to me, thanks for the new version.


complete begginer trying to use this vim plugin

Hi there...
This might seem super dumb, but im a complete beginner in programing, I can't seem to be able to get this to work. can someone please help.
Thank you!

have you :PlugInstall-ed?

Closing this, since this is not a TokyoNight issue...


STORM-2519: Modify AbstractAutoCreds to look for configKeys in both nimbus and topology configs.

@HeartSaVioR , please take a look.

+1


Update and change user data limitation

Hello, i have a 128gb device and i can allocate only 34go max and i still have place on my device
It would be cool to remove this limitation
i would like to permanent boot gsi on my device how did you make this work ? i cant flash system img, i have a super partition
could this be possible by editig a file ?
thanks

That limitation was added due some Android versions requiring at least 40% of free storage when installing a DSU (not a app limitation, but Android limitation), you can still remove this limitation from app by enabling developer options (go to about section and tap multiple times in app icon, a toast indicating that developer options have been enabled will be shown), after that, you can remove storage check, keep in mind that it will only remove app UI limitations.
You can make installed DSU boot persistent by enabling sticky mode:
https://github.com/VegaBobo/DSU-Sideloader#how-to-enable-sticky-mode
Anyway, if you only want to use a GSI as main OS, you should install the GSI directly into system partition, sticky mode will only enforce installed DSU to boot, your main OS will still persist on device storage.


Short solution needed: "How to reduce noise" (python-pillow)

Please help us write most modern and shortest code solution for this issue:
How to reduce noise (technology: python-pillow)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments explain solution.
Link to this issue in comments of pull request.

How to reduce noise


_pydantic_core.cpython-312-x86_64-linux-gnu.so: failed to map segment from shared object

Python 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 14.2.1 20240801 (Red Hat 14.2.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tqdm
import yarl
import zipp
import pydantic
from pydantic import BaseModel
Traceback (most recent call last):
File "", line 1, in
File "/run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/pydantic/init.py", line 402, in getattr
return _getattr_migration(attr_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/pydantic/_migration.py", line 278, in wrapper
from ._internal._validators import import_string
File "/run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/pydantic/_internal/_validators.py", line 14, in
from pydantic_core import PydanticCustomError, core_schema
File "/run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/pydantic_core/init.py", line 6, in
from ._pydantic_core import (
ImportError: /run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/pydantic_core/_pydantic_core.cpython-312-x86_64-linux-gnu.so: failed to map segment from shared object

Update: The import works from outside this deepeval environment, so this might not be relevant to this repo.  I'm closing this for now.

I'm bringing it back now. It seems to happen in virtual environments, regardless of which project the env is for.

Can you give more specific instructions about how to reproduce? Virtual environments work fine in my experience.

Well, I've seen this error using multiple projects in new virtual environments. Other packages don't throw errors in those environments (I can't get far though, because pydantic-core is so fundamental). If I just run python interactively, I can import anything I want, including pydantic, but when I import pydantic-core, I get this error.  If I back out of the environments and use system packages, the error doesn't show up.
Do you want a debugger trace? I'm not skilled with it, so you'd have to give me the command or otherwise tell me what type of information you'd find useful.

From what I can find, this error might imply a permission issue.
https://stackoverflow.com/a/55693490
Is there something special about the directory you're placing the virtual environment in?
 /run/media/jeremy/4TB/Backups/AAA_llm/AI/Systems/deepeval-confident-ai/env/lib64/python3.12/site-packages/

Actually I have the same problem, but I could track down to something else. I am working on Kubuntu 24.04 and my virtual env is on a different partition which is mounted into /D. When I try to run the app from this partition it throws the an error something similar like above. If I create a dir in my home folder and copy over the whole code directory even with .venv, I can run the exact same code without any problem.


How to solve ios under the background opaque situation

I have used a lot of ways to set the element transparent, still no effect. But in the debugging time, switch the background when the transparent style will be successful. Said do not understand

I fixed that by change the position of a element after QrScanner.show().Test on iOS 10.2 and 10.3.
I think this is because webview does not render elements that are under opaque elements, so you need to trigger reflow to render it, and setting background will only make it redraw the element.

How you have changed the position?

@fahadpathan The body position is 'fixed' In the Ionic, so I just changed it to 'static' in callback of QrScanner.show().

@mljsgto222 I have added background ''transparent' inside QrScanner.show();.

@fahadpathan I mean you need to trigger Webview to reflow. I changed the body position, you can also use other ways. But changing background will only trigger the browser to repaint.

@mljsgto222 Yes I repainted browser, as we need customer layout for QR Code similar to WhatsApp QR Code scanner.

Hey @fahadpathan and @mljsgto222 – were you able to solve this issue? Making the webview transparent in iOS is somewhat finicky, and depending on your app, you might need to do some adding/removing CSS elements to trigger the view to be redrawn as transparent. You can see https://github.com/bitpay/copay for an example. (Links to the live version in app stores here: https://bitpay.com/wallet)
If you have any ideas for how we can modify this plugin to work better "out-of-the-box", I'd love to take a pull request!


Local test environment for IBC features

Context
There are 3 active CIPs related to IBC:

CIP-9: Packet Forward Middleware
CIP-12: Relayer Incentivisation Middleware
CIP-14: Interchain Accounts

Problem
While we can develop these and test them on Mocha, that would involve cutting RCs and coordinating with external parties to upgrade Mocha.
Proposal
Ideally we would have a faster iteration cycle while implementing these CIPs. It would be nice to test these features in a local environment prior to deploying to a testnet. Proposal to write some script that allows a contributor to spin up a test environment with at least:

Celestia devnet
Cosmos Hub devnet (or any another IBC chain)
IBC relayer

and then spins up the necessary IBC channels and connections. This script could use docker-compose, kurtosis, or any other tool.

Tip from @evan-forbes  is to check out:

https://github.com/cosmos/ibc-go/tree/v6.0.0/testing
https://github.com/celestiaorg/celestia-app/blob/30aa1b0dddf5871f51b99e60b925dca6caeacc95/test/tokenfilter/tokenfilter_test.go#L1

does this still need to be open?

We can close. We'll need to test all three of these features before we release them so we include tests (and the necessary testing tools) in the PRs that implement the features.

Circling back on this interchaintest seems to be the most adopted tool for this but I'm curious if there are others b/c it wasn't easy to set up.


How to deploy shenyu gateway in HA multi-clusters?

Question
shenyu如何进行高可用的部署,目前我尝试启动2个admin 2个bootstrap  共用一个数据库,有一些问题.
采用的是nacos数据同步,也同时启用了dubbo插件,2个admin服务都走了同样的逻辑,通过订阅nacos里的服务和配,重复覆盖mysql里的配置.

For admin, please check  https://github.com/apache/shenyu/issues/4881 ;
For bootstrap, you can deploy multiple nodes in the gateway using the same registry.

shenyu admin多节点部署是个问题

数据同步一致性

A new tool for syncing data from different clusters is a good idea.
Can you provider a task in GSoC2024 in shenyu?

The data has been stored in the database, so canel is enough for the migration between different admin clusters.
For gsoc 2024, I'd like to provide KitexPulgin or RpcxPlugin task.
---- 回复的原邮件 ----
| 发件人 | @.> |
| 发送日期 | 2024年01月27日 21:51 |
| 收件人 | apache/shenyu @.> |
| 抄送人 | dragon-zhang @.>,
Comment @.> |
| 主题 | Re: [apache/shenyu] 分布式高可用网关部署问题 (Issue #5388) |
A new tool for syncing data from different clusters is a good idea.
Can you provider a task in GSoC2024 in shenyu?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Biz data syncing in middleware nodes should not depend on db tools.
I still think it make sense for this feature, such as Nacos-Sync.


When title is empty, argument groups are not recognized by toctree

With this input:
.. sphinx_argparse_cli::
   :module: my_prog.__main__
   :func: build_parser
   :prog: my-prog

Toctree render as:

And with this input:
#######################
my-prog - CLI interface
#######################

.. sphinx_argparse_cli::
   :module: my_prog.__main__
   :func: build_parser
   :prog: my-prog
   :title:

Toctree render as:

But the group is added as an <h2> in the page.

Feel free to add a PR to address this 👍


Microsoft Lumia

Firefox MS Lumia preset :

Lumia 930 :

another one to leave open for other Lumia devices as this preset should prove to be very broad


Creating a new EventHub Namespace actually creates a Service Bus Namespace

As of pulumi-azure 3.4.0 creating a new eventhub.Namespace resource creates a Service Bus Namespace instead.
A warning is printed about eventhub.Namespace being deprecated by servicebus.Namespace - this seems wrong as the they are two different resource types.
Calls to eventhub.getNamespace() that reference the same values passed to the constructor fail with a 404 that the event hub doesn't exist.

@oliverholliday  The correct resource names are eventhub.EventHubNamespace and servicebus.Namespace. Calls are eventhub.getEventHubNamespace and servicebus.getNamespace.
I hope this helps.

I went back to pulumi-azure:3.3.0 and the Service Bus Namespace was deleted and the correct Event Hub Namespace was created with no change in code.

Ah I see - eventhub.getNamespace calls servicebus.getNamespace.
I fixed the deprecation warnings from the previous version but I guess they were a mistake as they've gone now!
Thanks


FEATURE: Display PMs in assigned activity and differentiate them.

My overriding concern here is that we are cutting and pasting a lot of code from core, I wonder if there are better ways of reusing bits, @eviltrout any ideas here?

Yes when @romanrizzi mentioned this on our call I thought it was just the template being copied over, but here I see there's a lot of Javascript code too.
Could we not use the component that renders the topic list and use a plugin outlet for the assigned specific controls? Or at least extend it like sam mentions?

I came up with a different approach here:
https://github.com/discourse/discourse/pull/7433
That PR aims to decouple the default behavior of a topic-list-item from the component itself, making it easy to re-use it from another component defining a non-raw version of that component.
This way we can rewrite the assign-topic-list-item component as:
Ember.Component.extend(ListItemDefaults)

@eviltrout when you get back can you take care of merging this + the core PR ?

Does this replace the filter I added for messages?

@tgxworld The messages section uses a different route and will remain unchanged.
If we merge the code PR, we need to be aware that it won't be available until beta10. What's the best strategy to avoid breaking instances running beta9 and discourse-assign?

@romanrizzi I've approved the core PR so I presume this now needs to be updated?

@eviltrout Done!

I was thinking about this yesterday.
I don't know if this is possible in our codebase but I think we can check if the Mixin is present using the require primitive and then decide what we're gonna do.
We can ship a minimal ListItemDefault object and fallback to it if necessary (and raise a warning).
Versioning this plugin would be awesome to avoid shipping breaking changes because we depend on core's code.

@romanrizzi I do believe in the past we looked at pinning plugins to branches. I would look into that and see if we are still doing it (for example stable / beta.) If not the require solution might work. You could also consider comitting an empty version of the mixin to the stable/beta branches so the import does not fail, but check if the object is empty.
Feel free to discuss on dev / meta if you can find a topic about plugin/version maintenance.

Thanks Roman, trying this out!


NotFound to be part of the Vapor core?

I think the Not Found handling is implement on Middleware like Vapor University repo is an additional effort which could have been part of the core and the current code that rely on do {...} is excessive?
https://github.com/qutheory/vapor-university/blob/master/api/App/Middleware/NotFound.swift

Vapor core will have improved rendering of Abort.NotFound at some point, but it's my intention to allow users to catch the error in their own middleware to provide custom error pages.


Flutter doesn't detect IntelliJ

Steps to Reproduce

Install IntelliJ IDEA Ultimate 2020.1.3 from JetBrains Toolbox (Toolbox App 1.17.7234, Windows 10.0).
Install the IntelliJ Flutter (47.1.3) and Dart plugins (201.8538.45).
Extract the Flutter SDK (1.19.0-2.0-pre) and add the /bin/ to System Path.
Switch to channel master and upgrade.
Run flutter doctor -v.
Run flutter config --android-studio-dir "%appdata%\JetBrains\IntelliJIdea2020.1".
Run flutter doctor -v.

Additional Details

IntelliJ detects the Flutter SDK during project setup.
IntelliJ cannot run Flutter apps on my physical device (need to set up an emulator and check as well).

Logs
Output from flutter upgrade:
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine d3b81f19fc98076283892c1152d30e2567b6406e...
Unzipping Dart SDK...
Building flutter tool...
Running pub upgrade...
Flutter is already up to date on channel master
Flutter 1.21.0-2.0.pre.55 • channel master • https://github.com/flutter/flutter.git
Framework • revision 1840b7121a (88 minutes ago) • 2020-07-16 23:15:23 -0700
Engine • revision d3b81f19fc
Tools • Dart 2.9.0 (build 2.9.0-21.0.dev 06183779d7)

flutter doctor -v before flutter config:
[✓] Flutter (Channel master, 1.21.0-2.0.pre.55, on Microsoft Windows [Version 10.0.19041.388], locale en-IN)
    • Flutter version 1.21.0-2.0.pre.55 at F:\Code\Android\flutter
    • Framework revision 1840b7121a (89 minutes ago), 2020-07-16 23:15:23 -0700
    • Engine revision d3b81f19fc
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 06183779d7)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at F:\Code\Android\SDK
    • Platform android-30, build-tools 30.0.1
    • Java binary at: F:\Code\Java\AdoptOpenJDK8\bin\java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
    • All Android licenses accepted.

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • moto x4 (mobile) • ZY224W67K6 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 1 category.

flutter doctor -v after flutter config:
[✓] Flutter (Channel master, 1.21.0-2.0.pre.55, on Microsoft Windows [Version 10.0.19041.388], locale en-IN)
    • Flutter version 1.21.0-2.0.pre.55 at F:\Code\Android\flutter
    • Framework revision 1840b7121a (2 hours ago), 2020-07-16 23:15:23 -0700
    • Engine revision d3b81f19fc
    • Dart version 2.9.0 (build 2.9.0-21.0.dev 06183779d7)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at F:\Code\Android\SDK
    • Platform android-30, build-tools 30.0.1
    • Java binary at: F:\Code\Java\AdoptOpenJDK8\bin\java
    • Java version OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09)
    • All Android licenses accepted.

[!] Android Studio
    • Android Studio at C:\Users\aryam\AppData\Roaming\JetBrains\IntelliJIdea2020.1
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ android-studio-dir = C:\Users\aryam\AppData\Roaming\JetBrains\IntelliJIdea2020.1
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.
    • Consider removing your android-studio-dir setting by running:
      flutter config --android-studio-dir=

[✓] Connected device (1 available)
    • moto x4 (mobile) • ZY224W67K6 • android-arm64 • Android 8.0.0 (API 26)

! Doctor found issues in 1 category.

Stacktrace from running from IntelliJ
Launching lib\main.dart on moto x4 in debug mode...
Running Gradle task 'assembleDebug'...
../../third_party/dart/runtime/vm/zone.cc: 94: error: Out of memory.
version=2.9.0-21.0.dev.flutter-06183779d7 (be) (Wed Jul 15 12:38:04 2020 +0000) on "windows_x64"
pid=32020, thread=5556, isolate_group=main(000001D0CD9B9530), isolate=main(000001D0CD9BEEE0)
isolate_instructions=7ff6b92797d0, vm_instructions=7ff6b92797e0
  pc 0x00007ff6b9402f08 fp 0x0000002bcdbfc920 Unknown symbol
-- End of DumpStackTrace
...

Hi @blackk100
This is a known issue https://github.com/flutter/flutter/issues/54867
Closing based on the https://github.com/flutter/flutter/issues/54867#issuecomment-658504774 and in favor of. https://github.com/flutter/flutter/issues/61246
If you disagree, please write in the comments and I will reopen it.
Thank you


Fix check_backend_communication

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@c45547f). Click here to learn what that means.

Files
Patch %
Lines

src/ansys/aedt/toolkits/common/utils.py
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #122   +/-   ##
=======================================
  Coverage        ?   85.36%
=======================================
  Files           ?        8
  Lines           ?      690
  Branches        ?        0
=======================================
  Hits            ?      589
  Misses          ?      101
  Partials        ?        0

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Xamarin.UITest 3.0.3 ClearAppData does not work on Samsung Galaxy Tab S2

Addition to Xamarin.UI.Tests 3.0.3 release notes:
https://www.nuget.org/packages/Xamarin.UITest/
in "Known Limitations" section the same issue happens on "Samsung Galaxy A8"
it fails if "ConfigureApp.Android.ApkFile(androidPackagePath).StartApp(Xamarin.UITest.Configuration.AppDataMode.Clear);"  (or .Auto) is used to launch the tests.
Workaround is to use "ConfigureApp.Android.ApkFile(androidPackagePath).StartApp(Xamarin.UITest.Configuration.AppDataMode.DoNotClear);" flag, but not suitable for all tests.
NOTE: first run on device always go well, but every second run fail. (first run succeed only if no app installed on device)
Attached ui tests debug output:
ui_tests_debug.txt

Thanks for reporting this - our colleague @Oddj0b will follow up with you soon. Thanks!

Thanks for filing this report & sorry that you haven't heard back from us. It sounds like this issue for technical support, but this repository isn't monitored by our support team.
If you need technical help, you can contact support by:

Going to https://appcenter.ms/apps
Selecting ? > Contact Support (in the upper right corner).
Reference this issue for context if needed.

If you've already resolved your issue/still want us to document this, give us an update of your current observations. We're catching up on our backlog here.


BPMNDiagram#name and BPMNDiagram#resolution not serialized correctly

Serialization prepends the di namespace to the following XML (after roundtrip):
...
  <bpmndi:BPMNDiagram id="Diagram_1" name="New Diagram" resolution="96.0">
...

The solution is to not serialize the namespace for inherited attributes.

This causes the following exception when deploying into Camunda BPM:
org.camunda.bpm.engine.ProcessEngineException: cvc-complex-type.3.2.2: Attribute 'di:name' is not allowed to appear in element 'bpmndi:BPMNDiagram'. | process.bpmn | line 15 | column 82

137 BPMN models in camunda/camunda-consulting are affected by this

Are you sure?

Okay, I accidentally counted my local target directories. But at 65 examples are still enough.

I am just messin with ya :C Thanks for providing this feedback!

This project does not seem to be ready for consulting, yet :cat:


Missing dependency phantomjs

Bunch of tests failing because of this:

Do we need to add phantomjs back or can we remove cliver?
@andrew

What OS are you using?

Found these of interest:

https://github.com/teampoltergeist/poltergeist/issues/539
http://stackoverflow.com/questions/30703886/could-not-find-phantomjs

phantom isn't a listed dependency but it is suggested in the install instructions:
brew install postgres phantomjs

Of course, and I did that but still no luck which is why I opened the issue.

Ah ok, I'm on mavericks,
I think @arthurnn ran into the same problem, did you manage to sort it?

I'm on Ubuntu 14.04

So this seems to be the problem

This is a known issue https://github.com/ariya/phantomjs/issues/13754

Huzza! fixed it using this!
npm install phantom phantomjs -g
source: https://github.com/Homebrew/homebrew/issues/44535


Release/1.3.0

Coverage increased (+0.9%) to 77.665% when pulling 94fc52c6fecf39e7a1b9ff93003181ffd2abb4cc on release/1.3.0 into 4aec6ffcd83eafb9b4fdf66d9dd78cb262dd815f on master.

Thanks @colmsnowplow ! I've extended the PR after your review by 1 commit, could you please review that last commit too?

Hey @jbeemster , I addressed all your feedback, especially on thread.sleep usage in UI test and thread safety of gdpr context mechanisms, however the scope of the release has to be cut (configurable emitter post path and gdpr context is postponed) and I need to ask for review again on updated commits. Thanks in advance.


onSend Chat bug ?

Hi, I just started to work with metro and especially with the chat component.
I tried to use the onSend event but I can't manage to make it work on my project.
It seems like the onSend event doesn't respond to the click on the "send" button.
Here's a codepen that illustrates the problem : https://codepen.io/VirgileSP/pen/QWdLQyZ
When I click on the "send" button, nothing pops up in the console, and alert is not shown.
I'm working on widows 10, I tried this codepen on Firefox & Chrome, and i'm using the lastest version (4.4.3).
Is there actually a bug? Or am I doing something wrong?
Thanks.

Your code work

Alright, I thought it was fired regardless of the content of the input. Thanks.


Permanence of lists

Hello,
I am finding that after a link is added to a list if I then click on that list link the link disappears from the list.
Is it possible to add permanence to links that way I can repeatedly open groups of links when doing a specific project.
i.e. I do not want a list item to disappear from a list after clicking on it.
Thank you
Jak

Check the options.
Under behaviour your can change this setting


Move common Geometry props to GeometryDescriptorBase

One notable change is prop type of faceVertexUvs , which should be [][][]THREE.vector2, it was only [][]THREE.vector2 previously.

Tests are passing locally, not sure why travis is grumpy..
One thing is to consider for these non-scalar props - it currently does just '===' comparison, which goes easily wrong unless people keep these objects around (I do that in state) and treat them as immutable.
Personally I think that keep '===' comparison is best because of the performance.. but might be good add it to docs somewhere very visible, otherwise they will think it misbehaves..

Travis is very moody :) I have a fix for it in 15.1 compat, once that's merged in yours should be safe to merge too

I was wondering why my webstorm is misbehaving with your repo.. and now I see that you include .idea. Would you consider to take it out?

Ah, I thought it would be compatible with different IntelliJ products but I guess not :( sure, I'll create an issue to do that ASAP!


On enabling Work load identity the client secret and client key is not generating

Is there an existing issue for this?

[X] I have searched the existing issues

Greenfield/Brownfield provisioning
greenfield
Terraform Version
1.7.2
Module Version
7.5.0
AzureRM Provider Version
3.8.0
Affected Resource(s)/Data Source(s)
azurerm_kubernetes_cluster
Terraform Configuration Files
resource "tls_private_key" "k8s_ssh_key" {
  algorithm = "RSA"
  rsa_bits  = 4096
}

resource "azurerm_kubernetes_cluster" "k8s" {
  name                = "test-aks-cluster"
  location            = "westus3"
  resource_group_name = "test-rg"
  dns_prefix          = "test-aks-cluster"
  role_based_access_control_enabled = true

  oidc_issuer_enabled = true
  workload_identity_enabled = true
  local_account_disabled = true

  linux_profile {
    admin_username = "testuser"
    ssh_key {
      key_data = tls_private_key.k8s_ssh_key.public_key_openssh
    }
  }

  default_node_pool {
    name       = "default"
    node_count = 3
    vm_size    = "Standard_D2_v2"
    os_sku = "AzureLinux"
    temporary_name_for_rotation = "temp"
  }

  identity {
    type = "SystemAssigned"
  }
}

tfvars variables values
NA

Debug Output/Panic Output
"kube_config": [
          {
            "client_certificate": "",
            "client_key": "",
            "cluster_ca_certificate": "<Client_CA_Cert_Value>",
            "host": "<Host>",
            "password": "",
            "username": "clusterUser_test-aks-cluster"
          }
        ]

Expected Behaviour
Client Key, and Client Certificate should be generated as ssh key is provided in the inputs.
Actual Behaviour
Client Key, and Client Certificate are coming as blank values.
This issue is happening only when work load identity is enabled.
Steps to Reproduce
No response
Important Factoids
No response
References
No response

Hello @prajwaldc600
are you using the module published in our repo https://github.com/Azure/terraform-azurerm-aks ?
from the example code you shared it seems you wanted to open a provider issue at:
https://github.com/hashicorp/terraform-provider-azurerm
please confirm
from what I read in the issue this is working as expected
the line:
  local_account_disabled = true

Will force the login to the cluster with Azure managed identity:
https://learn.microsoft.com/en-gb/azure/aks/enable-authentication-microsoft-entra-id#disable-local-accounts
for this reason the client_key is not present.

@prajwaldc600 could you please let me know if my previous comment fixed your issue or if you need additional help ? thanks


start of Azerty layout scancode set2

Basic Azerty layout handling.
The method used for other layouts occult the azerty meaning.

Hi, I have a French azerty keyboard on my laptop so I tested your branch on my little OS (https://github.com/vinc/moros), and the letters and numbers work fine but I had trouble with some other keys.
For example the < key at the bottom left of the keyboard doesn't work, while the * key on the right behave as if it was the < key. Are they working correctly for you? The issue could very well comes from my OS though.

Hi,
I will check this tomorrow and give you a feedback and then commit if the
error come from me.
On Sat, Jul 4, 2020, 12:17 AM Vincent Ollivier<EMAIL_ADDRESS>wrote:

Hi, I have a French azerty keyboard on my laptop so I tested your branch
on my little OS (https://github.com/vinc/moros), and the letters and
numbers work fine but I had trouble with some other keys.
For example the < key at the bottom left of the keyboard doesn't work,
while the * key on the right behave as if it was the < key. Are they
working correctly for you? The issue could very well comes from my OS
though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-embedded-community/pc-keyboard/pull/8#issuecomment-653687549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLNLGTEU63GOZPZYV4MDILRZZKGNANCNFSM4OJDKRYA
.

hi again,
Are we okay on the basic layout implementation ? us104 - >
https://upload.wikimedia.org/wikipedia/commons/3/3a/Qwerty.svg
Ideally i think that to be coherent on the translation to azerty layout, a
new KeyCode implementation can be a more efficient way.
Btw, as a first step i will re-map correctly when i will be certain that
the basic keyboard layout is the one i showed above. If im mistaken, can
you transfer me an image to the well layout please ?
Le sam. 4 juil. 2020 à 00:17, Vincent Ollivier<EMAIL_ADDRESS>a
écrit :

Hi, I have a French azerty keyboard on my laptop so I tested your branch
on my little OS (https://github.com/vinc/moros), and the letters and
numbers work fine but I had trouble with some other keys.
For example the < key at the bottom left of the keyboard doesn't work,
while the * key on the right behave as if it was the < key. Are they
working correctly for you? The issue could very well comes from my OS
though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-embedded-community/pc-keyboard/pull/8#issuecomment-653687549,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLNLGTEU63GOZPZYV4MDILRZZKGNANCNFSM4OJDKRYA
.

The US Qwerty keyboard layout is 104 keys, and the UK one is 105 keys. I think the common French Azerty keyboard is 105 keys like the UK one, so it might help to reuse Uk105Key and code only what is changing between those two.
https://upload.wikimedia.org/wikipedia/commons/d/da/KB_United_States.svg
https://upload.wikimedia.org/wikipedia/commons/d/da/KB_United_Kingdom.svg
That's what I did when I implemented the Dvorak layout from Us104Key as you can see here: https://github.com/rust-embedded-community/pc-keyboard/pull/6/files#diff-ec45777dbfe740feab6d8d88592c97d1R297

You made me realize that actually I should also have started from Uk105Key to have the bottom left < key working on a Dvorak 105 keys keyboard!

hi, I think the keymap must be okay except for the  ['<'  '>'].
I don't understand how the UK keyboard key ['|' ''] can work, have you
tested it ?
These 2 keys trigger the same KeyCode on azerty/UK then, if it's work on
the UK this will work on the azerty.
Btw, the rest of the map should work fine.
Le sam. 4 juil. 2020 à 17:55, Vincent Ollivier<EMAIL_ADDRESS>a
écrit :

You made me realize that actually I should also have started from Uk105Key
to have the bottom left < key working on a Dvorak 105 keys keyboard!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-embedded-community/pc-keyboard/pull/8#issuecomment-653782425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLNLGWB5AJRLZGG57UNEOTRZ5GIXANCNFSM4OJDKRYA
.

I havn't pull request, the code is updated on my forked version.
Le dim. 5 juil. 2020 à 15:25, Leo K<EMAIL_ADDRESS>a écrit :

hi, I think the keymap must be okay except for the  ['<'  '>'].
I don't understand how the UK keyboard key ['|' ''] can work, have you
tested it ?
These 2 keys trigger the same KeyCode on azerty/UK then, if it's work on
the UK this will work on the azerty.
Btw, the rest of the map should work fine.
Le sam. 4 juil. 2020 à 17:55, Vincent Ollivier<EMAIL_ADDRESS>a écrit :

You made me realize that actually I should also have started from
Uk105Key to have the bottom left < key working on a Dvorak 105 keys
keyboard!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-embedded-community/pc-keyboard/pull/8#issuecomment-653782425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANLNLGWB5AJRLZGG57UNEOTRZ5GIXANCNFSM4OJDKRYA
.

let's go :)

@thejpster could you have a look at this PR?
It would be great to publish a new version of the crate after that with the new layouts :tada:

I no longer have write access to this repo I'm afraid.

I see I am the only person who can push to crates.io though - who would like to be added to that, and can I add a Github group to a crate?

OK, once https://github.com/rust-embedded-community/meta/issues/2 is sorted, I can set the owner of pc-keyboard to be that team, and anyone in that team can push you a new release.

That seems great :+1:


Update surefire-reports path for job build-run-che

@davidfestal please review

Can one of the admins verify this patch?

@vpavlin @kbsingh can someone merge this PR please?


Test blackfriday escaping

In the two failing tests, the text, If a < b , then ... is not encoded as If a < b , then ...


ci: fix git dependency version

Fixes the docker build error by setting the version of the git dependency.
ERROR: unable to select packages:
  git-2.36.2-r0:
    breaks: world[git=2.36.1-r0]

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Privacy Error on AppUrl

AppUrl does not open due to privacy error
Attackers might be trying to steal your information from .elb.us-west-1.amazonaws.com (for example, passwords, messages, or credit cards). Learn more
Tried multiple browsers and going to Advanced as mentioned below and clicking the exception link causing a loop but does not allow us to proceed further

My bad, I had the deploy Demo App as No, could be the reason why it failed
will test again


TST: test ipympl build on freyja and mirroring

Just a build number bump to test building on freyja since the previous build 0 was created on my laptop. Also, will see if it mirrors this time to pergamon.

Self-merge to proceed with testing.


Research using Azure Blob to store photos

https://www.npmjs.com/package/@azure/storage-blob

We shouldn't have any funding issues for using Azure Blob storage


bug (d3-graph-controller): PositionInitializers.Stable rotate graph a little after update

Affected Packages

[x] d3-graph-controller

Description
When I use PositionInitializers.Stable graph rotating a little bit after each update
Reproduction
import { defineGraphConfig, PositionInitializers } from "d3-graph-controller";

export const config = (oldGraph?: Graph<ReatomEntity, EntityNode, EntityLink>) =>
  defineGraphConfig<ReatomEntity, EntityNode, EntityLink>({
    nodeRadius: (node: EntityNode) => 32,
    positionInitializer: oldGraph
      ? PositionInitializers.Stable(oldGraph)
      : PositionInitializers.Centered,
  });

https://codesandbox.io/p/sandbox/reatom-reactivity-rotate-bug-4645jr?file=%2Fsrc%2Fmain.tsx
Additional context
Perhaps I am doing something wrong, but I have not found any mention of this type of positioning in the documentation.
I used this code as example for archive stable positioning between updates
Preferences

[ ] I want to be assigned to and work on this issue myself

Yes, PositionInitializer.Stable is not yet documented.
An example usage can be seen here https://github.com/DerYeger/yeger/blob/47d61b8a72939de5ee51f16e27e5098950499b32/apps/formi/components/ModelGraph.vue#L39.
In short, the initializer has to be created by passing an existing graph.
It then matches corresponding nodes by their ids and uses existing position values.
I guess editor didn't report the type issue here.
Unlike the other initializers, PositionInitializer.Stable is a function that returns the actual initializer.

I missed the edit of the issue, it's usually better to create a new issue.
Regarding the rotation, this is caused by the simulation being "reheated" (as d3 calls it) and a new node affecting the position of the existing nodes.
You can configure the initialize alpha to reduce the rotation.


this does not work

$ ~/.rbenv/bin/rbenv init
This is not working...when I run this I get the following output
# Load rbenv automatically by appending
# the following to ~/.bash_profile:

eval "$(rbenv init -)"

I then place this line at the end of my bash_profile...and NOTHING happens. I can not run rbenv.

Hi, sorry you're having troubles!
Is bash your default shell? Which operating system are you on? If there is an existing ~/.bashrc file instead of ~/.bash_profile, can you try pasting the line there instead?
Remember to restart your shell after making changes so that the configuration takes effect.

Looks like things are ok now and I can run rbenv per your help from this ticket...
https://github.com/rbenv/ruby-build/issues/1353#issuecomment-600726091
THANK YOU @mislav


Request to remove library from lib.haxe.org

I don't need this repository anymore, I'll push a better one soon.
Can you please delete it?
https://lib.haxe.org/p/SScript/

Usually we don't remove published libraries, unless

there are leaked personal/private info, like password or keys, or
there is code that is harmful to users, or
it is absolutely unusable for technical reason, or
it's very new that there is no evidence anyone used and depends on it.

Given SScript was first published 10 months already, and the download count is over hundred. I'm more inclined to keep it.
I would suggest you to publish a new version of SScript with a README saying that it's deprecated / orphaned / or any other helpful info.

The problem is if we deleted/renamed an existing library, people who used and depends on the library can no longer get it via haxelib. We don't want to break people's code.

I know that, but I'll publish a new version that is completely compatible with the old library.
The only thing they'll need to do is rename the library in their projects.

Why not publish it under the same name, but a new version then?

Why not publish it under the same name, but a new version then?

Because I hate this current name, I'd rather rename the library or delete it rather than releasing a new version.


there is an posibillity to generate url from route name (any helper?)

Do you mean something like this?
echo $app->getContainer()->get('router')->pathFor('home');
See the route names section of the docs for another example. And if you are using Twig, there is an extension there so you can do something like this:
{{ path_for('home') }}

Thank you!

is there a way to access path_for in php-view

@netmou, see Inserting a path to a named route in a php-view template?

very thanks ,
i do it like this
// view renderer
$container['renderer'] = function ($c) {
$settings = $c->get('settings')['renderer'];
$renderer = new Slim\Views\PhpRenderer($settings['template_path']);
$renderer -> addAttribute('router',$c->get('router'));
return $renderer;
};