fix(@angular/cli): Correct generate class filename

fixes #7121

@Brocco can you review?

Is there something I need to fix on this?

@filipesilva @Brocco Can you please let me know if this PR works.  I am planing on working more on open items however this "urgent" item has been waiting on review for 20 days.  slightly discouraging

@mallek thank you for the PR, however the functionality for specifying a type on a class is provided via an option on the class schematic.
I closed the related issue with this comment.
And you can see the type option for the schematic here.


#2116: Copy-DbaServerAudit: Test Current Audit Filepath for Null

Type of Change

[x] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Check the current audit filepath for null before testing the path to avoid error. This is a resolution to issue #2116 where this function is reporting "Cannot bind argument to parameter 'Path' because it is an empty string" when you try to copy an Audit that writes to the application log.
Approach
Changes will first test that the value of $currentAudit.Filepath is not null before testing the path for existence.

fantastic! Thank you both 🥇


openstack: Remove machine locally if api returns 404

When using docker-machine with the GitLab CI runner, it is unable to remove the local references to machines that have been removed manually on the cloud instance.
time="2018-01-11T20:52:23-05:00" level=error msg="Error removing host \"runner-c75c2f88-1515719299-dea1b3b5\": Expected HTTP response code [202 204] when accessing [DELETE https://openstack.example.org:8774/v2.1/servers/219e7951-a5fa-4a5d-ad5c-3f754f5ca3f1], but got 404 instead" name=runner-c75c2f88-1515719299-dea1b3b5 operation=remove

time="2018-01-11T20:52:23-05:00" level=error msg="{\"itemNotFound\": {\"message\": \"Instance 219e7951-a5fa-4a5d-ad5c-3f754f5ca3f1 could not be found.\", \"code\": 404}}" name=runner-c75c2f88-1515719299-dea1b3b5 operation=remove

We fixed similar for EC2 and GCE already by just warning and proceeding when the cloud provider API returns a 404. We should do the same for openstack.

I'm still seeing this issue with 0.14.0 and 0.15.0.  I have to add a -f to force the removal, it doesn't treat the 404 as a warning.
If I run docker-machine ls, it shows the status as:
runner-2706434e-gitlab-runner-1538716539-cac9712b   -    openstack   Error             Unknown   Expected HTTP response code [200 203] when accessing [GET https://openstack02.jpg.com:8774/v2.1/d5c2ec3a754e48f48e06737a96a05e25/servers/], but got 404 instead {"message": "The resource could not be found.

\n\n\n", "code": "404 Not Found", "title": "Not Found"}
When I try to run a removal I get:
About to remove runner-2706434e-gitlab-runner-1538716539-cac9712b WARNING: This action will delete both local reference and remote instance. Are you sure? (y/n): y (runner-2706434e-gitlab-runner-1538716539-cac9712b) Deleting OpenStack instance... (runner-2706434e-gitlab-runner-1538716539-cac9712b) Remote instance does not exist, proceeding with removing local reference Error removing host "runner-2706434e-gitlab-runner-1538716539-cac9712b": Expected HTTP response code [202 204] when accessing [DELETE https://openstack02.jpg.com:8774/v2.1/d5c2ec3a754e48f48e06737a96a05e25/os-keypairs/], but got 404 instead {"message": "The resource could not be found.

\n\n\n", "code": "404 Not Found", "title": "Not Found"}
I have to use -f or it doesn't remove. Which causes a problem with gitlab-runner because it never forcefully tries to remove them, so these invalid entries can accumulate over time.


Do not store the data for component table in AsciiDoc

In #1777 I adopted a quick and easy approach to store the data necessary for the components page
The data for the entries is stored in .adoc filed under components directory
The fact that those adoc files actually get transformed to HTML pages that are accessible via HTTP could be seen as a drawback.
I wonder whether there is a better way to store the data. I'd have no problem storing it as Java properties, json, or yaml, but asciidoctor-antora-indexer AsciiDoc extension would have to able to parse that format.
Any ideas @djencks ?

I also wrote https://gitlab.com/djencks/asciidoctor-jsonpath which is like the indexer but gets its data from a json document rather than the content catalog, perhaps that would help.

Sounds very promising! Do you happen to have an example at hand?

Do you happen to have an example at hand?

Sorry for the noise, I see some examples in https://gitlab.com/djencks/asciidoctor-jsonpath

A couple of comments…

I recommend generating the json file into modules/ROOT/examples

I thought I had more examples handy, and don’t have time to construct any right now, but if you create the json file I’m happy to work on the use of the extension to generate the page.

On Sep 15, 2020, at 8:32 AM, Peter Palaga<EMAIL_ADDRESS>wrote:
Do you happen to have an example at hand?
Sorry for the noise, I see some examples in https://gitlab.com/djencks/asciidoctor-jsonpath https://gitlab.com/djencks/asciidoctor-jsonpath
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/camel-quarkus/issues/1795#issuecomment-692795588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAELDXRLA65PWGBDXRFVUU3SF6CJZANCNFSM4RNIINJQ.

I recommend generating the json file into modules/ROOT/examples

Hm... why examples? The data is not examples. I think catalog or similar would describe better what's inside.

I thought I had more examples handy, and don’t have time to construct any right now, but if you create the json file

Yes, I can do that, but when you speak about a json file in sigular, does that mean that there has to be a single file? I'd prefer having one JSON file per table row. That will allow us to avoid merge conflicts when people are going to work on various extensions in parallel.

On Sep 16, 2020, at 12:00 AM, Peter Palaga<EMAIL_ADDRESS>wrote:
I recommend generating the json file into modules/ROOT/examples
Hm... why examples? The data is not examples. I think catalog or similar would describe better what's inside.

Probably I wasn’t clear enough… the best family for this sort of file is ‘example’. You can name the file anything, e.g. modules/ROOT/examples/catalog.json

I thought I had more examples handy, and don’t have time to construct any right now, but if you create the json file
Yes, I can do that, but when you speak about a json file in sigular, does that mean that there has to be a single file? I'd prefer having one JSON file per table row. That will allow us to avoid merge conflicts when people are going to work on various extensions in parallel.

At the moment, there needs to be only one json file.  I can consider querying the content catalog for multiple files, but I’m not quite convinced it’s a good idea yet, and it would certainly be a significant amount of work.  Maybe there’s some adoc file from which the information can be extracted?  Perhaps the component page in the main camel docs? Or if there is at most one component per extension, perhaps the info could go into the extension pages?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/camel-quarkus/issues/1795#issuecomment-693214444, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAELDXWWKGLR4D4SNGMSS3LSGBO7XANCNFSM4RNIINJQ.

Maybe there’s some adoc file from which the information can be extracted? Perhaps the component page in the main camel docs?

That would be ideal but I have no idea yet how it could be implemented. Camel Quarkus depends on Camel so the info cannot go to the camel git repo (we'd create a dependency cycle in that way). Perhaps there is some way how we could enhance the Camel component .adoc files in camel-website after they are cloned from the Camel repo?

Or if there is at most one component per extension, perhaps the info could go into the extension pages?

No, unfortunately, one extension can contain multiple components, languages, data formats, etc.

It might be possible to get the quarkus information into the main camel component pages by:

moving the component pages generated for c-q into the c-q modules/ROOT/partials directory (so they don't end up as published pages} and just generating the attributes (no header)
including these in the main camel components pages in the header.  I think it would look something like

:last-existing-header-attribute: foo
include::{cq-version}@camel-quarkus:ROOT:partial$components/activemq.adoc[]

for e.g. the activemq component.

I got this idea to (mostly) work, and I think it may show up a problem with the current implementation.
My work is on partial-components branch in https://github.com/djencks/camel-quarkus.git and https://github.com/djencks/camel.git.  The local antora-playbook.yml in the camel-quarkus repo is set to build if the camel-quarkus and camel repos are checked out next to one another.
The current components page is at /docs/target/site/camel-quarkus/latest/reference/components-2.html.  I think the list of components is incomplete.  For instance, there's only one atomix component listed whereas in my implementation there are six, which corresponds to the atomix extension.
I also altered the extension page generation to use xrefs to the base camel component pages rather than https: links.  This change should be made no matter what happens with this experiment.
There's currently a problem in that there are a ton of missing include warnings for components that are not yet in camel-quarkus.  This can be fixed by either:

generating a partial in camel-quarkus for every component/databinding/language/other whether or not it's supported yet; the partials for unsupported would be blank
waiting for https://gitlab.com/antora/antora/-/issues/678.

If this approach seems like a good idea I can presumably do the dataformats/languages/other pages in the same way.

I thought that the warning for missing includes was included in the page with the missing include, but it turns out that since the include is in the header the warning is not rendered.  So the console output is very noisy but the site looks fine.  If we're willing to live with noisy console output for a while, we could implement this now.

I like the idea to use partials instead of pages.
At the same time, I do not like that building Camel Quarkus Antora docs would require Camel source tree being checked out at a specific location, only to have a set of pages to include our partials into. That sounds unnecessarily complicated. The data stored in the partials comes from Camel Quarkus only and any pages aggregating that data should not need Camel for building.
I have looked into your proposed implementation and I came across the question whether your macros should not be taught to operate on partials? That would solve the problem in the most elegant way, IMO. I tried to do that in #1814, esp. in this commit: https://github.com/apache/camel-quarkus/pull/1814/commits/e599c94280a4a82b9401569baa19e808892f68ab and also here https://github.com/apache/camel-quarkus/pull/1814/files#diff-a5f808e798bf3612d1e44875e6bef126R13
It does what I expect it to do but I admit my code is probably not the prettiest one because I am a JavaScript noob. Anyway, what do you think about the idea?

The quarkus partial build wouldn't actually need a local copy of the main camel repo once this idea was accepted/committed; it could use the remote repo.  The POC does need a local copy because the modified main component adoc pages don't have a remote location yet.
The indexer plugin relies on Antora's 2-pass rendering, where the first pass extracts the header attributes and attaches them as a map to the page object.  My plugin then uses this map for it's queries.  Since partials are never rendered separately, this map never exists for them.
I see your proposal to have the plugin load the partial, but so far I think that is architecturally inappropriate.  If you do go in that direction, I'd advise caching the loaded asciidoc object on the partial, since there are likely to be a lot of passes through the set of partials.  It would also be best to set the parse_header_only option in case the partial happens to have some actual  content.

Thanks for the feedback. I also think that, in its essence, my proposal is a hack using partials for something they were not designed for.

The quarkus partial build wouldn't actually need a local copy of the main camel repo once this idea was accepted/committed; it could use the remote repo.

That sounds promising. No manual local setup is good for both devs and CI. I'd like to check how much time overhead will this bring before I fully commit to the idea.

I'd like to check how much time overhead will this bring

I measured the yarn build duration in the following scenarios:

Current Camel Quarkus master: ~12s
Adding the following snippet to antora-playbook.yml with Camel repo cached locally under ~/.cache/antora/content/2/:

  - url: git@github.com:apache/camel.git
    branches: master
    start_paths:
      # manual
      - docs/user-manual
      # eip
      - core/camel-core-engine/src/main/docs
      # main components doc
      - docs/components

46s

Same as 2. but without Camel repo cached locally under ~/.cache/antora/content/2/: 2m 54s

These numbers make me hesitant.
There is one more issue with this setup: the yarn antora --generator @antora/xref-validator antora-playbook.yml fails with this setup. ATM, it is probably caused by some missing config on the Camel Quarkus side, but generally, I think we do not want to allow the possibility that broken xrefs in Camel docs can make our CI fail. What do others think?

I’m not sure my suggestion is the best way forward, but I think there are more choices that use it.
For one thing, you are pulling in the entire camel master site, rather than just components, which is going to increase the build time.
It’s not actually necessary for the author-mode camel-quarkus build to generate the table for component-to-extension links; this would allow the build to use only the local sources.  The contents of this table are not really susceptible to text changes, so it might be acceptable to build the whole site to check on the table and counts.  Or, there could be two camel-quarkus author mode playbooks, one quarks-only and the other including the main components component.
I don’t think it’s appropriate to fail a partial  site build based on broken xrefs. This would mean that one part of the documentation can’t refer to another part. If there’s an agreed upon principle that there shouldn’t be cross-(antora-)component xrefs, it needs to be clearly stated somewhere :-)
The include in the main camel component docs means that it would be easy to include a generated line, either “this component is in the camel-quarkus XXX extension” or “this component is not available in camel-quarkus”.  Using one or multiple json files in camel-quarkus would not enable this.
I ran some builds on my laptop and the results are inconsistent enough that I don’t really trust them, but I didn’t see a convincing increase in build time between the current whole-site build and my proposal.

On Sep 22, 2020, at 4:18 AM, Peter Palaga<EMAIL_ADDRESS>wrote:
I'd like to check how much time overhead will this bring
I measured the yarn build duration in the following scenarios:
Current Camel Quarkus master: ~12s
Adding the following snippet to antora-playbook.yml with Camel repo cached locally under ~/.cache/antora/content/2/:

url: git@github.com:apache/camel.git
branches: master
start_paths:
manual

docs/user-manual

eip

core/camel-core-engine/src/main/docs

main components doc

docs/components
46s

Same as 2. but without Camel repo cached locally under ~/.cache/antora/content/2/: 2m 54s
These numbers make me hesitant.
There is one more issue with this setup: the yarn antora --generator @antora/xref-validator antora-playbook.yml fails with this setup. ATM, it is probably caused by some missing config on the Camel Quarkus side, but generally, I think we do not want to allow the possibility that broken xrefs in Camel docs can make our CI fail. What do others think?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/apache/camel-quarkus/issues/1795#issuecomment-696657766, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAELDXWMAITQB3D7H7UWW5DSHCBZDANCNFSM4RNIINJQ.

there could be two camel-quarkus author mode playbooks, one quarks-only and the other including the main components component.

I went with this option after discussing it with @jamesnetherton . I have updated https://github.com/apache/camel-quarkus/pull/1814

I don’t think it’s appropriate to fail a partial site build based on broken xrefs. This would mean that one part of the documentation can’t refer to another part. If there’s an agreed upon principle that there shouldn’t be cross-(antora-)component xrefs, it needs to be clearly stated somewhere :-)

That's our current modus operandi Changing it would require a separate discussion.

The include in the main camel component docs means that it would be easy to include a generated line, either “this component is in the camel-quarkus XXX extension” or “this component is not available in camel-quarkus”.

Yeah, that's an important advantage of using partials (thanks again for proposing it!). I am going to file a PR against Camel once #1814 is merged.

BTW, the noise from 'include not found' should disappear with antora 3.0-alpha-1 which should be released any day now.  I don't think there are any destabilizing changes in it.
The cq dataformats, languages, etc pages ought to be able to also use this idea, right?

The cq dataformats, languages, etc pages ought to be able to also use this idea, right?

Yes, of course, my update of #1814 does that for all.


Filter Manager: Abort 1xxHeader Filter Chain

Commit Message: Have the 1xx filter chain abort if a send local reply occurs during iteration.
Additional Description: This brings it inline with other encode* calls.
Risk Level: low
Testing: added integration test
Docs Changes: n/a
Release Notes: included
Platform Specific Features:

/assign @RyanTheOptimist

/retest


set has_ready true if there are unapplied logs

So these raft logs can be applied ASAP after restart up.

Seems done in #6648


Add support for running on Ubuntu

Initially this should take the form of PIP or direct from source installs of the stack.  Verify that this works first and iron out any bugs that pop up.
When we are confident we run well, look into the process for adding Factory, Oz and whatever additional packages are needed into the official Ubuntu/Debian package tree.

Closing as part of a general cleanup of very old/stale issues that are not likely to be worked or are no longer relevant.


--iteration threshold switch for adjust.exe

If the --precision-stn-linear default is 4 (linear coordinates are published to four decimal places) should the default iteration threshold be 0.00005m not 0.0005m.

I don't think this is an issue. --precision-stn-linear, as you say, relates to the published precision of the station coordinates, not the precision used for the calculations.
@rogerfraser, if you are happy with my comment could you please close this issue.


only include complete previous month in sync message if it is the first of the curent month

This PR improves the size of retrieved records for the sync message. The records for the complete previous month are only sent if it is the first day of the current month.
Closes #698.

Codecov Report

Merging #699 (78eef09) into main (c9d6741) will increase coverage by 1.77%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #699      +/-   ##
==========================================
+ Coverage   64.81%   66.58%   +1.77%
==========================================
  Files          45        1      -44
  Lines        5442      410    -5032
  Branches       89       89
==========================================
- Hits         3527      273    -3254
+ Misses       1915      137    -1778

Components
Coverage Δ

apel_plugin
66.58% <100.00%> (-0.09%)
:arrow_down:

auditor
∅ <ø> (∅)

slurm_collector
∅ <ø> (∅)

slurm_epilog_collector
∅ <ø> (∅)

htcondor_collector
∅ <ø> (∅)

priority_plugin
∅ <ø> (∅)


wikiart dataset has moved

The new link is for the readme of the dataset is: https://github.com/cs-chan/ArtGAN/tree/master/WikiArt Dataset
And the download link is: http://web.fsktm.um.edu.my/~cschan/source/ICIP2017/wikiart.zip

Can you update it and make a PR?


Unable to Operate Data Between Worker Threads

Hi, I've been working on a service that runs a video capture on a separate worker.
The approach to this has been to get the data from the frame read from the video capture and make a transferable object like Uint16Array or similar then reconstructing the matrix from the buffer on the main thread.
Unfortunately it seems like I get some type errors coming from the C bindings and I am not sure how to debug them. I've made a repository with the minimum viable reproduction of this issue at: https://github.com/jdmg94/opencv4nodejs-worker-bug
The repo has a control script to demonstrate these methods otherwise work if they're not on different threads
Error Message

Can you log the element that looks not to have the correct type, before the crash?

Can you log the element that looks not to have the correct type, before the crash?

I have included a code sample with a control file precisely to demonstrate that they are in fact the same type.
When the code runs in the main thread the conversion works flawlessly, it is only when transferring the buffer between workers that the native C bindings seem to complain (this is not a TS error)


How the group features can be used in ListView.builder

I need to use ExpansionTileGroup for the list items, but it wants ExpansionTileItem childeren

hi @codercengiz, what usecase do you want to handle? The core concept of group feature is the ExpansionTileGroup always need ExpansionTileItem to generate keys. With these keys ExpansionTileGroup can easily handle the behaviors of ExpansionTileItems.

I have a list that can contain many items, each with an expansion feature. If the user clicks on any item, it should expand. If there's another item already expanded, it should collapse.
However I need to use list.builder.

Currently, this package does NOT support it yet.
I will add it in the future and inform you when it is ready.
Thanks for contributing!

hi @codercengiz, a new version is released with supporting your case.
Please checkout the docs with Option 2 section. Thanks and waiting your good feedback!

hi @congthanhng
First of all, thank you very much for the quick solution.
I had issues with just two cases, but I worked around them. However, I believe a cleaner method would be better.

Case:
When I sort the list, the previously expanded item should stay expanded in whichever position it has moved to in the list.

I solved it by using onItemChanged:
expansionGroupController.onItemChanged(
        sortedEloboxes.indexWhere(
          (element) => element.key == state.expandedEloboxSerialNumber,
        ),
        true,
      );

Case:
If the length of the list changes, especially when an item is deleted, I get a range error:
RangeError (length): Invalid value: Not in inclusive range 0..2: -1

Hi @codercengiz,  your cases are so complicated. Please show your code, i will try to support you to find the solutions.

hi @codercengiz , i think this package is out of scope with your second case. You should re-init the controller and using UniqueKey for parent widget that wrapped all items of group. So that, whenever you change the list, it will be re-created to the new one.
Thanks for your feedback and provide me some useful cases. Hope my answer will find you well!


Could you mind to share the DPR indexed kilt corpus and checkpoint

Dear @jjasghar @fmchowdhury @stevemar @bradtopol @johnwalicki , hello, thanks for sharing the code.
I'm trying to reproduce Re2G. However, it is too expensive for me to create the DPR indexed corpus.
Could you mind to share the DPR indexed kilt corpus and the checkpoint of the rerank model(stage1 and final model) ?  It will help me a lot.
Thank you !

Hello, please ask if you now have an indexed corpus, if there is, can you please share me?

Hello, please ask if you now have an indexed corpus, if there is, can you please share me?

hello, please ask if you get the indexed corpus, if there is, can you please share me?

Unfortunately we are not able to release that, only provide instructions for recreating it (legal issues).


servername in tlsconfig missing

https://github.com/VictoriaMetrics/operator/blob/fbaa76f41f5bc8c3ac59a1ec3873a466380b0427/controllers/converter/apis.go#L149
It seems the serverName is in the type definition, but not mapped in convert method. So its never set in VMServiceScrape.

Thanks for reporting! Must be fixed at master branch, i'm going to make minor release soon.

Thanks for reporting! Must be fixed at master branch, i'm going to make minor release soon.

fix was included to https://github.com/VictoriaMetrics/operator/releases/tag/v0.7.2 release

fix was included to https://github.com/VictoriaMetrics/operator/releases/tag/v0.7.2 release


Ubuntu PPA error: repository doesn't support architecture 'i386'

Hello,
I just upgraded to Ubunbu 20.04. I updated the apt sources list as documented at https://goaccess.io/download#distro
deb https://deb.goaccess.io/ focal main

When updating packages, I get the following message
# apt update
...
Hit:8 https://deb.goaccess.io focal InRelease
...
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://deb.goaccess.io focal InRelease' doesn't support architecture 'i386'

Fixed the problem by updating the source as follows
deb [arch=amd64] https://deb.goaccess.io/ focal main

Thank a lot for sharing that!
It's sad that the i386 support for major Linux distributions like Ubuntu recently started to disappear. Sharing these notes will help folks!
I'll keep it open for a while.

Same issue here. Does this mean we can't use GoAccess on our current hardware?
Who is responsible for the i386 support (hardware vendors, kernel maintainers, GoAccess devs)?

@snowweb https://eofla.wordpress.com/2020/04/01/ubuntu-20-04-lts-i386-repository-fade-out/ seems like i386 faded out on 20.04

@snowweb https://eofla.wordpress.com/2020/04/01/ubuntu-20-04-lts-i386-repository-fade-out/ seems like i386 faded out on 20.04

But wait... I'm not using i386, so why am I caught up in this?
root@s2:~# dpkg --print-architecture amd64 root@s2:~# uname -a Linux s2 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Okay. I think we understand what is going on now. Please see https://www.howtoforge.com/community/threads/goaccess-does-not-support-i386-architecture.87108/, for the complete picture.
It looks like GoAccess is not handling the recently introduced debian multi-architecture features properly.

@snowweb do you have any docs for reference about the multi-architecture features that debian introduced so I can take a look? thanks

@allinurl Sorry for the delay. I think this is what you're looking for https://wiki.debian.org/Multiarch/HOWTO


Improve error message for unentitled IBMId

This message gets displayed when IBMId is not entitled. We should improve the error message to indicate what it means.

@git4rk The current error message for the un-entitled IBMid is:
The input IBMid account is Unentitled.

Pls provide the improved error message.
Besides, pls notice that only the highlighted text is customizable:

How about, "The provided IBM ID does not have entitlement to install WebSphere Application Server".
Couple of questions:

Can this be customized for each image (e.g. WAS ND, IHS)?  The above suggestion only works if we can customize, otherwise we shouldn't mention the product.
Minor suggestion and maybe we need a separate issue for it: can we use "IBM ID" (rather than IBMid) consistently as I think this is the correct/official representation?

@gcharters Thanks for your quick response.

Can this be customized for each image (e.g. WAS ND, IHS)? The above suggestion only works if we can customize, otherwise we shouldn't mention the product.

Yes, we can. I assume error message "The provided IBM ID does not have entitlement to install WebSphere Application Server" is tailored for WAS ND. So what's your suggestion about the one for IHS?

Minor suggestion and maybe we need a separate issue for it: can we use "IBM ID" (rather than IBMid) consistently as I think this is the correct/official representation?

I do like your comment to use consistent wording across product. #84 is opened to track the request.

@majguo Thanks for fixing the message and "IBM ID".
The message suggests customer to go to

That doc does not have any information about this specific error. How can we get that updated or point customer to a different doc?

@git4rk Yes, that doc is a generic one about how to use Azure Custom Script Extension with Linux VM. I don't think it can be updated for specific scripts executed using the extension, as there could be tons of custom scripts running with the extension. Instead, I'd like to suggest leveraging the error message which is controlled by our script to indicate user what's the appropriate doc he/she can reference.
Cc @edburns .

For an unentitled error, we have some text and a link in #40 which we could modify for this error.  @majguo is that the sort of thing you're looking for?

@gcharters Yes, that's the sort of thing I suggested.

@majguo how about:
The provided IBM ID does not have entitlement to install WebSphere Application Server.  Please contact the primary or secondary contacts for your IBM Passport Advantage site to grant you access or follow steps at IBM eCustomer Care for further assistance.

@gcharters Thanks @gcharters , it looks good to me. However, the hyperlink doesn't work in the plain text error message:

So I will use the following one instead:
The provided IBM ID does not have entitlement to install WebSphere Application Server. Please contact the primary or secondary contacts for your IBM Passport Advantage site to grant you access or follow steps at IBM eCustomer Care (https://www-112.ibm.com/software/howtobuy/passportadvantage/homepage/ecarec) for further assistance.

@git4rk can you please make an ibm.biz redirect link to the above and post it here?

@edburns @majguo @gcharters I created the short URL: https://ibm.biz/IBMidEntitlement for https://www-112.ibm.com/software/howtobuy/passportadvantage/homepage/ecarec

@majguo when this change is made, please use this redirect url instead of the longer one.  https://ibm.biz/IBMidEntitlement.


fix(api-server): add x.com to valid twitter domains

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #55579

Not sure if this is really all there is to it, but it seems to work.
It should allow any site to have multiple valid domains in an array.

test-server is passing, but test:api fails a bunch, but it is the same that fail on main, so I assume I had nothing to do with it.

I think it's because Twitter changed their domain to x.com and it's not compatible.


MX validation is not working

Hi,
I am trying to use your MX validation,
And I purposely put a wrong email that doesnt exist,
but it still accept it.
That is not supposed to happens right?
Thank you

Hi @syafiqfaiz  can you describe the problem please?
Rails version if using Rails for example + the failing code

Closing


logstash-output-webhdfs不支持hdfs的ha模式

logstash-output-webhdfs的host参数只能设置一个ip地址，这在ha模式下非常不方便，也不合理。
如果hdfs是ha模式，当设置的namenode编程standby时，此次导入就失败了，希望host参数支持多个ip配置

Google translate says:

host parameters logstash-output-webhdfs can only set a ip address, it is very inconvenient mode in ha, but also unreasonable. If hdfs is ha mode, when set namenode programming standby, the import fails, and hope to support multiple ip host configuration parameters

Hi gabrywu ,
thanks for opening an issue here. Sadly I'm unable to reproduce your issue. Here is the respective  configuration for the webhdfs output:
output {     webhdfs {         workers => 1         host => "webhdfs-node1.dbap.de"         standby_host => "webhdfs-node2.dbap.de" 	user => "test"         path =><EMAIL_ADDRESS>single_file_per_thread => true 	flush_size => 50         idle_flush_time => 10         retry_interval => 0.5 	retry_times => 5     } }
Starting logstash with this configuration seems ok. Data ends up as expected in the configured file. Shutting down webhdfs service on webhdfs-node1.dbap.de triggers switch to webhdfs-node2.dbap.de.
Please note that both hostnames need to be resolvable on the host running logstash.
If you could provide more detail as to your logstash version, configuration and encountered error message I will have a closer look.
Thanks again and take care,
Björn
Translated with translate.google.de:
嗨gabru，
感谢这里打开的问题。可悲的是，我无法重现您的问题。下面是respectivement webhdfs输出的配置：
output {     webhdfs {         workers => 1         host => "webhdfs-node1.dbap.de"         standby_host => "webhdfs-node2.dbap.de" 	user => "test"         path =><EMAIL_ADDRESS>single_file_per_thread => true 	flush_size => 50         idle_flush_time => 10         retry_interval => 0.5 	retry_times => 5     } }
这种配置启动logstash似乎确定。数据最终如预期中的配置文件。关闭webhdfs上webhdfs-node1.dbap.de服务触发楚webhdfs-node2.dbap.de。
请注意，主机名都必须在主机上运行logstash解析。
如果你能提供更多的细节，以你的logstash版本，配置和遇到的错误消息我想仔细看看。
再次感谢和照顾，
Björn

As I did not hear anything from you since my last post, I will close this issue now. If the problem still persists, please open a new issue.
Thanks again and take care,
Björn


React-native-onesignal and ios 13.1

Description:

We're in the process of updating react-native-onesignal in an app - react-native is  version 0.55.2. The issue in short is, that we've tried updating the react-native-onesignal sdk (to 3.3.2 and 3.3.3) per the email being sent out regarding xcode 11 and iOS 13. However, when running the app on an iOS 13.1 device (iphone 7) (it is built and run with xcode 11) the app runs, it gets the popup asking for permission to send push notifications (and we accept) but we always get the following in the console and the app won't register for notifications, as in the device doesn't show up in the Onesignal dashboard:
(I do not know how to format the code, sorry )
2019-09-13 14:30:11.707798+0200 app_name[3842:145178] { userSubscriptionEnabled: true,   subscriptionEnabled: false,   pushToken: '{length=32,bytes=0x0586c0fd0e74336ba3129ece2d44e089...8a9649cae8640ed7}',   emailAddress: null,   userId: null,   hasPrompted: true,   notificationsEnabled: false,   emailUserId: null,   emailSubscribed: false }
.....
2019-09-13 14:30:26.742281+0200 app_name[3842:145201] VERBOSE: HTTP Request (OSRequestRegisterUser) with URL: https://onesignal.com/api/v1/players, with parameters: {   "app_id" : "app_id",   "net_type" : 0,   "test_type" : 1,   "ios_bundle" : "dat1.videoplatform.ios.babyapp",   "tags" : {     "lang" : "da"   },   "device_type" : 0,   "sdk_type" : "react",   "sdk" : "020904",   "identifier" : "{length=32,bytes=0x0586c0fd0e74336ba3129ece2d44e089...8a9649cae8640ed7}",   "language" : "da-DK",   "device_os" : "13.1",   "game_version" : "38",   "timezone" : 7200,   "ad_id" : "3A2693A5-32F0-474C-B4BD-5CC5F40B511A",   "notification_types" : 31,   "device_model" : "iPhone9,3",   "carrier" : "Telenor DK" } 2019-09-13 14:30:26.960947+0200 app_name[3842:145202] VERBOSE: network response (OSRequestRegisterUser): {     errors =     (         "[\"Identifier invalid format.\"]"     );     success = 0; } 2019-09-13 14:30:26.961717+0200 app_name[3842:144941] ERROR: Encountered error during push registration with OneSignal: Error Domain=OneSignalError Code=400 "(null)" UserInfo={returned={     errors =     (         "[\"Identifier invalid format.\"]"     );     success = 0; }}
Environment

Steps to Reproduce Issue:

Install version 3.3.2 or 3.3.3 of react-native-onesignal
The SDK is initialized in App.js
Run the app on an iphone 7 with iOS 13.1 and accept push notifications on the popup.

Anything else:
We have tried running on iOS 12.4 devices with react-native-onesignal 3.2.4 (pre-update), 3.3.2 and 3.3.3 all of which work there. It uses the old identifier format as expected. We have run the Live version of the app on an iOS 13.1 iphone 7 which works (we thought it shouldn't work). We have run the updated app with 3.3.2 and 3.3.3 which run on the emulator just fine. It gets to connect, it just doesn't get the popup asking for push permissions as expected.
We are going to try and see if we can get a device running iOS 13.0 and test there since the emulator is 13.0 and there might be a difference from there to 13.1.
For now we can't get further on our own and have already spent days running in circles.
Appreciate the help!

Experiencing the same issue, we are on react-native 0.59.10

Howdy,
We have just released version 3.4.0 which should fix this problem. Cheers!

Will give it a go and return with the results :)

@DanielMerbt Did you get this to work on iOS 13.1? Can you please let us know. Thanks!

We updated to the 3.4.1 SDK and tried running on the simulator and the ios 13.1 device and we get a build error, so we haven't been able to see if the original problem has been resolved. We also moved to the Xcode GM version, but the beta which we used before resulted in the exact same build error.
The new error which occurs when trying to run on sim/device is:
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_WKWebView", referenced from:
objc-class-ref in libRCTOneSignal.a(OneSignal-x86_64-master.o)
"OBJC_CLASS$_WKWebViewConfiguration", referenced from:
objc-class-ref in libRCTOneSignal.a(OneSignal-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm wondering what else was changed in the 3.4.1 update, as we changed absolutely nothing but the react-native-onesignal SDK version.

I'm running into this same issue trying to build with SDK version 3.4.1.

@rgomezp I ran those and tried to build again, and am now seeing the same output as above.
  "_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
      objc-class-ref in libRCTOneSignal.a(OneSignal-arm64-master.o)
  "_OBJC_CLASS_$_WKWebView", referenced from:
      objc-class-ref in libRCTOneSignal.a(OneSignal-arm64-master.o)
  "_CGAffineTransformIdentity", referenced from:
      ___49-[OSInAppMessageViewController animateAppearance]_block_invoke in libRCTOneSignal.a(OneSignal-arm64-master.o)
  "_CGAffineTransformMakeScale", referenced from:
      -[OSInAppMessageViewController addConstraintsForMessage] in libRCTOneSignal.a(OneSignal-arm64-master.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)```

Can you please try following these instructions?
https://documentation.onesignal.com/docs/react-native-sdk-setup#section-manually-updating-ios-onesignalnativesdk
iOS native repo: https://github.com/OneSignal/OneSignal-iOS-SDK

@rgomezp I was able to get this to work by adding both CoreGraphics.framework and WebKit.framework to my OneSignalNotificationServiceExtension project in XCode, as was suggested in #861. Thanks for your help!

Fixed the issue by adding the Webkit.framework manually. The app runs and onesignal works :)

Great to hear


Convert to go modules

This partially resolves - particularly the concerns around requiring retool https://github.com/twitchtv/twirp/issues/169
The tooling will still need to be updated but this enables that and easier management of dependencies.
Description of Changes
Initializes the go.mod configuration and removes the dep and vendor folders.
We still are using the +incompatible versions but that will be addressed in another PR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Using +incompatible may be the best tradeoff moving forward. I'm not sure we can find a satisfactory solution creating a new import path. This means, we should fix tools and documentation to work with go modules, and then release this as a major version (v8.0.0), but keep the import path defined in the go.mod as module github.com/twitchtv/twirp (without a v8 prefix).
The main issue with Twirp is that the generated code has some dependencies on the twirp package, and projects may import generated clients from many other projects. For example, imagine service Haberdasher is using the twirp/v8 package, and also importing a client that was auto-generated for service HatMaterial. That client constructor expects twirp.ClientOptions (does not accept v8.ClientOptions). Maybe it is easy to use both versions, but maybe a 3rd library was used to wrap clients with some pre-defined configuration. Such 3rd library could be updated too, but it is common to have multiple twirp clients imported from other services, and each one may be using a different version. We could try to use aliases for types on different versions (as commented in https://github.com/twitchtv/twirp/issues/169#issuecomment-479957867), but the types twirp.ServerHooks and twirp.ClientHooks can not be properly aliased, because they are structs with functions as properties, and some of those functions also depend on twirp types. Specifically the [https://github.com/twitchtv/twirp/blob/3dc9fd8b90b164f8f38aa64776d49f6e6b79e913/server_options.go#L88](twirp. ServerHooks.Error) that has type func(context.Context, twirp.Error) context.Context. And precisely, most 3rd party tools and common libraries use Hooks as a point of integration with Twirp. Those would have to be updated to support both old and new versions simultaneously, which means they would have to accept interface{} parameters and use type checks on them.
In any case, I think using +incompatible is not too bad, and overweights the benefits of using go modules as default tool. Maybe in the future there are better options to properly handle versions between generated code from different sources and its shared dependencies on the twirp package.

@marioizquierdo @gurudesu

and then release this as a major version (v8.0.0),  but keep the import path defined in the go.mod as module github.com/twitchtv/twirp (without a v8 prefix).

I'm afraid even that is impossible. +incompatible will not work either in this case.
+incompatible only works when you don't have a go.mod file. The moment you have a go.mod file, then you must follow Semantic Import Versioning.
If you merge this PR then two things will happen:
When a user go gets Twirp, then it will only return v1.x.x which will probably super old since we're already at v7.
If a user explicitly go gets a v8 that will have that go.mod file without SIV, then "go get" will fail.
So if this PR is merged and a tag is created, it will just end up breaking everything if I'm looking at things correctly.

The semantic versioning restriction in go get only applies to tags in the vX.X.X format, where the leading v is significant. That is, go get<EMAIL_ADDRESS>will fail saying the major version must be v0 or v1 for that import path, but go get<EMAIL_ADDRESS>will work; it gets treated as a revision instead of a version and ends up in go.mod as v0.0.0-20201121-ff8409c or similar. It just comes down to the tag name.

but go get<EMAIL_ADDRESS>will work; it gets treated as a revision instead of a version and ends up in go.mod as v0.0.0-20201121-ff8409c or similar

You really don't want to do that either as this will not be proper semver according to Go's definition of semver. And people who might try to go get github.com/twitchtv/twirp without @8.x.x will end up getting a completely older version which you also really don't want. It's very common for people to issue a go get without the @<version> or they might do @latest which will end up not getting 8.x.x.
I think the only path forward here is to adapt Go Modules the right way or to not adapt it at all.

Thanks for the input @marwan-at-work. Definitely sound likes we'll have to attempt a full migration if we would like to get this working and that's much hairier.
I'll close this PR.


[subgraph] unit test

@sanchaymittal Does this issue cover unit test coverage for all packages? or something else
Working to ensure we cover that somewhere (if not here)

@sanchaymittal Does this issue cover unit test coverage for all packages? or something else Working to ensure we cover that somewhere (if not here)

We have unit tests everywhere already, I think this is the final module that needs tests. We should probably close this for now and reopen when we have a better idea of what the blockers are.


option to show result as backgourd tab

Is your feature request related to a problem? Please describe.
Add an option to choose, if query result tab should appear in background/foreground and in the same or separate tab group as query.

This is not supported by VSCODE. Currently when opening a tab or view, it will show up to the user. The only change possible is if we can focus or not to that tab.
We could do a "hacky" change and switch back to the previous tab/view, but it would cause a glitch in the screen.
To select where it shows, you can use this setting:
https://github.com/mtxr/vscode-sqltools/blob/bb29d5bf8259243d5fab58329a8f5e80599f97eb/.test-database/project.code-workspace#L30


chore: update opengb

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#334  👈
#333
#330
#329
#327
#326
#323
#322
#320
#328
#325
#324
#318
#317
#316
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NathanFlurry and the rest of your teammates on  Graphite


MigCluster return local or remote client based on IsHostCluster.

Return the local k8s Client or build are remote Client based on MigCluster.IsHostCluster.
Renamed since it returns a k8s Client not specific to controller-runtime as far as I can tell.  Also, the method isn't always building so more ambigious getting a client.

Need to update validations to not require a clusterRef to go along with this change
The clusterRef must reference a cluster

Done.

Looks like the validation changes were added at https://github.com/fusor/mig-controller/pull/39


Step one of hiding hpcrun's functions and libraries.  This much works

around the deadlock with openmpi 4.x and UCX on stria at SNL.

configure.ac tests if libunwind and lzma have a static (.a)
archive compiled with -fPIC.  If yes, then proceed, else issue a
warning and build libhpcrun.so as we previously do.

Copy libunwind.a and lzma.a into src/extern and use objcopy to
--redefine-sym mmap() and munmap() into hpcrun_real_mmap and
hpcrun_real_munmap.  Using a separate directory is an easy way to
make sure that these are built before hpcrun.

In hpcrun/extern-real, write hpcrun_real_* functions to call the
real versions via syscall().

Edit hpcrun/Makefile.am, hpcrun, hpclink to allow both old and
new versions of linking.

Remove the --enable-libunwind-primary option and clean up the related
hash-defines.  Libunwind is now too intertwined in the rest of the
code to be optional.
Not yet done: localize the symbols in hpcrun, and stripping the line
map without stripping the EH frames.

ping  @jmellorcrummey
I rebased and squashed my patches onto the latest version of master.
So, unless someone else comes along with a commit to master, it should
merge as a fast-forward merge with linear history.

I found the setting LIBUNWIND_COPY=no confusing.

Ok, fair enough.  What I'll do is move LIBUNWIND_COPY to the end of
libunwind, after we've tested everything else.  So, we'll copy
libunwind.so if and only if libunwind exists but fails fpic.
Note: the copy variables are used for the top-level Makefile.am which
is where we do the copy.  That's the place to look.
As for mbedtls, when we added it initially, we required it to be
compiled with -fPIC.  It's always been like that for mbedtls,
it's -fPIC or else fail.
For libunwind and lzma, I rewrote configure so that it would test for
and accept -fPIC or not and act accordingly.  That's smoother and more
robust than a hard transition that always requires it.

will this work without libunwind on ppc64?
we don't use libunwind on ppc64.

Well, you might naively think so.  :-)
With master, if you configure with --without-libunwind, the build
fails with:
In file included from ../../../../src/tool/hpcrun/unwind/ppc64/unw-datatypes-specific.h:50:0,
                 from ../../../../src/tool/hpcrun/unwind/common/unw-datatypes.h:51,
                 from ../../../../src/tool/hpcrun/unwind/common/backtrace.h:73,
                 from ../../../../src/tool/hpcrun/cct/cct.h:84,
                 from ../../../../src/tool/hpcrun/epoch.h:54,
                 from ../../../../src/tool/hpcrun/thread_data.h:63,
                 from ../../../../src/tool/hpcrun/safe-sampling.h:104,
                 from ../../../../src/tool/hpcrun/sample-sources/ga-overrides.c:78:
../../../../src/tool/hpcrun/unwind/common/std_unw_cursor.h:56:10:
fatal error: libunwind.h: No such file or directory
 #include <libunwind.h>

I dug a little deeper.

So, hpcrun/unwind/common is pulling in the libunwind code.  It must be
code that we reference but never run.
I tried taking out the libunwind libraries from hpcrun/Makefile.am.
The dynamic case seems to run, but hpclink fails with undefined
references to the above functions.  This is consistent with code that
we refer to but never run.
All the above is with master, it's what we do now.  What does my patch
do?  Exactly what we do now in master.  It preserves the status quo,
not any better, not any worse.
So, we could try extracting libunwind from the powerpc case, but it's
not as simple as "turn it off."  And it's completely separate from the
current PR.
I remember maybe 3-4 years ago, we did turn off libunwind for powerpc
(due to problems on blue gene), but I couldn't find the commit.
Although we don't run the code, it's still intertwinded with the code
base.

ok. proceed with the pull request. we will disentangle libunwind from hpctoolkit on ppc at another time. we’ll just record that as software debt.

@jmellorcrummey I updated LIBUNWIND_COPY.
Are we ok to merge now?


WCF Client - Fixed compilation errors; cleaned up

The original code didn't want to compile for both C# and VB.
Now it compiles and it looks similar to VS 2017 SvcUtil.exe output.
Trailing white spaces were removed too.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Expose target action in req object

The req.target object was removed on the road to v0.10 (discussed here, commit 409f744) and replaced by req.options.
This is all nice looking at it from the hooks and configuration side, but the options object does not contain information about the target action (formerly req.target.action) the request will land on, e.g.
{ detectedVerb: { verb: '', original: '/user/:id?', path: '/user/:id?' },
  actions: false,
  rest: true,
  shortcuts: false,
  prefix: '',
  pluralize: false,
  index: true,
  model: 'user' }

exposes not enough information to get the target action in a sane way.  That makes it really hard to write solid policies or views that need to know about the target action without mimicking a big part of the sails router logic (read: I was not able to find one).
Now to what this boils down is the following proposal: Expose the target action in the request object again, e.g. like this:
{ detectedVerb: { verb: '', original: '/user/:id?', path: '/user/:id?' },
  target: { action: 'find', controller: 'user' },
  actions: false,
  rest: true,
  shortcuts: false,
  prefix: '',
  pluralize: false,
  index: true,
  model: 'user' }

Related SO question: stackoverflow.com/../get-sails-request-target-from-policy-scope
Related Google Groups posting: https://groups.google.com/forum/#!topic/sailsjs/faX54hqcNZE

Some news about how to get action and controller? :'(

@luqezman req.options.controller and req.options.action

@RWOverdijk this options is only available after "route" middleware run :'( Inside a hook using "after route" listener, is impossible to get it 👎

I'm not familiar with the after route listener, so I can't help.


[Bug]: Jest plugin will not install jest into a usable state if the project is outside of the taqueria repo clone

What happened?
When initializing a taqueria project and wanting to add some tests you first install the jest plugin. If this project is initialized outside of the taqueria repo directory it will run into an issue where jest is not installed and it cannot find the ts-jest package
What should have happened?
We should install all jest dependencies/all things needed for the jest plugin to work as part of the installation process within a taqueria project
Steps to reproduce the bug
Steps to reproduce the error:

Initialize a taqueria project outside of the taqueria repo directory with the taq init {directory_name}
Install the taqueria jest plugin with the taq install @taqueria/plugin-jest command
Run taq test --init
Run taq test tests

Relevant log output
$ taq test tests
● Validation Error:

  Preset ts-jest not found.

  Configuration Documentation:
  https://jestjs.io/docs/configuration

Screenshots and images
Screenshot and images
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Is this possibly becuase jest, the jest-cli or @types/jest needs to be moved to dependencies (rather than devDependencies)?
	"dependencies": {
		"@taqueria/node-sdk": "^0.12.0",
		"@taqueria/plugin-contract-types": "^0.10.0",
		"async-retry": "^1.3.3",
		"execa": "^6.1.0",
		"fast-glob": "^3.2.7",
		"jest-config": "^28.1.0"
	},
	"devDependencies": {
		"@types/async-retry": "^1.3.3",
		"@types/jest": "^27.5.1",
		"tsup": "^6.1.3",
		"typescript": "4.7.2",
		"jest": "^28.1.0",
		"jest-cli": "^28.1.0"
	},

@mweichert @GImbrailo @jchenche @AlirezaHaghshenas

I have performed extensive troubleshooting based on my hypothesis that the issue was an incorrect/missing node dependency. After trying every permutation of Jest dependencies/devDependencies (jest, ts-jest , @types/jest, typescript, jest-config), and trying to install each on the main project; I'm at a dead end
It appears that the error we get
npm WARN exec The following package was not found and will be installed: jest
● Validation Error:
Preset ts-jest not found.
Configuration Documentation:
https://jestjs.io/docs/configuration
Is actually due to a jest preset called ts-jest. It seems that if I manually install this package on my test project (npm i -D ts-jest), the plugin works as expected
Given that the dependency for ts-jest needs to be installed on the project not the plugin; I'm not sure how to resolve this. I'm not aware of how to solve this with node, but I assume we could check for and run the install command when the user runs taq test

@mweichert @ricklove , do you have any ideas as to the best way to resolve this?


Entity name detection mismatch

Hello there,
I trained a simple bot with rasa nlu , when i ran nlu parsing engine ,in a certain test case the entity name detected didnt match with the intent detected.
Operating System used : Linux Mint 19 64bit
Rasa NLU Version         : rasa-nlu==0.14.1
nlu.md file :
##intent:weather
- what is the weather
- how is the weather
- what is the weather in [Delhi](location)
- what is the weather like in [Agra](location)
- how is the weather in [Vijaywada](location)
- how will be the weather in [Guntur](location)
- how will be the weather like in [Tirupur](location)
- Is the weather in [Gullywada](location) fine
- what is the weather at [Delhi](location)
- what is the weather like at [Agra](location)
- how is the weather at [Vijaywada](location)
- how will be the weather at [Guntur](location)
- how will be the weather like at [Tirupur](location)
- Is the weather at [Gullywada](location) fine

##intent:internet-skill
- tell me about [Bop](subject)
- who are the [Pumdv](attribute) of [Eql](subject)
- tell me something about [Qv](subject)
- who is [Mdt](subject)
- who is [Dyv](subject)
- what is [sf](attribute) of [Vrkwz Juf](subject)
- search for [Hq](subject)
- tell me something about [Csjn](subject)
- search for [Nmep Ebpmv](subject)
- who are the [corjtu](attribute) of [Rd](subject)
- who is [Gzp](subject)
- what is [Awq Rsp My](subject)
- can you say something about [Jt Mkdh Uravcn](subject)
- search for [Nqa](subject)
- when is [Bzpgh](attribute) of [Ihqrk](subject)
- when is [gb](attribute) of [Qgk](subject)
- can you say something about [Nv Gx](subject)
- tell me something about [Rloas De](subject)
- who is [Giwym Vcu](subject)
- who is the [Ge](attribute) of [Irujc](subject)
- tell me about [Rap Zgkoe Mgz](subject)
- who are the [Bkt](attribute) of [Qnizhc Xpil](subject)
- what is [Umqd](attribute) of [Hwxcg Ltv Gqzrsi](subject)

nlu config yml file :
language: "en"

pipeline:
- name: tokenizer_whitespace
- name: intent_entity_featurizer_regex
- name: ner_crf
- name: ner_synonyms
- name: intent_featurizer_count_vectors
- name: intent_classifier_tensorflow_embedding

Test case python program :
from rasa_nlu.model import Interpreter
import json
main_interpreter = Interpreter.load("models/current/nlu")
message = input("Enter the query:")
result = main_interpreter.parse(message)
print(json.dumps(result, indent=2))

Test Case Output:
{
  "intent": {
    "name": "weather",
    "confidence": 0.9875892400741577
  },
  "entities": [
    {
      "start": 23,
      "end": 30,
      "value": "Chennai",
      "entity": "subject",
      "confidence": 0.7021776180475322,
      "extractor": "ner_crf"
    }
  ],
  "intent_ranking": [
    {
      "name": "weather",
      "confidence": 0.9875892400741577
    },
    {
      "name": "youtube",
      "confidence": 0.0
    },
    {
      "name": "bye",
      "confidence": 0.0
    },
    {
      "name": "maths",
      "confidence": 0.0
    },
    {
      "name": "joke",
      "confidence": 0.0
    },
    {
      "name": "name",
      "confidence": 0.0
    },
    {
      "name": "home",
      "confidence": 0.0
    },
    {
      "name": "internet-skill",
      "confidence": 0.0
    }
  ],
  "text": "what is the weather in Chennai"
}

The weather skill doesnt have any entity named "subject" in the training data , then why is the program returning the detected intent as "subject"
Kindly ASAP , Thanks in Advance !!

entities and intents have no relation at all, and your two different entity types look very similar. So I would say add some more data. But please ask any further usage questions you have in our forum

I had actually given a lot more 4000 training examples for the internet-skill intent , should i give some more training data to the weather intent for better perfomance??


Can gridster prevent link clicks while dragging?

If I have a grid, and there are links embedded inside the items, I noticed the drag works, the moment the drag ends, the link its fired, but how about if I want to drag and not click the link?
I don't see that in the API, unless I missed it. but the idea is to allow the user to drag items around, but only go to the item destination when they clicked not dragged. Is this possible in some way?

I found a solution here for this
https://stackoverflow.com/questions/14301026/how-do-i-avoid-a-click-event-firing-after-dragging-a-gridster-js-widget-with-cli
I'm wondering if this should be something implemented in gridster as an option.

Will close this for now since it can be accomplished using a third party rig, which appears to work decently well. Though I'd prefer it to be integrated as a real feature. Will revisit this later.


Use env vars and -u in README.md

Suggested clarification in the README.md:

Use env vars for ISSUER_API_URL, ISSUER_API_CREDS and VERIFIER_API_URL.
Use -u "$ISSUER_API_CREDS" instead of -H 'Authorization: Basic ....

FYI @jimthematrix


use cygpath if wsl is not available

Implements getting unix paths with cygpath if wsl/wslpath is not installed.
Error:
   0: could not get linux compatible path for `"G:\\workspace\\small dev space\\test-workspace\\workspace"`

Error:
   0: could not find cygpath.exe

Error:
   0: could not find wslpath.exe

Warning: usage of `env.volumes` requires WSL or cygpath on Windows
Suggestion: is WSL or cygpath installed on the host?

Isn't WSL2 required though? Both Docker and Podman require it on Windows.

wsl2 is not required, only wsl. doing this specifically because of the error in #851 : https://github.com/cross-rs/cross/runs/7045847730?check_suite_focus=true

wsl2 is not required, only wsl. doing this specifically because of the error in #851 : https://github.com/cross-rs/cross/runs/7045847730?check_suite_focus=true

I believe WSL2 is now required, or Hyper-V (I forgot that LinuxKit was a thing). I know WSL used to be used back in 2017ish? 2016ish? back when I used it then before Docker Desktop was released, but I doubt we should rely on anyone used that anymore. We probably need a different solution than cygpath if we do, since we would want it to be compatible with Hyper-V?

Putting the discussion from matrix here:

We probably need a different solution than cygpath if we do, since we would want it to be compatible with Hyper-V?

We don't need the paths to be compatible, only that they are expressed in a sane way that unix understands.
This is because we mount the volume paths with -v C:\path\to\thing:/mnt/c/path/to/thing
We could instead of using cygpath fallback to something like relative_path

I think this won't be too complex to implement in cross itself. We shouldn't have to worry about UNC paths or I believe verbatim paths as long as we canonicalize them first.

docker -v doesn't take unc paths, don't think there are cases where we use unc paths

docker -v doesn't take unc paths, don't think there are cases where we use unc paths

If that's the case, then handling drives is pretty easy.


is buildClaimPaidErc875MagicLink function correct?

in https://github.com/AlphaWallet/alpha-wallet-ios/blob/cfd411b1d9f46f9450207fed10499ca95fc8127f/modules/AlphaWalletFoundation/AlphaWalletFoundation/Transfer/Types/TransactionType.swift#L285 we got buildClaimPaidErc875MagicLink function declaration. function returns UnconfirmedTransaction with value value: BigUInt(signedOrder.order.price)but in TransactionConfigurator this transaction value get ignored, do we need to update function buildClaimPaidErc875MagicLink with zero value?
@hboon

It's used in here right?
https://github.com/AlphaWallet/alpha-wallet-ios/blob/31fe94d93870947d3c7e6fac2ccc6fb8d2d4a026/modules/AlphaWalletFoundation/AlphaWalletFoundation/Transfer/TransactionConfigurator.swift#L53

yep, and and on level above the transaction was build in https://github.com/AlphaWallet/alpha-wallet-ios/blob/cfd411b1d9f46f9450207fed10499ca95fc8127f/modules/AlphaWalletFoundation/AlphaWalletFoundation/Transfer/Types/TransactionType.swift#L285, this transaction in calls smart contract, itsn't there should be zero value?

@oa-s I'm pretty sure I responded to you but I think my Git client lost it :( Would you buzz me again if I should reply?

Yep, Al is good, compared with oldest commits, it looks the same, don't worry


Consider GitHub Actions for automatically executing the syntax tests

As described on the [Sublime Text Unit Testing repository page], there is a way to leverage GitHub's Actions to automatically execute tests. I need to dig into that as I am only familiar with GitLab CI and Jenkins CI…

Tests now run (failing, though).


Use PatchOperationSet to avoid conflicts with other mods

I'm getting an error in my logs telling me that multiple mods are adding the same value to SculptureTerror. I'm not sure what other mod is conflicting, but using PatchOperationSet should avoid the error.

FWIW the error I'm trying to fix is this:
XML error: The node <comps> appeared twice within <ThingDef> (defName="SculptureTerror")
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)

Possibly relevant mods for above error:
Ideology (ludeon.rimworld.ideology)
Signs and Comments (dark.signs)
[Fuu] Useful Terror (fuu.usefulterror)

HugsLib log
After looking at it more closely, it seems to be an issue with the comps node which this mod doesn't seem to touch, so I think it might actually be an issue with the Signs and Comments mod. I'm raising the issue with them and will look to see if I can find the problem in their code. However, it's probably still a good idea to use PatchOperationSet here anyways?

Nevermind, after comparing the file downloaded from Steam Workshop with the code on Github I realized that they are different. The issue seems to be in this block:

  <Operation Class="PatchOperationAdd">
    <xpath>/Defs/ThingDef[defName="SculptureTerror"]</xpath>
    <value>
      <comps Inherit="false">

          <compClass>CompQuality</compClass>

          <nameMaker>NamerArtSculpture</nameMaker>
          <descriptionMaker>ArtDescription_Sculpture</descriptionMaker>
          <canBeEnjoyedAsArt>true</canBeEnjoyedAsArt>

          <statDef>MeditationFocusStrength</statDef>
          <focusTypes>

Artistic

          </focusTypes>

      </comps>
    </value>
  </Operation>

This should probably be changed to use a PatchOperationConditional like they do here? https://github.com/JTJutajoh/RimWorld.Signs/blob/master/Patches/SignPatchOperationsIdeology.xml#L19-L43

Oh, thanks for your input! I've made these changes for the Rimworld 1.4 update:
Conditional checks for all the add operations, which should make it safer in case another mod has already added the node.
As for using "PatchOperationSet", I don't think that's an actual thing. That class does not exist in the current game assembly, so I'm not sure where you're getting it. But I can achieve the same effect using conditionals, so I've done that.
Thanks!


Cuda issue with PyG 1.7.0

In the training phase I am getting this:
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling cublasCreate(handle)
This what I have:
>>python -m torch.utils.collect_env
Collecting environment information...
PyTorch version: 1.8.0
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: CentOS Linux release 7.7.1908 (Core) (x86_64)
GCC version: (GCC) 6.2.0
Clang version: Could not collect
CMake version: Could not collect

Python version: 3.7 (64-bit runtime)
Is CUDA available: True
CUDA runtime version: 10.2.89
GPU models and configuration: GPU 0: Quadro RTX 8000
Nvidia driver version: 460.32.03
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.16.5
[pip3] torch==1.8.0
[pip3] torch-cluster==1.5.9
[pip3] torch-geometric==1.7.0
[pip3] torch-scatter==2.0.6
[pip3] torch-sparse==0.6.9
[pip3] torch-spline-conv==1.2.1
[pip3] torchvision==0.9.0
[conda] Could not collect

However nvidia-smi shows:
| NVIDIA-SMI 460.32.03    Driver Version: 460.32.03    CUDA Version: 11.2     |
Also I have loaded cuda/10.2 becuase I installed troch-geometric 1.7.0-10.2:
>>module list
Currently Loaded Modules:
  1) gcc/6.2.0   2) openblas/0.2.19   3) python/3.7.4 (E)   4) cuda/10.2

When does that error occur exactly? Do our examples like examples/gcn.py work for you?

It occurs in the training phase. I tried running gcn.py and I got:
Traceback (most recent call last):
  File "testgcn.py", line 75, in <module>
    train()
  File "testgcn.py", line 58, in train
    F.nll_loss(model()[data.train_mask], data.y[data.train_mask]).backward()
  File "/home/s5/jupy37/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "testgcn.py", line 41, in forward
    x = F.relu(self.conv1(x, edge_index, edge_weight))
  File "/home/s5/jupy37/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/home/s5/jupy37/lib/python3.7/site-packages/torch_geometric/nn/conv/gcn_conv.py", line 179, in forward
    x = x @ self.weight
RuntimeError: CUDA error: CUBLAS_STATUS_INTERNAL_ERROR when calling `cublasCreate(handle)`

The same code runs fine in the following setup:
PyTorch version: 1.6.0
Is debug build: No
CUDA used to build PyTorch: 10.2

OS: CentOS Linux release 7.7.1908 (Core)
GCC version: (GCC) 6.2.0
CMake version: Could not collect

Python version: 3.7
Is CUDA available: Yes
CUDA runtime version: 10.2.89
GPU models and configuration: GPU 0: Quadro RTX 8000
Nvidia driver version: 460.32.03
cuDNN version: Could not collect

Versions of relevant libraries:
[pip3] numpy==1.16.5
[pip3] torch==1.6.0
[pip3] torch-cluster==1.5.9
[pip3] torch-geometric==1.7.0
[pip3] torch-scatter==2.0.6
[pip3] torch-sparse==0.6.9
[pip3] torch-spline-conv==1.2.1
[pip3] torchvision==0.7.0
[conda] Could not collect

Mh, I'm not sure to be honest. This error seems to come from PyTorch directly, see https://discuss.pytorch.org/t/cuda-error-cublas-status-internal-error-when-calling-cublascreate-handle/114341/10. Does the same error occur when replacing GCNConv with a simple torch.nn.Linear layer?

I remember going through that post. I think I tired their suggestions. I will give it a try again this weekend.

Does the same code work when replacing GCNConv with torch.nn.Linear?

Hi @rusty1s,
The problem is solved now. There was some issue with ~/.local where jupyter stored some files. Deleting that folder and setting up the environment from scratch helped.
Thanks.

Awesome :)


Use PandasTransform for commoncrawl download component

Use PandasTransformComponent instead of the DaskTransformComponent to download and extract the contents of the common crawl.
Incorporate the usage of the target_language parameter to restrict the extraction to the desired target language. The language detection will rely on the metadata of the webpage.

Closing in favor of #384

Closing in favor of https://github.com/ml6team/fondant/pull/384


cannot stop/start or restart container if /data volume is mounted

I happen to be running with TYPE=BUKKIT, but this probably happens with other types as well.
I'm mounting /data volume.   I expect to be able to stop the container, and start the container.  However, the subsequent start container causes
usermod: no changes
mkdir: cannot create directory '/home/minecraft': File exists.
As a workaround, I found that I can "clear" the container, and then the start command will work again.
obviously I'm trying to not loose my data directory, and the resulting customizations...

Same here, consider using this instead, that solved the problem for me :
mkdir -p /home/minecraft

Thanks @Farigh , a -p is exactly what I need there.

Pushed the fix to Hub at image ID sha256:80773aee87afe6dbf5bb2ee510273aa775da2633ae4db40292e8b44da0545780

Thanks man.  Looking good.
Thanks for your service on this container.  It has been really helpful to
quickly run minecraft for my kids.  Much easier doing it this way, than
having to fiddle with everything manually each time.
On Sun, Apr 24, 2016 at 7:35 AM, Geoff Bourne<EMAIL_ADDRESS>wrote:

Closed #72 https://github.com/itzg/dockerfiles/issues/72.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/itzg/dockerfiles/issues/72#event-639021840

You're very welcome @tedgaunt . Since your "customers" are your kids :), you'll relate to this article I wrote for Carina https://getcarina.com/blog/deploying-and-building-minecraft-as-a-service/

Thanks for the pointer.  Reading your article now and signing up on Carina.
On Sun, Apr 24, 2016 at 10:38 AM, Geoff Bourne<EMAIL_ADDRESS>wrote:

You're very welcome @tedgaunt https://github.com/tedgaunt . Since your
"customers" are your kids :), you'll relate to this article I wrote for
Carina
https://getcarina.com/blog/deploying-and-building-minecraft-as-a-service/
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/itzg/dockerfiles/issues/72#issuecomment-213986553

Very interesting.  I spent a few minutes trying the mccy source, but it
failed to build through mvn ... I didn't look into why.
very curious as to what the mincraft container yard looks like.  Is there a
demo logon, or is that private?
On Sun, Apr 24, 2016 at 10:38 AM, Geoff Bourne<EMAIL_ADDRESS>wrote:

You're very welcome @tedgaunt https://github.com/tedgaunt . Since your
"customers" are your kids :), you'll relate to this article I wrote for
Carina
https://getcarina.com/blog/deploying-and-building-minecraft-as-a-service/
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/itzg/dockerfiles/issues/72#issuecomment-213986553

Yes, there's a test instance at
https://mccy-staging.itzg.me/
and if you arrow over to the login screen, the login is mccy/testing
As for the maven error, feel free to send me any snippets and I'll see what
it's doing. I also need to circle back with some Docker-ish instructions
for building within a container.
On Mon, Apr 25, 2016 at 11:40 AM tedgaunt<EMAIL_ADDRESS>wrote:

Very interesting. I spent a few minutes trying the mccy source, but it
failed to build through mvn ... I didn't look into why.
very curious as to what the mincraft container yard looks like. Is there a
demo logon, or is that private?
On Sun, Apr 24, 2016 at 10:38 AM, Geoff Bourne<EMAIL_ADDRESS>wrote:

You're very welcome @tedgaunt https://github.com/tedgaunt . Since your
"customers" are your kids :), you'll relate to this article I wrote for
Carina

https://getcarina.com/blog/deploying-and-building-minecraft-as-a-service/

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/itzg/dockerfiles/issues/72#issuecomment-213986553

—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
https://github.com/itzg/dockerfiles/issues/72#issuecomment-214434256


New bug because of missing values in NOAA data

Often in the NOAA daily summaries there are missing values.  Usually the maximum temperature is a good value to check because that field is the most basic information about the historical weather, so it's a good proxy for "is this row missing".
Yesterday the minimum temperature was missing even though the max temperature was present.  The missing values cause an error in the QR decomposition that happens behind the scenes when testing for linear combinations in the data.
So I'm updating the code to test for missing values in all the fields we use, or fix this some other way.

Found the real source of the problem: when updating the daily summaries with hourly summaries I wasn't calculating fields that we don't use... and so that was why some of the fields in the linear combo test were NA.
Updated the code to only test for linear combos for dates prior to missing_dates, which is fine because the purpose is only to get a sense for "are these values highly related historically".  We don't need every last data point to do that test.


Unable to set and reset [(ngModel)] value in ngx-editor-5.0.0-Alpha-1

1). Initially i try set some text from component in ngmodel. But it is not updatedin editor.
2). After entering value in editor i try to reset the text by setting ngmodel empty. But it is also not updated.

can u post the input for ngModel and no longer accets html as input. It should be a prosemirror document object.
v5 has lots of breaking changes and docs is incomplete. i am currently working on docs.

If you want to reset it pass {type: 'doc', content: []} as value.

Oh. I misunderstood. I thought it was not working at all. Thanks @DevelopersCourt .
Please reopen the issue, if it still exists


make exceptions response objects you can raise

[15:24] <mitsuhiko> magicbronson: i want to be able to say raise NotFound(
body=json.dumps({'error': 'something is missing'}), mimetype='text/json')

[15:24] <mitsuhiko> (among other things)

[15:25] <mitsuhiko> i will find a way, but not sure which one yet

[15:25] <mitsuhiko> magicbronson: open a ticket, i think i might not have one for it

This was handled in https://github.com/pallets/werkzeug/commit/2723a117e34207f33ff075a9ea6d1f28a33131d3 on 2013-05-27. You can pass response=custom_response_object to any HTTPException and abort.


Can't use machine credentials.

Because of the way the aws keys/profile are being validated, the aws-sdk can't fall back to the credentials in the aws config file, or ec2 role.

@smithamax I believe this support was added in #35 but I am not super familiar with these approaches. If you could provide me with some more exact details I can work on this when I get some time or if you would like to help, a PR would be greatly appreciated ❤

So that works for aws config files if you're using profiles , but it doesn't for ec2 roles. ec2 role credentials are obtained by the sdk over a link-local address. You might be able to add profiles on top but I've never done that.
If you want to test it out locally you could use aws-vault like...
aws-vault exec --server my-profile -- fastlane ios s3_upload_lane

I'm not really that familiar with ruby, but I think you should just be able to omit these lines completly and have the aws-sdk worry about if it has credentials or not.
unless s3_profile
  UI.user_error!("No S3 access key given, pass using `access_key: 'key'` (or use `aws_profile: 'profile'`)") unless s3_access_key.to_s.length > 0
  UI.user_error!("No S3 secret access key given, pass using `secret_access_key: 'secret key'` (or use `aws_profile: 'profile'`)") unless s3_secret_access_key.to_s.length > 0
end

@smithamax Thanks for info! Will take a look at 💪

this maybe addressed by #55


Change Read Only Mode

Hi,
seem that when you want change status from readonly = true to readonly = false, that doesn't change and editor still read only mode

Hey, you can see this repo, it works for me
https://github.com/rick-chou/one-piece/blob/main/angular/src/views/editor/editor.component.ts
online http://<IP_ADDRESS>/rick/angular/home/editor
I hope useful to you


warp shuffle functions behave incorrectly

Consider the following HIP program:
#include <cstdio>
#include <hip/hip_runtime.h>

__global__ void my_kernel(int * data_in, int * data_out)
{
    int idx = blockIdx.x * blockDim.x + threadIdx.x;
    data_out[idx] = __shfl_down(data_in[idx], 16);
}

int main()
{
    int count = 1024;

    int * data_in;
    int * data_out;
    hipMallocManaged((void**)&data_in, count * sizeof(int));
    hipMallocManaged((void**)&data_out, count * sizeof(int));

    for(int i = 0; i < count; i++)
    {
        data_in[i] = i;
        data_out[i] = -1;
    }

    printf("Input:");
    for(int i = 0; i < count; i++)
    {
        if(i % 32 == 0)
            printf("\n");
        printf("%5d ", data_in[i]);
    }
    printf("\n");

    int tpb = 256;
    int bpg = count / tpb;
    hipLaunchKernelGGL(my_kernel, bpg, tpb, 0, 0, data_in, data_out);
    hipDeviceSynchronize();

    printf("Output:");
    for(int i = 0; i < count; i++)
    {
        if(i % 32 == 0)
            printf("\n");
        printf("%5d ", data_out[i]);
    }
    printf("\n");

    printf("Diff:");
    for(int i = 0; i < count; i++)
    {
        if(i % 32 == 0)
            printf("\n");
        printf("%5d ", data_out[i] - data_in[i]);
    }
    printf("\n");

    hipFree(data_in);
    hipFree(data_out);

    return 0;
}

The only thing the program does, is it shifts the values from the input buffer and stores the shifted data to the output buffer, using warp shuffle function __shfl_down.
Compiling it using hipcc and running it on the GPU produces expected results, the data in each warp are shifted by 16 values, except for the last 16 values in the warp, which maintained their original value.
But using the HIP-CPU library, the results are incorrect. It seems that the warp shuffle is performed only in the first warp of each threadblock.
The function __shfl_up has similarly incorrect behaviour, and even weirder.
__shfl_xor seems totally wrong, it works as if just __shfl was used, forgetting about the xor.
__shfl behavior seems ok.
Note that I am not assuming any warpSize, if the warpSize was anything, the output would still be wrong.
Compilation of the HIP-CPU program was performed using the command
g++ -g -O2 -std=c++17 -I/home/jakub/apps/HIP-CPU/include source.hip.cpp -o program.x -ltbb -pthread

I am attaching the outputs of the programs. The GPU runs were on an AMD GPU.
out_down_hipCpu.txt
out_down_hipGpu.txt
out_up_hipCpu.txt
out_up_hipGpu.txt
out_xor_hipCpu.txt
out_xor_hipGpu.txt

Thank you for the very thorough bug report, fixed.


How Einstein for Developer is better than ChatGPT?

As ChatGPT also provides more helpful responses and assistant. so what are the different things we can experience here? which features are better thant ChatGPT?can you please give me deep information regarding this?

Hi @arshadshaikhsajid ! Thanks for reaching out - Einstein for Developers is built on Salesforce's internal LLM, CodeGen. This model has been trained on enterprise level Apex code so we aim to provide high-level Apex code that respects known Salesforce best practices. Now, we are just getting started with the Open Beta experience so it's currently limited to Natural Language to Code Generation. We'll be releasing features including Inline Code Completion and Test Case Generation in the upcoming months, with more planned for next year. With this product, our goal is to ensure that we're helping users kickstart their Salesforce development with high-quality Apex code in a toolset that is tightly integrated with our Salesforce Developer ecosystem. If you have existing pain points or feedback on Salesforce Development, we'd love to hear them as we continue to refine our roadmap for next year. Thanks!


fix: add body-parser resolution GHSA-qwcr-r2fm-qrc7

Try out Leather build 6119e95 — Extension build, Test report, Storybook, Chromatic

This adds a resolution for body parser which is failing audit
https://github.com/advisories/GHSA-qwcr-r2fm-qrc7

This was updated in https://github.com/leather-io/extension/pull/5859/files


Incorrect handling of -c in shell args when launching a task

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.61.2 (via Flathub Flatpak)
OS Version: Fedora Linux 35

Steps to Reproduce:

Add a terminal profile with args that contain "-c", in settings.json:

"terminal.integrated.profiles.linux": {
    "chatty": {
        "path": "bash",
        "args": ["-c", "echo Hi; exec \"$@\"", "-", "/bin/bash"],
    },
}

Set this as the default profile, in settings.json:

"terminal.integrated.defaultProfile.linux": "chatty"

Create a task - e.g., the basic example shell task - tasks.json:

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "echo",
            "type": "shell",
            "command": "echo Hello"
        }
    ]
}

Run the the task, see it fail:

> Executing task: echo Hello <

Hi
/bin/bash: echo Hello: No such file or directory
The terminal process "bash '-c', 'echo Hi; exec "$@"', '-', '/bin/bash', 'echo Hello'" failed to launch (exit code: 127).

The problem here is that there is supposed to be an extra -c added before 'echo Hello' so that bash executes the command "echo Hello" rather than trying to run a script called "echo Hello", but that is omitted because there already is a -c in args - I believe the relevant code is:
https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts#L1141
I'm unclear about the intent of this code - of all the arguments that can be in toAdd, the only one it seems to make sense for is the /d parameter to cmd.exe. For other flags, skipping adding an additional flag can't make things better and may make things worse.
The above example is obviously artificial - original context is https://github.com/owtaylor/toolbox-vscode/issues/11 where capsh -- -c is being used to avoid unexpected capabilities inside a container.

Some quick testing indicates that adding the same arguments more than once can have negative consequences:
PS D:\repos\Microsoft\vscode> wsl.exe -e echo hello
hello
PS D:\repos\Microsoft\vscode> wsl.exe -e -e echo hello
PS D:\repos\Microsoft\vscode>

So the fix isn't as simple as always adding duplicate arguments. Additionally, I would be surprised if some users haven't come to rely on the de-duping of arguments.
It might be a good heuristic to only add the toAdd arguments when the last argument isn't already in the toAdd. I'll need to think about it a bit more.

Ah, I missed the fact that the args could be coming from task.options.shell.args not just the configured terminal - in that case, yeah, it's possible to imagine that someone is accidentally relying on shell: 'wsl.exe'; args: ['-e]' working.
For arguments from the default profile or terminal.integrated.shellArgs.<platform>, something like 'wsl.exe -e' doesn't seem possible since the arguments have to work by itself. (Since you just added terminal.integrated.automationProfile  added and its not yet released, I assume that nobody is relying on any particular behavior with the arguments there!)
Certainly, if a reliable heuristic could be found, that would be the best combination of backwards compatibility and not doing something weird in the edge cases like the one I hit :-) Better than treating the args differently depending on their source.
The way that bash and related shells work with -c is that it can be followed by short options (-x, say), but not by long options ('--init-file /opt/bashrc`), so I think a fully correct heuristic for that is "if -c is in the arguments and all arguments after -c start with -, don't add another -c". For cmd.exe/powershell.exe/wsl.exe, it seems plausible to me that your "last argument" heuristic is fully correct.

Verified as fixed on insiders (stable on the right in screenshot for comparison)


[Feature] tf.reduce_dims() to reduce dimension as opposite to tf.expand_dims()

Describe the problem
It seems that there is no tf.reduce_dims() (the opposite of tf.expand_dims()). This functionality will be useful in the following scenario:
# I want to reduce the last dimension
[[1,2,3], [4,5,6], [7,8,9]]
# such that it becomes
[1,2,3,4,5,6,7,8,9]

I know this can be done with tf.reshape() but

that requires extra tf.shape() for dynamic dimensions
tf.expand_dims() can also be implemented with tf.reshape() but we have tf.expand_dims()

Would it be a bad idea to implement tf.reduce_dims()?

Your example makes shape [3, 3] become shape [9, 1]. This is NOT the opposite of expand_dims. As said in the API document, expand_dims "Inserts a dimension of 1 into a tensor's shape.".

tf.squeeze is an opposite of expand_dims. As mentioned in the API document.
https://www.tensorflow.org/api_docs/python/tf/expand_dims

@ppwwyyxx My example make (3,3) become (9, ), not (9, 1).

Sorry that was a mistake and I've edited my comment 5 hours ago.

@ppwwyyxx  Though not the opposite, would tf.reduce_dims() be useful?

If not the opposite, you need to define what it is then, before others could possibly comment whether it's useful.
An example alone does not define an operation.

I took a look at the tf.expand_dims() implementation, and is seems that it is more than just a thin wrapper around tf.reshape. I think barring a very compelling reason it's simply not worth the additional API glut and maintenance cost of adding reduce_dims. As @walkerlala points out, for most cases tf.squeeze() is sufficient, which also makes the addition of another similar op less attractive.
Thanks for putting forward the idea though.


Nifi 1413

Reviewing...

+1 LGTM built (against latest master) and tested. Want to rebase the commits or push as is?


Configuration of Deck's orientation

For some purposes it might be useful to transform the orientation (acceleration vector) of the Deck.
A few predefined orientation options would be fine (like in MotionSource Android app).
Requires #5.

Hi! How is the progress of this enhancement proposal?
When playing racing games (Mario Kart 8; on emulator) I found that the gyro doesn't really work as it should. It steers the vehicle when I push one side of the Deck down, instead of when I rotate the Deck like a steering wheel. I am not sure if my Deck is defective (wrong installation of Gyro module?), but it would certainly be helpful if I can just tweak the settings in software. Is there anything I can do to contribute to the repo?
I understand that Gyro data manipulation is quite complicated as I used to work with an MPU6050 and couldn't wrap my head around it. Thank you for your great work!

Not started yet. My progress on enhancements has been really slow for some time so I can't promise it will be done soon.
But about your issue - I guess you'd like to use Deck as a steering wheel when the screen is horizontal? That wouldn't be possible as Mario Kart is looking at the acceleration sensors (that detect direction of gravity). When rotating the Deck (or WiiU Gamepad) when it's horizontal, the direction of gravitational pull on it doesn't change.
The only way then would be to look at gyro (rotational speed) sensors but I guess in WiiU Gamepad they weren't so reliable so the game doesn't use them for steering.
The only way to steer the way you want (both using Deck and a real WiiU) is to hold the Deck/Gamepad vertically.
This enhancement is only for swapping directions of acceleration/gyro sensors but to do what you'd need would require generation of new, fake acceleration vectors by solving set of differential equations. That would be sensitive to errors and would need some way to reset to default acceleration vector.

Hello i also have one really interesting problem with this. If i play BOTW the deck needs to be sideways to work properly, otherwise it just gets weird inputs. Gyro works with steam input tho.

This is a strange, known problem with BOTW on Cemu. I guess it might have been the same with an actual WiiU but I don't know. Might be a Cemu problem.
Anyway, to alleviate the issue, make sure that when you start Cemu and start the game, the Deck is placed on a flat surface. With its back plate facing the ground.

@kmicki Thanks for your quick response! I am running Mario Kart 8 Deluxe on yuzu the switch emulator. By "push down" I mean push one side of the Deck forward, away from my body.
Anyway I found a new perspective to this problem: open Settings in game mode, head over to Controller -> Calibration -> Gyro Calibration. The values of the three axes will be shown on the screen. From the icons you can deduce what direction these axes are supposed to be in:

On my device, the second axis and the third axis seems swapped. When I moved the Deck like a steering wheel (like the second icon), the icons suggest that it should be the second axis responding; but actually the third axis responded. When I moved the Deck like the third icon, it was the second axis that had a reading. Checkout the GIF file:

Can anyone check this to see if it's an issue with all Deck devices, or is it just me who have a malfunctioning machine?

I checked on my Deck and you're right - your unit is defective. I guess he entire gyro+acceleration unit is rotated.

Too bad that I bought my unit from a scalper and RMA is kind of a pain. Thank you anyway for helping me out!
For my specific device, still I might look into the low level drivers when I have free time to see if it is possible to fix it easily. It appears quite doable; just flip the axes, right? xD

Looking at the gif, I think when you're holding it upright it, the 6-axis IMU module is in a position like it would be normally when you hold Deck with the screen facing up. So yeah it's flipping 2 gyro access but also flipping direction of one of the axes.
Also, your acceleration vector will not be right, acceleration axes would also have to be flipped.
Values are send from USB device (Deck controller) using HID report. Unless you could somehow modify the report on the fly, I'm afraid it's not possible to fix it globally.
For sdgyrodsu, you can play with the mapping: acceleration and gyro. When I have some time I'll try to prepare some test verson for your issue specifically.

Thanks a ton for your help! I looked into the code and it seems like a quick fix for sdgyrodsu.
Surely the hiddev thing seems obscure. I guess in order to fix the systemwide hiddev readings, I would have to either poke into some kernel modules or discover some private API to reset the hardware. Or, somehow changing Steam's handling of the values would also help, since most games in Game Mode receive gyro values from Steam.
At least I now know that it should theoretically be easy to fix the wrong values (without differential equations). Thank you again!

I checked again and I think the axes are swapped a little differently. I attached a binary with axes swapped in a way they should be for your case. Check if that's all right - maybe it's not.
sdgyrodsu.zip

First, stop the sdgyrodsu service:
systemctl --user stop sdgyrodsu
Then unpack attached zip file and copy sdgyrodsu file to /home/deck/sdgyrodsu/. Overwrite the file.
Then start the sdgyrodsu service:
systemctl --user start sdgyrodsu

The best would be if you could check with PadTest (run it on a separate PC or on Steam Deck from Steam using Proton-GE).

I tried out PadTest for the graphical view, and surprisingly the original sdgyrodsu executable did produce correct motion data 🤔. I then tried the updated version, which showed up in PadTest as if I was holding the Deck upside-down. Assuming that the original sdgyrodsu program is correctly set up, this means at least the HIDDEV device is functioning properly, and my hardware is fine.
I tried Mario Kart 8 Deluxe, but this time doing either of the two following motions gave me correct steering, and the game appears functional. I played a round and got the first place.

I then checked the settings page in SteamOS, and it's still showing wrong axes 😨. This is becoming confusing!
I believe it shouldn't be so easy to solder the IMU module in a wrong direction in the first place; when assembling the module, one has to match the pins for the module to function at all, which locks the module down in the one only correct direction. I am inclined to think that my unit is fine, but there is something weird going on with the SteamOS settings interface.
I think that my problem is going beyond what we discuss here in GitHub issues for SteamDeckGyroDSU. Maybe it's a generic problem about SteamOS. Thank you a lot for your work on this project, and it's so kind of you to spend time tweaking the software for me! 😁

Hi WuTianming.
I'm working on a software fix for this issue (as well as a general solution for any other gyros with... idiosyncratic orientations). It will probably have to be a user facing rotation value. It would be good to know the serial number of your device so that I if it's an entire batch that is this way, we can fix it all at once.
As mentioned elsewhere in the thread, it could simply be an incorrect mounting/defect. However, I thought I'd try to gather as much info as possible so that other people's experience isn't disrupted.
Your serial number can be found in Settings-> System-> (Scroll down to) Steam Deck Serial Number.
If you're not comfortable posting it here, let;s figure out a way you can DM me.
Thank you for posting this, by the way. It's really helpful toward getting Gyros to be a more streamline experience across devices.

Hi @HilariousCow ,
In the meantime I have installed some Steam software updates, and this time I checked my Deck, everything was working fine, including the calibration page in settings, which showed correct correspondence for the axes. The problem is no longer there.
Anyway, my serial number is FXAA2500B217. I'm glad that I can help Valve in perfecting their product 😁

Glad to hear the software updates fixed it! And thanks for looking up the number!


Alternative project with ng-model and schema change binding

I've found this other project with additional AngularJS features wrapping JSON Editor too.
https://github.com/mohsen1/angular-json-schema-form
May both developers could join efforts.

It seems that your attitude towards the community is clear

Hey @Maks3w,

Hey @Maks3w,
I am not ignoring your request :) no need to get offended.
I'm just cleaning up the issues to maintain only technical issues. I'll see if I can cooperate with mohsen1 after i get some of the technical stuff out of the way.
Thanks for helping

Hi there,
Before we chose our solution, we worked with "angular-json-schema-form" and it doesn't fully support JSON schema as your project does (Thumbs up).
But... their approach is much easier to understand and to work with (and still we chose your work since the standard matters).

Hey @shikshik,
Thanks for supporting my project.
My project doesn't actually do anything other than wrap [jdorn/json-editor] (https://github.com/jdorn/json-editor) in an angular directive.
So he is the one who actually deserves the thumbs up.

:+1: