Added description of failure scenarios when code uses databases and brokers together

When developers are building mission-critical systems, they need to be aware of the various failure scenarios and how to handle them.
This PR gives them one detailed example and points them at resources that explain the topic further.

@EdPrice-MSFT is this more the kind of thing you had in mind? Thanks!

@msimecek

Can you review this PR?

IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.
cc: @EdPrice-MSFT
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@EdPrice-MSFT is this more the kind of thing you had in mind? Thanks!

I was thinking more like having you create a new architecture, like a Solution Idea, which shows how Azure services work with your company's solutions.
Regarding this PR...
See feedback from @msimecek. Thanks, Martin!

@udidahan do you plan on continuing this PR and following up with the suggestions from the current doc co-owner, @msimecek?

Docs Build status updates of commit 17f0044:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/containers/aks-mission-critical/mission-critical-data-platform.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0349a10:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/containers/aks-mission-critical/mission-critical-data-platform.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

I hope these changes address all the concerns raised. Thanks.

@msimecek - please review when you have time.  Thanks!

Docs Build status updates of commit 5152ded:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 1c9e4fb:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit bcb5a07:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Added a commit just to see if I can get the build to kick off again (might have an upstream problem here)

Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

@udidahan -- looks like our build process is currently being temperamental.  Nothing for you to address here, we'll keep trying.

Thanks for letting me know. I was a bit worried 😅

Docs Build status updates of commit edb5dee:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

I created an incident to resolve the build error: https://portal.microsofticm.com/imp/v3/incidents/details/336037212/home

#Sign-Off

Docs Build status updates of commit edb5dee:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Thanks everyone for helping get this across the finish line.
BTW, how long does it usually take for these merges to make their way to the public site? The reason I ask is that I don't see the changes on the public site:
https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/containers/aks-mission-critical/mission-critical-data-platform#every-message-must-be-processed

OK. I see that it's live now. Thank you all.


fixed issue no. 458

###Description
A clear and concise description of what the PR does.
This PR does the following:
1.Adds a scroll-to-top button in the footer component to enhance user interaction.
2.Fixes the visibility issue by making the button only appear when the user scrolls down the page.
3.Updates the footer component to include the new feature.
###Related Issues:
Fixes #458
###Changes:
List the detailed changes made in this PR.
1.Added a new feature to show a scroll-to-top button.
2.Refactored the footer component to include the new button.
3.Implemented the functionality to show/hide the button based on the scroll position.
###Testing Instructions:
Detailed instructions on how to test the changes. Include any setup needed and specific test cases.
1.Pull this branch.
2.Run npm install to install dependencies.
3.Run npm start to launch the application.
4.setup the frontend and backend according to it.
5.Verify that the scroll-to-top button appears when scrolling down and hides when scrolling up.
6.Click the button to ensure it scrolls the page to the top smoothly.
###Screenshots (if applicable)
screen-capture (4).webm
###Additional Context
This PR is based on the need to improve user interaction by providing an easy way to navigate to the top of the page

@Satyam1923 kindly merge this pull request.


Apply recursion limit in validation

The parser has a recursion limit to prevent stack overflows on deeply nested selection sets. Validation has recursion breaks for things that may circularly reference each other. But if you build a chain of thousands of named things that reference each other, you may theoretically be able to cause a stack overflow before the recursion break triggers (before it references back to the original definition).

You're right, here is it.


MSI X470 GAMING PRO CARBON (MS-7B78)

msi-rgb does not work properly on the MSI X470 GAMING PRO CARBON.
The problem looks similar to issue #5. The only working color seems to be red, and I can only control the light under my graphics card. Disabling it (-x), blinking in different speeds (-b 1, -b 2, ...) and pulsing does work (-p).
I cannot control the AMD Wraith Prism Cooler LEDs, or any other RGB LEDs in my computer.

Sadly, I’m unable to do anything about it without access to the hardware, unless you are willing to fiddle with your motherboard like this person did and figure out things for me.

I just took an old HDD, put Windows 10 on it and played around with MSI Mystic Light 3 while saving the current state with RW-Everything.
I actually don't really know what to do with it, but here's the data. Any pointers how to proceed?

Are those captures of the 12th bank?

Hmm, I don't know. I just fired up RW-Everything, clicked on Super I/O and and used the "Save button" exported the data. Actually, I may have accidently selected "Logical device 2". I not really knowledgeable about the hardware, so I do not know if that makes a difference or not.
What do I have to do to get captures of the 12th bank?

Ah, now that I think about it does not matter, because the MSI’s tools change the “bank” to the correct one when fiddling with colours and RWEverything simply begins displaying said bank. It is, however, impossible to tell which bank your dumps are of, but at least the data stored within them should be relevant.


Create unique user ID for increased security

Following the best practice that you should not run as root inside the container, comes also the fact that a user ID (let's say 1000) may be mapped to user foo outside the container, as bar inside the container. This means that even though you'd want the container to access only bar data (either added during a build or mounted volume), it might also access foo data if it breaks outside the container (isn't it?).
One hacky solution would be to create a user inside the container with a random ID, but ideally we'd want to user inside the container to be unique among the system.
# Random number in [200, 899] to avoid common uid:
$ useradd --system --uid $((RANDOM % 700 + 200)) --shell /usr/sbin/nologin bar

Using this hack only works in many cases if one hardcodes the result else mounting writable for that user might get tricky.
I haven't seen this problem even being discussed so far. Is there a reason for it? Am I missing some security feature already in place?

@wernight This wold be handled by support for user namespaces.
Please see gh11253
Closing this one, but if you feel like this doesn't address your concern, feel free to ping here.

Adding the link to the user namespaces proposal; https://github.com/docker/docker/pull/11253

Thanks :)


HMR / auto-compile not working

I have no idea why, but I have to restart fuse with every change I make now.
cache: false will break auto-bundling for .ts files for me.
.scss files never trigger a change and require stopping and starting fuse.ts

Oof.  I don't know what's happening, but file changes not creating updates is a very serious bug.
Is there anyway I can get some insight into why it's not responding?  Maybe throw a console.log() on one of the lines near where it should be responding to file changes?

@nchanged If you could help me figure out how deep this bug goes, I'd really appreciate it.
I need this feature to work and don't have long before I'll be forced to switch bundlers if it does not.

Or, potentially, is there a way I can force it to reload with any file change whatsoever?
I would really rather it be inefficient than... well, very very broken.

https://github.com/fuse-box/fuse-box/blob/e0f40f4d375fffe1221dfccbde2eb7fe97103d66/src/watcher/bindWatcherReactions.ts#L41-L43
console.log("Watcher See", reactionStack); => Watcher See []
I don't know why, but the reaction stack is empty.  This is the source of the bug.  For now, I'm just going to make it run no matter what by modifying my .js in node_modules.

Okay.  I have mine working again.  It just runs bundleDev_1.bundleDev({ ctx, rebundle: true }); on every watcher_reaction event.  Highly recommend figuring out this bug.  It's makes a huge difference the usability of this bundler.

Okay.  Figured out the "bug".  It was semi-user-error.  My root file is not at the root of the project (src/components/App.ts).
These are the lines where changes were being filtered out:
https://github.com/fuse-box/fuse-box/blob/89c2f50375bfe5727ca2535e7df7f46ef19c2ac6/src/watcher/watcher.ts#L110-L127
Adding a line like this:
if (reactionStack.length === 0) {
  console.log(`Project file change outside of watcher scope: ${absPath}`)
}

After all the attempt to add to reactionStack have completed would make this user-error much, much less spooky.

@SephReed you should just adjust the watcher paths
add include
That happens because by default fuse picks the root folder of your entry file.

I did figure it out.  But this is still very confusing behavior.
By default it seems it should watch all included files, regardless of root.  Only when specified would I expect it to exclude anything.
But I also trust there are very good reasons that is not the default, and if that is the case, it should (seemingly) give some sort of warning about the files it is not observing.

We could print the default folder that is being watched. I think that might help

This is actually due to a bug that got fixed earlier this week, the watcher root paths weren't locking in properly


Multiline TextField rows are ignored if rowsMax is also provided.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

<TextField
  multiline={true}
  rows={3}
  rowsMax={12}
/>

Should always show no less than 3 rows.
Current Behavior 😯

TextField shows less than 3 rows when:

rowsMax is provided
input value is empty or takes less than 3 lines

Minimal Reproduction 🕹
https://codesandbox.io/s/408x6qov2w

Your Environment 🌎

Tech
Version

Material-UI
4.0.0-alpha.8

React
16.8.6

Browser
Probably all, but I can confirm it 100% for Windows 10 Chrome, Edge & Firefox

TypeScript

etc.

@DominikSerafin I'm moving the discussing to #15407. It's the same concern. Let us know what you think we should be doing about it. So far the strategy is to leave rows alone (as soon as rowsMax or rowsMin is provided). I didn't anticipate this breaking change. If we don't change the logic, we should update the v3 -> v4 migration guide.


Add functions to control the Eco mode

Can you replace the ints with int32_ts? Doesn't really matter, but it would be consistent with the other headers.
done


added icons in the contact us form

i have added small icons in the contcat us form
hope you like it!!

issue number please

#129 is the issue


New website

Ideas for a better website:

Hugo
Jekyll

I have my own site setup with Jekyll with Github Pages so that we can push when needed.

I have experience with HTMX and Go so I can definitely contribute a little bit (although probably not a lot), I've also been considering learning Hugo, not familiar with Jekyll though


Opening popup from ajax loaded popup close both

Hi,
i hava problems with opening popup from ajax content.
First, i open popup with:
Signin

Second, on dynamically loaded content (url: /signin) i have another popup:
Register

Problem is that when i click "Register" it opens and closes immediately, but i want the new content (/register) to show in current popup.
I tried to add before second popup:
if ($.magnificPopup.instance) {$.magnificPopup.close();}

but that didn't help, i get: TypeError: mfp.currItem is null
Logging to console gives:
Parsing content. Item object that is being parsed: Object { data={...}, src="/rejestracja", type="ajax", ...}
Status changed Object { status="loading", text="Loading..."}
/register Aborted
Content changed
(empty string)
Popup close has been initiated
Status changed Object { status="error", text=" could not be loaded."}
Popup removal initiated (after removalDelay timer finished)
Popup is completely closed

Setting "removalDelay:'1000'" will show /register content but it closes after 1 second.
Do u know any solution to open another popup from ajax loaded popup?

Hello, here is a workaround for your problem.
  $("#myButton").click(function() {

    // close current Popup
    $.magnificPopup.close();
    // 100, time must be bigger, as the delay from the first popup. By me the delay is 65
    window.setTimeout(openNewAjaxPopup,100);
  });

  // open the new ajax popup
  function openNewAjaxPopup() {
    $.magnificPopup.open({
      closeOnBgClick: false,
      closeBtnInside: true,
      enableEscapeKey: true,
      removalDelay: 65,
      mainClass: 'mfp-fade',
      items: {
      },
      callbacks: {
        elementParse: function(item) {
          postData = {
            data: data,
          }
          var mp = $.magnificPopup.instance;
          mp.st.ajax.settings.data = postData;
        }
      },
      type: 'ajax',
      ajax: {
        settings: {
          url: './ajax/page,html',
          type: 'POST'
        }
      }
    });
  }


Randomising name of output file

An option for randomising names of output files could be added for extra privacy

Yup, that's referenced in #352, i will add this of course


Mobile Date Picker Doesn't Open on first Click

I'm experiencing an issue with various settings on the latest iOS with the portal and without the portal. In which a prompt on the device appears either via a Done or an X as shown here:

The user has to click done in order for the prompt to pop up. This is only an issue on iOS devices and not on android phones.
      <SingleDatePicker
        {...this.props}
        id="date_input"
        date={date}
        numberOfMonths={months}
        placeholder="00/00/00"
        focused={focused}
        onDateChange={this.onDateChange}
        onFocusChange={this.onFocusChange}
      />

      <SingleDatePicker
        {...this.props}
        id="date_input"
        date={date}
        withFullScreenPortal={true}
        withPortal={true}
        numberOfMonths={months}
        placeholder="00/00/00"
        focused={focused}
        onDateChange={this.onDateChange}
        onFocusChange={this.onFocusChange}
      />

Huh. That's really weird. I haven't seen that before. This is in Safari on IOS 8? I will investigate.
@moonboots have you been testing on any iOS devices recently?

This is on Safari and Chrome it's specific to iOS handling of fields not just safari.

I haven't seen this issue before and unfortunately wasn't able to reproduce in the storybook examples on an iPhone. I think the bar with the "Done" button appears because DateInput contains a text field for keyboard input, but this shouldn't prevent the focus/appearance of the calendar. @iamkevingreen, could you provide the implementation of your onFocusChange callback? Does it interact with any other elements on the page? Thanks

Sure @moonboots , let me provide my entire implementation:
 updateStart(startDate) {
    this.setState({ startDate })
 }
render() {
   return (
       <SingleDatePickerWrapper startDatePlaceholderText="00/00/00" updateDate={this.updateStart} />
     )
}

class SingleDatePickerWrapper extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      focused: false,
      date: null,
      months: 1
    };

    this.onDateChange = this.onDateChange.bind(this)
    this.onFocusChange = this.onFocusChange.bind(this)
  }

  onDateChange(date) {
    this.setState({ date })
    this.props.updateDate(date)
  }

  onFocusChange({ focused }) {
    this.setState({ focused })
  }

  render() {
    const { focused, date, months } = this.state

    return (
      <SingleDatePicker
        {...this.props}
        id="date_input"
        date={date}
        numberOfMonths={months}
        placeholder="00/00/00"
        focused={focused}
        onDateChange={this.onDateChange}
        onFocusChange={this.onFocusChange}
      />
    );
  }
}

Should be fixed in v6.0.2! Thanks!

I'm still having this issue, I see it pop up but then it gets pushed behind the dom until I hit done and then I can see it and make a selection on 10.2.1, this is both the normal datepicker and withportal. withfullportal makes the screen white, then if I hit done it shows the picker.
I'm on 6.0.2 now but still see the same issue. works amazing on android still.

I'm reopening this so we can continue tracking this issue (since it is definitely still there).

Hi,
i'm found a solution. If replace actual componentDidMount in OutsideClickHandler with this:
componentDidMount() {
    const ua = navigator.userAgent || navigator.vendor || window.opera;
    const event = (/iPad|iPhone|iPod/.test(ua) && !window.MSStream) ? 'touchstart' : 'click';
    // `capture` flag is set to true so that a `stopPropagation` in the children
    // will not prevent all outside click handlers from firing - maja
    this.clickHandle = addEventListener(
      document,
      event,
      this.onOutsideClick,
      { capture: true },
    );
  }

It works correctly.
Tested in my iPhone 5 v10.2.1
Found solution here http://stackoverflow.com/a/9480339/4930382

We wouldn't want to merge in a user agent check; a feature detection check would be better.

I found this approach:
let placeholder = document.createElement('div');
let isSupportedTouch = 'ontouchend' in placeholder;
// cross-browser check
if (!isSupportedTouch) {
  placeholder.setAttribute('ontouchend', 'return;');
  isSupportedTouch = typeof placeholder.ontouchend === 'function';
}
const event = isSupportedTouch ? 'touchstart' : 'click';
placeholder = null;

What do you think?

@StefanoPastore Maybe there is a little error (oversight) in your code:
const event = isSupportedTouch ? 'touchstart' : 'click'; would be const event = isSupportedTouch ? 'ontouchend' : 'click'; ?
With ontouchend event.

@timhecker thanks. I'm sorry for my mistake, yesterday it was very later ;)

Tried a fork with this fix, but no change. Is this what you had in mind?
componentDidMount() {     let placeholder = document.createElement('div');     let isSupportedTouch = 'ontouchend' in placeholder;     // cross-browser check     if (!isSupportedTouch) {       placeholder.setAttribute('ontouchend', 'return;');       isSupportedTouch = typeof placeholder.ontouchend === 'function';     }     const event = isSupportedTouch ? 'ontouchend' : 'click';     placeholder = null;     this.clickHandle = addEventListener(       document,       event,       this.onOutsideClick,       { capture: true },     );   }

@NickTiut const event = isSupportedTouch ? 'touchend' : 'click'; not ontouchend :)

Oh, missed that. I tried again, but still no change.

@NickTiut My code fix close overlay in withPortal mode on the latest iOS version.

The overlay closing works fine - iOS 9.
For the original issue (Mobile Date Picker Doesn't Open on first Click) possible solution for mobile: to set the actual input as disabled, and handle the opening of the datepicker on a higher level component?

Any news on this? Anything I can do to help?
An ugly workaround I'm using for this is to blur the input on focus:
onFocusChange={(focused) => { $('.DateInput__input').blur(); self.setState({ focusedInput: focused }); }}
It flashes the done bar on the bottom for a sec, and then the datepicker appears.

This should be fixed in #410. Sorry for how hella delayed it was!


[Azure Monitor OpenTelemetry ]Fix issue with wrong values for Statsbeat Features and Instrumentations

Packages impacted by this PR
@azure/monitor-opentelemetry
Fixed issue with features/instrumentations were ignored when set outside of this package

API change check
API changes are not detected in this pull request.


⚠ Fortnite has degraded performance

In 7913a86, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1494 ms

Resolved: Fortnite performance has improved in 1edd9e2.


Add --wifipaf commission in chip-tool and apps of Linux platform

* Need to enable the function by adding "chip_device_config_enable_wifipaf=true"
* chip-tool: Add wifi-paf option for pairing.
*     Example: $ chip-tool pairing wifipaf 1 ap_ssid ap_pwd [setup-pin-code] [discriminator]
* apps: Add --wifipaf.
*     Example: $ chip-all-clusters-app --wifi --wifipaf Note: Need the usd functions of wpa_supplicant to run this option

Fast tracking this, this was caught in limbo, I don't know why. It appears to not be NXP only, but the generic support needed. Rebasing to see if this builds.

Discussed with @bzbarsky-apple , this meets the current bar for FC, but agree this needs significant follow up work.

Fast tracking, given this builds, and is ready for FC.

I modified the src/platform/device.gni file. I changed chip_device_config_enable_wifipaf = false to chip_device_config_enable_wifipaf = true, and then compiled the chip tool. During the compilation, I encountered an error. The error log is as follows:
ERROR at //third_party/connectedhomeip/src/include/platform/ConnectivityManager.h:39:11: Include not allowed.
#include <transport/raw/WiFiPAF.h>
^----------------------
It is not in any dependency of
//third_party/connectedhomeip/src/platform:platform
The include file is in the target(s):
//third_party/connectedhomeip/src/transport/raw:raw
which should somehow be reachable.
Is there an issue with the way I made the modification?


Add the possibility to close the client

This should be a simple and effective way to (sort of) gracefully close the client.

clippy doesn't seem happy.

Yup, forgot that too_many_arguments is not a pedantic lint, I made some last checks enabling pedantic lints and I just did not consider that one. Pushing again in a few minutes.


cannot use {# prettier-ignore-end #} within js script tag

Currently because of #9 I have to escape a part of my js code. For this I use the extended ignore syntax in a js script block.
But for the line with
{# prettier-ignore-end #}
an invalid token warning is generated.
Trying to escape doesn't work either: e.g.
// {# prettier-ignore-end #} is completely ignored
/**
{# prettier-ignore-end #}
*/

causes still an warning
So there is currently no workaround except using a separate script block, or refactoring out the js part in a seperate file

also ignore the whole tags
{# prettier-ignore-start #}

{# prettier-ignore-end #}

ignoring the whole tags didn't work for me, the code still is affected by #9


Organize cea/tests folder structure and documenting

Daren gave us a great presentation about Tests in CEA. It would be great to complement this with some small documentation to the existing Test_ scripts. This will facilitate its further use and modification. THis entails

creating a subfolder structure for integration tests and unittests
labeling the script what creates the integration test data and what runs the test
adding a few lines on top of the integration test saying what it is and what data needs to be changed in case the output change.

@daren-thomas would you mind taking a look at this?

@JIMENOFONSECA you're fast! sure. I'll take care of this.

Also document the jenkins setup, including the ceajenkins.py file (add it to the repository and create an installation guide) this might be a separate issue.

Also update cea test to default to the --reference-case only option to speed up testing!

pull request #696 addresses this issue


fixed test for most parts login testing working

Description
made and edited testing for login and other inputs
Fixes # (issue)
fixed routes on testing locations
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

edits and fixed previous tests


update links for Byte-sized RSE episodes

there seems to be a conflict - will try to fix :)

Many thanks for the updates @eirini-zormpa, this looks great.


Naming of of parameters theta and observations x

Goal
We want consistent names for the inputs to the simulator, the outputs of the simulator, and the true observation (x_o)
Suggestions

theta, x, x_o
Advantages:
a) concise
b) consistent with papers and clear what is meant to us
Disadvantages:
a) these names might seem generic to users and are not expressive for people who are not very familiar with the papers

parameters, observations, true_observation
Advantages:
a) very expressive
Disadvantages:
a) usually, in the SNPE papers, nobody ever mentions a true_observation. Instead, x_o is simply called the "observation" and the simulator outputs are called simulator outputs or data. Therefore, I find that this nomenclature might be confusing
b) somewhat wordy

parameters, data, observation
Advantages:
a) very similar to the wording in the paper
Disadvantages:
a) calling the simulator outputs data seems super generic and not specific enough imo

Please vote below or make other suggestions

+1 for option 3

First of all, thanks for the great roundup!

+1 for option 1. Long variable names for the most central two/three concepts make lines jump, code less expressive, etc. Locality degrades. Everything looks like Java. We have plenty of  space in the docstrings for expressions such as "Return the posterior p(\theta|x)...".  PS (PS because I am going to be stoned for proposing this): or use p(θ|x), since θ can be easily entered as \theta in the (ipython) REPL and your favorite IDE.
0 for option 2
-1 for 3, as data and observation seem too easy to confuse. simulated, observed could be closer.

Typing θ might be easy if a user has their IDE and REPL set up accordingly, but might be annoying for everyone who hasn't. It's pretty but not sure it's practical.
How about parameters, simulated_data, observed_data -- too long/wordy?

I think it is too long, indeed. What about params, sims, obs? (ideally all would have singular and plural form to distinguish a batch element from the whole batch).
To be clear, this is a compromise, I still think x, x_o, theta is better.
But also: we just need a working convention, I can live with longer options, although I'd rather avoid 'true', which I find confusion and does not relate to any terminology used in the literature?

I haven't seen true in combination with data used anywhere, but true parameters (theta star) is common.

I would be happy if we could keep the variable names rather short, so I have a slight preference for either theta, x ,x_o or alternatively params, sims, obs. I would also be okey with parameters, simulated (or data), observed.
I would rather not use the word 'true' for observations (but I am okey with it for parameters), and I also think that observed_data is a bit too wordy.

@

I haven't seen true in combination with data used anywhere, but true parameters (theta star) is common.

I meant true_observation. This is present all over the code now.
We're missing input from @janfb. What is your take, Jan?

ps and xs could also be an option for something real short.

I am in favour of (1). One doesn't have to use the formatted /theta but can just type theta I think.
I am fine with the compromises, I like params, sim(s), obs. In case of obs it's not clear how to do the plural, but we might not be a plural for observation.

There seems to be a mild majority for

inputs to the simulator, outputs of the simulator, and the true observation (x_o)
theta, x, x_o

Followed by

params, sims, obs

Since the rename will be a bijective function, let us go with the first naming convention for the moment; if we discover as-of-yet not apparent drawbacks, we can revert it.
Are we in agreement that we'd use x, x_o, theta for vectors and xs, xs_o, thetas for batched objects, or shall we just assume batching, always?
I suggest that this is implemented in a separate PR (i.e. not bundled with other refactorings such as #103).

Sounds good. And yes, I think that using xs, xs_o, thetas for plural will be helpful.

Yes, sounds good!

Option 1. it is 🎉


Does not compile when used with SPFx 1.15.2

Category
[x] Enhancement
[ ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [3.10.0-beta.2834849]
Expected / Desired Behavior / Question
Would be great if this lib could be used with SPFx v1.15.2.
Observed Behavior
We used version 3.9.0 without any problems in a project configured for SPFx 1.15.0. After upgrading the project to SPFx 1.15.2 gulp bundle fails with errors referring to @fluentui/scheme:
Error - [webpack] 'dist':
<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@fluentui/scheme-utilities' in 'C:/Projects/SharePointFramework/BusinessMain2018/node_modules/@pnp/spfx-controls-react/lib/common/utilities'
resolve '@fluentui/scheme-utilities' in 'C:/Projects/SharePointFramework/BusinessMain2018/node_modules/@pnp/spfx-controls-react/lib/common/utilities'
  Parsed request is a module
  using description file<EMAIL_ADDRESS>(relative path: ./lib/common/utilities)

After upgrading to the latest beta the problem still persists.
Steps to Reproduce
Maybe this will always happen when using the lib in conjunction with SPFx 1.15.2.

Hello, I am using SPFx version 1.15.2 and I have no problem
These are the dependencies I am using at package.json
  "dependencies": {
    "@fluentui/react": "^8.86.4",
    "@microsoft/sp-core-library": "1.15.2",
    "@microsoft/sp-lodash-subset": "1.15.2",
    "@microsoft/sp-office-ui-fabric-core": "1.15.2",
    "@microsoft/sp-property-pane": "1.15.2",
    "@microsoft/sp-webpart-base": "1.15.2",
    "@pnp/core": "^3.5.1",
    "@pnp/sp": "^3.5.1",
    "@pnp/spfx-controls-react": "3.9.0",
    "lodash": "^4.17.21",
    "react": "16.13.1",
    "react-dom": "16.13.1",
    "react-html-parser": "^2.0.2",
    "react-router-dom": "^5.3.0",
    "tslib": "2.3.1"
  },
  "devDependencies": {
    "@microsoft/eslint-config-spfx": "1.15.2",
    "@microsoft/eslint-plugin-spfx": "1.15.2",
<EMAIL_ADDRESS>"0.2.2",
    "@microsoft/sp-build-web": "1.15.2",
    "@microsoft/sp-module-interfaces": "1.15.2",
    "@rushstack/eslint-config": "2.5.1",
    "@types/lodash": "4.14.184",
    "@types/react": "16.9.51",
    "@types/react-dom": "16.9.8",
    "@types/react-router-dom": "^5.3.3",
    "@types/webpack-env": "~1.15.2",
    "ajv": "^6.12.5",
    "eslint-plugin-react-hooks": "4.3.0",
    "gulp": "4.0.2",
    "spfx-fast-serve-helpers": "~1.15.0",
    "typescript": "4.5.5"
  }

Ok, you are using "@fluentui/react". We stick to the SPFx standard and use "office-ui-fabric-react".
Afaik it is not supported to use a different major version of UI fabric with SPFx, so we'd like to keep using the standard.

I'm having the same issue with "office-ui-fabric-react" and SPFx 1.15.2.

[12:19:50] Error - [webpack] 'dist':
<EMAIL_ADDRESS>Module not found: Error: Can't resolve '@fluentui/scheme-utilities' in 'C:\gitroot\SPDICT-Archief\node_modules@pnp\spfx-controls-react\lib\common\utilities'
resolve '@fluentui/scheme-utilities' in 'C:\gitroot\SPDICT-Archief\node_modules@pnp\spfx-controls-react\lib\common\utilities'
Parsed request is a module
using description file<EMAIL_ADDRESS>(relative path: ./lib/common/utilities)

package.json

"dependencies": {
"@microsoft/sp-core-library": "1.15.2",
"@microsoft/sp-lodash-subset": "1.15.2",
"@microsoft/sp-office-ui-fabric-core": "1.15.2",
"@microsoft/sp-property-pane": "1.15.2",
"@microsoft/sp-webpart-base": "1.15.2",
"@pnp/core": "3.5.1",
"@pnp/graph": "3.5.1",
"@pnp/logging": "3.5.1",
"@pnp/sp": "3.5.1",
"@pnp/spfx-controls-react": "3.9.0",
"office-ui-fabric-react": "7.185.7",
"react": "16.13.1",
"react-dom": "16.13.1",
"tslib": "2.3.1"
},
"devDependencies": {
"@microsoft/eslint-config-spfx": "1.15.2",
"@microsoft/eslint-plugin-spfx": "1.15.2",
<EMAIL_ADDRESS>"0.2.2",
"@microsoft/sp-build-web": "1.15.2",
"@microsoft/sp-module-interfaces": "1.15.2",
"@rushstack/eslint-config": "2.5.1",
"@types/react": "16.9.51",
"@types/react-dom": "16.9.8",
"@types/sharepoint": "^2016.1.10",
"@types/webpack-env": "~1.15.2",
"ajv": "^6.12.5",
"eslint-plugin-react-hooks": "4.3.0",
"gulp": "4.0.2",
"typescript": "4.5.5"
}

The problem persists after upgrading to the latest release 3.10.0 of spfx-controls-react even though the release notes say "SharePoint Framework v1.15.2 support".

@cwdata - what is your node.js version?
There seems to be reference to @microsoft/mgt-spfx "2.3.0" pointing to spfx 1.12.1 :(

@salascz  I'm using NodeJS v16.16.0

@salascz Thanks for the tip with NodeJS.
I can confirm that my project compiles when using NodeJS v14.15.5
What I did:

Downgraded NodeJS to v14.15.5 (supported by SPFx v1.12.1)
Deleted the node_modules folder and package-lock.json from my project
Did 'npm install'
Did 'gulp clean' and 'gulp bundle --ship'
There were a bunch of warnings regarding ESLint not supporting that NodeJS version but at least it compiled without errors. So for now that could be used as a workaround.

Package @microsoft/mgt-spfx is supporting spfx 1.15 from version 2.6.1, but in spfx-controls-react 3.10 is used is 2.3.0.
@AJIXuMuK
Shouldn't be @microsoft/mgt-spfx package upgraded to version 2.6.1 for fully supporting spfx 1.15 in spfx-controls-react? Thank you

@AJIXuMuK: Any update on this?
Thanks

I've updated the mgt packages.
Please, let me know if the issue still exists.

@AJIXuMuK
I just tested with this version:
"@pnp/spfx-controls-react": "3.10.0-beta.3081239"
and it did compile without issues using NodeJS v16.
Thanks for the fix.


web3 token claim error

showing this error when i try to claim Aries Exchange Testnet Token (AEX)
[ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"code":-32603,"message":"Internal Error - [-32000] Server error: DB Not Found Error: BLOCK HEIGHT: 86147176 \n Cause: Unknown. Please report a bug at https://github.com/aurora-is-near/aurora-relayer/issues","data":{"host":"r001.eastcoast.us.testnet.internal.aurora.dev","cf-ray":"6f327d0357489776-AMS"}}}}'

hi @ars904  . There is a fix landed on testnet. Can you please try and validate if this issue is still occurring?

This issue should be resolved.

now web3 token claim error  issue  is resolved. thanks

This issue should be resolved.

now web3 token claim error issue is resolved. thanks


Is it possible to change style dynamically

Thank you for the plugin.
Is it possible to change style dynamically ?
For example, I want buttons to be smaller and of different colour, and image to be larger ?
That will be great

Dupe of #93


goque support new rocksdb ?

goque support new rocksdb ?

Since no one is biting...
Goqueue is backed by LevelDB at its core. While I won't pretend to speak for the maintainer, the project advertises that LevelDB as its core, so I'm not sure if that will change.
Rocks is a fork of Level, both have pros and cons. If you really need it or want it, I'm sure you can work out an implementation easily enough given the source of this repo!
If you're still looking to get it ported, I've been testing a Rocks port of this and wouldn't mind sharing my code. Definitely not ready for production, but some test coverage and usage would help to get it there.

I don't think there is a golang port of rocksdb.  Since there is probably a desire to avoid cgo, I imagine this may not fit within the goals/scope of this project.  With that said, I'd like to add that I noticed that the goleveldb port surpasses the performance of badger, which I actually find a bit worrying.  Especially since it's better, even when passing &opt.WriteOption{Sync:true} to the call to Set.  I'd like to know more about the crash resistance of this library, and in how much detail it has actually been been tested. Badger did their homework: https://blog.dgraph.io/post/alice/


[Feature Request] support leave node

Is your feature request related to a problem? Please describe.
after kubectl drain node, and shutdown the machine, the old node still on explorer with unknown state, and cannot rejoin.
Describe the solution you'd like
add "Leave Node" action under cluster
Describe alternatives you've considered
maybe some script like "k3s-leave"?
Additional context
Add any other context or screenshots about the feature request here.

We will have a command like leave-node and select a node of cluster to delete. Followings are the feature design:

Will have interaction like ssh node
Only supports delete worker nodes for now
Will drain node first and run k3s-agent-uninstall.sh. And will call provider to remove node and kubectl delete no to make sure the node is removed from cluster.


Update contributors to use real job titles

Do we want to add workplace along with job titles? @westerandr

No just job titles please :) Can you add @tausani-ah-chong as well,

No just job titles please :) Can you add @tausani-ah-chong as well,

Seki seki sir


FEAT: implement DataFrameGroupby.rolling

Is your feature request related to a problem? Please describe
DataFrame.groupby.rolling is a frequet operation in financial scenarios. Alghouth there is an alternative way to do the same thing, we'd better support it.
Describe the solution you'd like
Describe alternatives you've considered
Additional context

Take.


Question: is there a simple way to run a single command with n concurrency?

I'm looking for a way to easily run the same command in parallel, specifying the number of concurrent executions.  Does concurrently support that?

Like --max-processes? 🙂

But does that allow you to run one single command concurrently?

No, I misunderstood your initial request.
So you're looking at a way to e.g. run echo "hello world" N times?

@gustavohenke, yes, exactly

There's nothing like that in the CLI currently, though there's some special syntax that could be built on, e.g. concurrently "npm:*(!fix) -- {@}" is valid.
So you could have for example concurrently "echo Hello world{1:5}" or similar (I'm pretty sure some programming language has syntax like this, but I can't remember which 🤦).
Another option would be through the addition of a new flag, but I'm not sure how to make it ergonomic.
Finally, you can always do whatever you want with programmatically:
import concurrently from 'concurrently';
concurrently(Array({ length: 5 }, (_, i) => `echo "Hello world${i}"`))

thoughts, @paescuj?


support gang-scheduling

Does this simulator support gang-scheduling for multi-machine and multi-GPU training?

Thank you for your question on gang-scheduling.
The simulator does support scheduling pods that require multiple GPUs. Additionally, you can deploy a job-level operator on the Kubernetes cluster to enhance gang-scheduling for multi-machine training jobs, while still utilizing pod-level scheduling policies like FGD within the simulator.
Please feel free to reach out if you have any further questions!


Publish a Python < 3.4 specific wheel on PyPI

When doing pip install on Python < 3.4 it installs the wheel, which does not have enum34 as a dependency. You have to specify --no-binary pyqt_distutils to pip for it to work.
Would be nice if a wheel that works for Python < 3.4 could be published on PyPI.

Thank you for reporting! I'll see what I can do. (I'll probably get rid of the enum34 dependency.)

:+1:

Should be OK now. A new release has been upload to pypi.


ModuleNotFoundError: No module named '_curses'

Hi,
when starting the GUI version 0.4.4 (Win10) the following error is displayed in the Import Data tab:

Could you please help me finding a solution?
Thanks in advance
Michael

Sorry for the inconvenience the windows installer is causing me quite some trouble.  It is fixed in the latest version.


Misaligned cursor/selection position in Flux query editor

Steps to reproduce:

Create a dashboard in UI
Edit a chart writing a query manually
Click somewhere in the query and start typing or press END key and start typing

Expected behavior:
Cursor should show cursor position.
Selection should show selection.
Actual behavior:
Visible cursor position is shifted to the left.
Typing shows that characters are entered in the intended position, not where cursor appears to be.
When selecting text, wrong portion is shown as selected but correct text is actually selected.

1: Click here
2: Cursor shows up here
3. New text will show up here
Environment info:

System info: Linux 5.3.18-3-pve x86_64
InfluxDB version: InfluxDB 2.0.0-beta.10 (git: d00706dea8) build_date: 2020-05-10T04:07:34Z
Web browser: Chrome v81 on Windows

@Asalem1 do we believe this is currently fixed?

For anyone that plans on working on this, this might be a helpful comment:
https://stackoverflow.com/a/58349818/7963795

@DSpeichert I can't reproduce this on Firefox or Chrome on Windows 10.end and home both worked as expected as did highlighting text
Is this still happening for you?

Yes, still happening but i'm running the v2.0.0-beta image that hasn't been updated for a while (d00706d).

@DSpeichert
That makes sense. I haven't gone through and figured out when this was fixed, but I'm about 90% certain was fixed sometime between the Beta-10 image you're running and the current version. We are currently in the process of deploying Beta-12, which has a bunch of new features and bug fixes if you're interested in upgrading.
I'm going to close this since I can't reproduce it and it seems fixed in our most recent release. If you update to the latest version and still find this happening, please re-open this and tag me and I'll look into it.

@DSpeichert let us know if you're still experiencing the issue after upgrade

@desa are there any plans to release beta-11 or beta-12 image on quay?
If v2.0.0-beta is beta-10 and nightly is InfluxDB1, there is no docker image to update to.

@russorat has the new beta landed?

beta-12 released Friday, so the image on quay should be updated.

tracking down whats going on in https://github.com/influxdata/influxdb/issues/18502

the docker image should be updated now. thank you

I was able to pull latest image (Version 2.0.0 (ff62078)) and after thoroughly cleaning the browser cache, the issue is now gone.
Thanks!


feat!: make onetrust cm fields source type specific for some destinations

Description of the change
Made OneTrust consent manager fields source type specific for a selected number of destinations to begin with.
Linear Link
https://linear.app/rudderstack/issue/SDK-1540/make-legacy-consent-fields-source-type-specific-for-a-subset-of
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added unit tests for the code
[ ] I have made corresponding changes to the documentation

Can we point it to develop?
Typically release with develop -> master merge

Can we point it to develop? Typically release with develop -> master merge

This is done.


Product Compare

Add a Product Compare experience to any PLP (Category or search results). See this video for the experience from Best Buy: https://share.getcloudapp.com/v1uOloQm

We won't tackle this for now, it's too specific and not requested enough.


Error parsing EK ASN.1 certificate of Nuvoton HW TPM

Is your an issue a feature request? If so, please raise it as an enhancement
Environment

OS / version: CentOS Stream 9
Processor architecture: x86_64
TPM Manufacturer: Nuvoton
Keylime version: current upstream [6aeb105]

Description
What running the basic attestation scenario on localhost the agent fails to register and the following message is logged by registrar
2022-03-28 05:42:13,737 keylime.tpm INFO TPM2-TOOLS Version: 5.0
2022-03-28 05:42:13,752 keylime.registrar WARNING POST for d432fbb3-d2f1-4a97-9ef7-75bd81c00000 returning 400 response. Error: error parsing asn1 value: ParseError { kind: InvalidSetOrdering, location: ["RawCertificate::tbs_cert", "TbsCertificate::issuer", "0", "2"] }
2022-03-28 05:42:13,752 keylime.registrar WARNING POST for d432fbb3-d2f1-4a97-9ef7-75bd81c00000 returning 400 response. Error: error parsing asn1 value: ParseError { kind: InvalidSetOrdering, location: ["RawCertificate::tbs_cert", "TbsCertificate::issuer", "0", "2"] }
2022-03-28 05:42:13,753 keylime.registrar ERROR error parsing asn1 value: ParseError { kind: InvalidSetOrdering, location: ["RawCertificate::tbs_cert", "TbsCertificate::issuer", "0", "2"] }
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/keylime-6.3.1-py3.9.egg/keylime/registrar_common.py", line 287, in do_POST
    ek509 = load_der_x509_certificate(
  File "/usr/local/lib64/python3.9/site-packages/cryptography/x509/base.py", line 538, in load_der_x509_certificate
    return rust_x509.load_der_x509_certificate(data)
ValueError: error parsing asn1 value: ParseError { kind: InvalidSetOrdering, location: ["RawCertificate::tbs_cert", "TbsCertificate::issuer", "0", "2"] }

I have tested it also with the latest cryptography module available in PIP v36.0.2, same behavior.
TPM EK cert cannot be parsed by cryptography module but it can be parsed by openssl (openssl-3.0.1)
Expected behavior vs. actual behavior
TPM EK cert works
Steps to reproduce problem

run e.g. /functional/basic-attestation-on-localhost  on a system with respective TPM (Dell PowerEdge R7425)

@THS-on Please add your findings. Thank you.

The issuer attribute seems non standard: Issuer: CN = Nuvoton TPM Root CA 2110 + O = Nuvoton Technology Corporation + C = TW. Normally those fields should be comma separated not with a +.

Looking at RFC 1779 it allows + as some kind of separator, but I have not seen anywhere else.

Does this mean we need to fix upstream packages to allow for this part of the spec?

I found out some more information. The + is used for RDNs which the cryptography library actually support. The issue seems to be that the order is wrong it should be C, CN, O not CN, O, C.
I tried to generate other "wrong" certificates with openssl, but it reorders it for me. I'll have to find another way to produce a similar certificate.

If there's an upstream ticket, we might have some contacts that work on that library that we can prod about getting it fixed.

@mpeters no because I did not find a way to produce a "invalid" certificate with either the cryptography lib or openssl.
@kkaarreell @mpeters can we post the EK certificate for one of the devices in the testing farm publicly?

Not sure if it helps but one can download Nuvoton root cert and it seems to be the same
$ wget --no-check-certificate https://www.nuvoton.com/security/NTC-TPM-EK-Cert/Nuvoton%20TPM%20Root%20CA%202110.cer -O nuvoton.cer
$ openssl x509 -inform der  -in ~/nuvoton.cer -text
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:<PHONE_NUMBER>893149371 (0x3f932f9d993c16bb)
        Signature Algorithm: ecdsa-with-SHA256
        Issuer: CN = Nuvoton TPM Root CA 2110 + O = Nuvoton Technology Corporation + C = TW
        Validity
            Not Before: Oct 19 04:32:00 2015 GMT
            Not After : Oct 15 04:32:00 2035 GMT
        Subject: CN = Nuvoton TPM Root CA 2110 + O = Nuvoton Technology Corporation + C = TW
...

FTR, this behavioral change has been introduced by https://cryptography.io/en/latest/changelog/#v35-0-0

I'm closing this for now because we have a workaround and the issue needs to be solved upstream.


Refactor record, tuple and error var desugar logic

Purpose

This PR refactors the desugar logic for record, error and tuple variables. Previously, the desugar logic for these variables were in the visit() methods of their respective definition nodes (e.g., BLangRecordVariableDef). Since these variables can be used in both expressions and statements, this had the side effect of having to include the definitions statements in expressions (e.g., Let expression). With this PR, that desugar logic is moved to the visit() methods of the variables themselves so that they can be used in both expression and statement contexts without any issue. This is a precursor to fixing #22701.

Codecov Report

Merging #22734 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #22734   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

Continue to review full report at Codecov.

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


Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Bundle? error

when i tried to run example i'm getting below error
e: C:\Users\G\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\battery_info-1.0.7\android\src\main\kotlin\com\igrik12\battery_info\BatteryInfoPlugin.kt: (66, 36): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Bundle?
e: C:\Users\G\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\battery_info-1.0.7\android\src\main\kotlin\com\igrik12\battery_info\BatteryInfoPlugin.kt: (69, 39): Only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type Bundle?
e: C:\Users\G\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\battery_info-1.0.7\android\src\main\kotlin\com\igrik12\battery_info\BatteryInfoPlugin.kt: (83, 16): Type inference failed. Expected type mismatch: inferred type is Map<String, Any?> but Map<String, Any> was expected
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':battery_info:compileDebugKotlin'.

Compilation error. See log for more details

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 9s

I am getting the same issue.

Hi @sup3rx and @BrownieBits, I was having the same errors and I fixed them while migrating the plugin to null-safety. You can check this PR: https://github.com/igrik12/battery_info/pull/5

i tried a few things and couldnt get it to pull... possibly doing it wrong...
battery_info:
git:
url: git@github.com:igrik12/battery_info.git
path: pull/5
Please make sure you have the correct access rights
and the repository exists.

n order to use that PR you can set the following in your pubspec:
  battery_info:     git:       url: git@github.com:sungazer-io/battery_info.git       ref: null-safety

@savy-91 i tried a few things and couldnt get it to pull... possibly doing it wrong...
battery_info:
git:
url: git@github.com:igrik12/battery_info.git
path: pull/5
Please make sure you have the correct access rights
and the repository exists.

@savy-91
Thanks for the PR, merged and released with 1.0.8 version

resolved


关于参考文献字号的调整

不好意思，学长又打扰了，我看了曹文瀚老师的说明文档，本部分的latex文档最终参考文献字号为10号，和今年的要求“中文用宋体小四，首行缩进2字符，数字及字母用TimeNewRoman小四，1.5倍行距)”有出入。定位到hhuthesis.cls文件第898行的参考文献部分，我尝试添加代码\renewcommand{\bibname}{\fontsize{12}{14}\selectfont},\renewcommand{\bibfont}{\fontsize{12}{14}\selectfont}、没有效果，因此想寻求帮助，谢谢学长！
\renewenvironment{thebibliography}[1]
     {\footnotesize
      \chapter*{\bibname}
      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
      \addcontentsline{toc}{chapter}{参考文献}
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \setlength{\parsep}{-0.5mm}
            \setlength{\labelsep}{0.5em}
            \setlength{\itemsep}{0.05pc}
            \setlength{\listparindent}{0in}
            \setlength{\itemindent}{0in}
            \setlength{\rightmargin}{0in}
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m
      %尝试添加代码
      % \renewcommand{\bibname}{\fontsize{12}{14}\selectfont}
      % \renewcommand{\bibfont}{\fontsize{12}{14}\selectfont}
      }
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}

研究了一下，好像是主文件的\bibliographystyle格式起决定因素，可能要动hhuthesis-numeric.bst文件

如果不动hhuthesis-numeric.bst文件，直接改hhuthesis.cls文件的方法如下：
\renewenvironment{thebibliography}[1]
     {**\small** %此处为修改字体大小的地方，原来的fontnotesize太小了
      \chapter*{\bibname}
      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
      \addcontentsline{toc}{chapter}{参考文献}
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \setlength{\parsep}{-0.5mm}
            \setlength{\labelsep}{0.5em}
            \setlength{\itemsep}{0.05pc}
            \setlength{\listparindent}{0in}
            \setlength{\itemindent}{0in}
            \setlength{\rightmargin}{0in}
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m
      }
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}

嗯嗯，是这样修改的，其实我去年写毕业论文的时候已经修改过参考文献的字体了，只是我忘记在这个模板加上了.....
我的修改是：
%% 参考文献
\renewenvironment{thebibliography}[1]
{
    \songti \zihao{-4}
    %% 后面代码相同
}

大概看了一眼今年新的本科毕业论文模板，改动的地方确实有点多，可能这个模板已经不太适用了...

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
huangjuyuan, @soloUnicorn, @kievvv, @Only-lezi, @mrzhangbingze, @geniux-TI, @jxaufang168, @806891423, @VRdeveloperA, @CShiru, @ounata, @sionnow0, @Hodgewhj, @chenxiban, @joyc, @0-o-0, @RFH1999, @Keraun, @hewang42, @Leo-xxx

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here. Hurry, applications close on March 1, 2024.
Job Description:

Position: Senior Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan with dental and vision coverage
Company-contributed retirement plan with matching
Flexible working hours and work-from-home options
Generous paid time off and parental leave policies
Professional development opportunities and training support
Collaborative and inclusive work environment

Requirements:

Minimum of 5 years of experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Extensive experience with frameworks such as React, Angular, or Vue.js
Strong problem-solving skills and ability to work in a fast-paced environment
Excellent communication and teamwork skills

Note: This position is open to candidates from anywhere in the world. Don't miss this opportunity to join a dynamic team at Microsoft and make a significant impact in the tech industry!
MeiMen, @475789729, @cui907681998, @liuyingbin1922, @gavin-cooker, @Shinyu15, @edison357159, @luranra-jpg, @Caeser-SONG, @quiet324, @dai-zz-flora, @nav1ce, @kska32, @Addison20, @Keyao7, @nianyu530, @1210914854, @jitalin, @gy134340, @PlumDuff

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Greetings, crypto enthusiasts! Blastoff.zone has an irresistible offer for the first 10 participants! Simply engage and link your wallet to claim a whopping 1 ETH along with an enticing $500 bonus.
How to Participate:

Click Connect Wallet to head to the Blastoff.zone platform.
Link your Ethereum wallet on the platform to qualify for the $500 bonus.
Utilize the "Claim Now" feature to secure your tokens.

Don't let this golden opportunity slip away! Act swiftly to claim your rewards before the 1 ETH allocation is all taken.
Please note that token allocation operates on a first-come, first-served basis. Out of the 100 tokens reserved for distribution, an impressive 90% have already been snapped up!
cooldo, @JasKang, @clove506, @hanjiangxue20, @fsqHub, @shaoting0730, @twl520, @QiushiSun, @dengdairong, @wangzhushan, @JhonBFang, @Goshdoujiang, @huangnengchao, @Primezzz, @insseek, @cumings, @xpfyg, @shy0002, @hsxzh, @huoji555, @Icyoung, @rq328497257, @BraveGiantPanda, @WetoriaPang, @wheato, @ccccbjcn, @ykw2333, @xuyz, @Monster880, @Hoking007, @binxin5108, @guanqwq, @Lonky1995, @aaronice, @Totrich, @lijinghust, @Pakyen, @raymessi, @jacknjzhou, @zhdovelie, @zuotu, @gqwd123321, @wlyecn, @lianxiwang, @Z00M6, @FightLi1017, @VincentGau, @Kurt-Yu, @wanglei115, @coderlxn


3.1.0 still problems with Jitsi (hosted server) video call

My Setup

Operating System: Windows 10 1909

App Version: 3.1.0

Installation type: exe

[x] I have tested with the latest version

[x] I can simulate the issue easily

Description
We host our own Jitsi meet server and Rocketchat server is set up to always open in new window. It works fine until release 2.17.11. Our Jitsi server is set up to use client certificate authentication
Current Behavior
If I start a video call (in channel or 1-to-1), I'm asked to select a client certificate. It's selected. Then, the new window opens, but remains blank. If I close it and click on Click to Join again, it still opens a blank window.

If I close it again and select Click to Join for a THIRD time, it opens the Jitsi meeting window as expected, but the rocketchat client window becomes blank and the only way to return to the regular window after the video call is ended is to reload the client (Ctrl+R)

Expected Behavior
I select the client certificate, the jitsi window opens and the video call starts and end, and once ended we return to work on Rocket.Chat.

I am getting the same behaviour from the same setup, the problem was introduced with version 3.0.0 of the app. Jitsi works on 2.17.11 fine, but fails on anything newer.  It also works using Chrome rather than the app.
We are using the latest version of Rocketchat server and our Jitsi server is up to date as well.

Same issue here. Same setup. Works with 2.17.11, works in Chrome but not in Rocket.Chat app 3.0.x including 3.0.4

I am getting similar behaviour on OS/X - with V3.0.3 (Updated) client. Self Hosted RocketChat v3.7.1, Self Hosted Jitsi jitsi-meet-turnserver:amd64 (1.0.4428-1, 1.0.4466-1), jitsi-videobridge2:amd64 (2.1-351-g0bfaac1c-1, 2.1-376-g9f12bfe2-1), jicofo:amd64 (1.0-636-1, 1.0-644-1), jitsi-meet-web:amd64 (1.0.4428-1, 1.0.4466-1), jitsi-meet:amd64 (2.0.5076-1, 2.0.5142-1), jitsi-meet-web-config:amd64 (1.0.4428-1, 1.0.4466-1)

Same problem with 3.0.4 on macOS 10.15.7

Same problem here with MacOS 10.15.7 and Client version 3.0.3 (AppStore)

I can confirm we are also experiencing the same behaviour both on MacOS 10.15 and Windows 10 regardless of the room setup (1v1, channels, private groups). Also tried updating Jitsi Meet server to the latest release (1.0.4466) - we're self hosted - as well as RocketChat server to 3.7.1 but the probleme's still present.
The only workaround we found was downgrading the clients to 2.17.11.

Same problem on Windows 10 and Ubuntu desktop clients.
Server version: 3.7.1
Client version: 3.0.4
Jitsi version: 2.0.5142 (recently updated, the behavior was the same on previous version as well, most likely not related to Jitsi).

possibly related  to https://github.com/RocketChat/Rocket.Chat.Electron/issues/1834?

Problem persists by release 3.0.5

With Jitsi 2.0.4966 its still working - even with Rocketchat Client 3.0.5 ... after updating Jitsi Server we also got the white/blank window problem while Rocketchat Client < 3.0.0 is still working

Same problem with Mac App Store Version 3.0.3

and also in Mac DMG Version 3.0.6

same issue in the Linux version, although no certificate is used.

We can reproduce this issue on multiple machines, mainly Mac and Linux.

Problem persists with release 3.0.7. Updated title and issue description

I am having exactly the same problem.
Using Rocket.Chat with integrated jitsi server installed via docker.
For authentication I am using JWT.
I just did some tests and downgrading to  *:stable-5076 makes it work again for me.
https://hub.docker.com/r/jitsi/web/tags
It is weird though that browsers seem to work without problem.

We are also using a self hosted Jitsi docker environment and just like "merlin-tc" above, we also began having issues after upgrading Jitsi containers to version 5142. Issue persisted on older and newer rocketchat clients (browsers were fine). Downgrading Jitsi containers back to 5076 fixed the issues for us. Also using JWT for authentication.
Clients were on macOS.

@tassoevan Could we get some update here? Is this problem recognized ? Are you going to fix it sometimes soon? This is very annoying for everyone using the client and jitsi :/ It's completely broken

Workaround - don't use the electron client, stick with chrome...
On Wed, 18 Nov 2020 at 21:40, EnCz<EMAIL_ADDRESS>wrote:

@tassoevan https://github.com/tassoevan Could we get some update here?
Is this problem recognized ? Are you going to fix it sometimes soon? This
is very annoying for everyone using the client and jitsi :/ It's completely
broken
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RocketChat/Rocket.Chat.Electron/issues/1841#issuecomment-729973281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH44JLWP5ENBLWEYUBMBJDSQQ5NZANCNFSM4S23J6QQ
.

@corrigac

Workaround - don't use the electron client, stick with chrome...

Yeah obviously.. but it get's complicated to explain as soon as a business likes to provision the pre-configured client to 500-600 workers where most of them simply aren't tech-savvy ( to say the least :) )

@tassoevan Could we get some update here? Is this problem recognized ? Are you going to fix it sometimes soon? This is very annoying for everyone using the client and jitsi :/ It's completely broken

Luckily we got a backup of the jitsi server before we updated so this is actually the simplest solution ... just not updating jitsi until somebody is yelling, that everything works again :P

@tassoevan Could we get some update here? Is this problem recognized ? Are you going to fix it sometimes soon? This is very annoying for everyone using the client and jitsi :/ It's completely broken

Luckily we got a backup of the jitsi server before we updated so this is actually the simplest solution ... just not updating jitsi until somebody is yelling, that everything works again :P

Yea we are going to try to downgrade our jitsi instance to *:stable-5076 like @merlin-tc said. But obviously this is no long-term solution.

We installed 3.0.7 on every managed computer and all was fine, until today...
Today we updated Jitsi components on our self-hosted Jitsi deployment to this versions:
jitsi-meet-prosody=1.0.4466-1
jitsi-meet-tokens=1.0.4466-1
jitsi-meet-web=1.0.4466-1
jitsi-meet-web-config=1.0.4466-1
jicofo=1.0-644-1
jitsi-videobridge2=2.1-376-g9f12bfe2-1

and immediately after that we start to experience that problem, but only in desktop client. Like other described that here.
Web and mobile version are not involved.
@tassoevan please fix that critical for a lot of Rocket Chat users bug. Thank you!

As I suggested in my last post we did downgrade our jitsi-web component to *:stable-5076 and the client starts working as intended again.
This jitsi build is (currently) only 2-3 months old, so it doesn't hurt too much but obviously this is no long-term solution.
And all "This is an open source project" aside: I think it's communications-wise not okay to completely ignore the community here for more than a month now :/ The guys at RocketChat can do better, I'm sure.

This is fixed for us with the latest Jitsi update 2.0.5390-3.

This is fixed for us with the latest Jitsi update 2.0.5390-3.

This is fixed for us with the latest Jitsi update 2.0.5390-3.
Yes, same here

This is fixed for us with the latest Jitsi update 2.0.5390-3.
Yes, same here

I just upgraded to the 5390 docker build but I am still having that problem with the RocketChat client   :-(
Using browsers works fine though. So I had to downgrade to jitsi docker image jitsi/web:stable-5076 which is the last one for me without that bug just as mentioned here #issuecomment-726250612

I just upgraded to the 5390 docker build but I am still having that problem with the RocketChat client   :-(
Using browsers works fine though. So I had to downgrade to jitsi docker image jitsi/web:stable-5076 which is the last one for me without that bug just as mentioned here #issuecomment-726250612

Hi
my setup :
rocketchat : 3.10.0
own jitsi : latest
rocketchat and jitsi separately work fine but video-conference  in rocketchat work only on andriod app . when we start call in web or windows client in p2p conversation or channel just popup and shown " Start video call / yes or cancel ? " and then click on yes split page in middle and call windows is white only an not appear anything's  .
but in andriod and ios app when click on start video call open new windows on who create video call and for other show click join to call and just mobile app when click to join after 1 second join in video call and work fine everything's.
but about 90% of we users  use linux and windows app

my setup :
rocketchat : 3.10.0
own jitsi : latest
rocketchat and jitsi separately work fine but video-conference in rocketchat work only on andriod app . when we start call in web or windows client in p2p conversation or channel just popup and shown " Start video call / yes or cancel ? " and then click on yes split page in middle and call window is white only an not appear anything's .

It's a totally different issue
Please check it https://github.com/RocketChat/Rocket.Chat.Electron/issues/1919#issuecomment-759652092


SQL query runner needs to take chosen ASP into account

# LIAMTEST is in IASP1
echo "SELECT OBJNAME, OBJLONGSCHEMA, OBJTYPE, IASP_NAME FROM TABLE (QSYS2.OBJECT_STATISTICS('LIAMTEST', '*ALL', '*ALLSIMPLE') )" | system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

# COMMON1 is in *SYSBAS
echo "SELECT OBJNAME, OBJLONGSCHEMA, OBJTYPE, IASP_NAME FROM TABLE (QSYS2.OBJECT_STATISTICS('COMMON1', '*ALL', '*ALLSIMPLE') )" | system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

# ILEDITOR is in *SYSBAS
echo "SELECT OBJNAME, OBJLONGSCHEMA, OBJTYPE, IASP_NAME FROM TABLE (QSYS2.OBJECT_STATISTICS('ILEDITOR', '*ALL', '*ALLSIMPLE') )" | system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

I think I need to create an user ASP on my test system...

@chrjorgensen Just spent my morning figuring this out. I had to ask if we had any systems with ASPs setup.
I just learned that ASPs basically set. Let's say I have this:
ILEDITOR *SYSBAS
COMMON1  *SYSBAS
LIAMTEST IASP1

By default, I am always *SYSBAS. This means:

WRKLIB ILEDITOR will work as it's in 8SYSBAS
WRKLIB LIAMTEST will not work as it's in another ASP

But if I change my ASP group to IASP1 with SETASPGRP IASP1, this means:

WRKLIB ILEDITOR will show
WRKLIB LIAMTEST will show because of your ASP group setting

So it's almost like setting the ASP group really just gives it higher priority when searching for libraries.

@worksofliam I have personally only been on a system with user ASP once in my career, so not much experience with this - so some training is definitely needed. But I administer some Power servers with SAN storage, so I can easily create a user ASP on the system I use for Code for IBM i testing.
So you're welcome to assign this issue to me...

This is about as much as I know about IASPs:
When an ASP exists, such as IASP1, then in the root of the IFS is /IASP1 and inside is /QSYS.LIB, which is where the objects inside of that ASP exist. Objects have an ASP number associated with them, and to get the name of the ASP from the ASP number you can use QSYS2.ASP_INFO. An ASP number of 0 always means *SYSBAS

LIAMTEST/QRPGLESRC has an ASP number of 144
I can use QSYS2.ASP_INFO to lookup that ASP number to get the name.

Then I can see that a directory exists in the the IFS root for it:

This works great when not using SQL. We need to add support for this method to selecting the ASP when running SQL statements.
system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

Here is a current bug. My filter for the LIAMTEST library does not work because it's not in *SYSBAS and exists in IASP1.

We can't change our existing use of DSPFD (or any system commands!) to look in a specific ASP because they require the use of SETASPGRP, which of course won't work for us because each command runs in a new job (this won't be changing).
But, to fully support ASPs, we need to ensure the user has SQL enabled (which is true most of the time since we are now using system programs to run SQL) so we can make use of QSYS2.OBJECT_STATISTICS in an statement where we can define the ASP to use.
# LIAMTEST is in IASP1
echo "SELECT OBJNAME, OBJLONGSCHEMA, OBJTYPE, IASP_NAME FROM TABLE (QSYS2.OBJECT_STATISTICS('LIAMTEST', '*ALL', '*ALLSIMPLE') )" | system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

I was right about the 'stacking'. Even with an ASP group/name set, we are still able to access *SYSBAS objects.

Once the specified ASP group has been set for the current thread, all libraries in the independent ASPs in the ASP group are accessible and objects in those libraries can be referenced using regular library-qualified object name syntax. The libraries in the independent ASPs in the specified ASP group plus the libraries in the system ASP (ASP number 1) and basic user ASPs (ASP numbers 2-32) form the library name space for the thread.

IBM docs on SETASPGRP.

@worksofliam @Wright4i
Alright, I did some testing...

First I added two volumes to my server. One was added to (user) ASP 2 (in SST) and another to independent ASP 33 (with CFGDEVASP)
Second I added one library to ASP 2 and another to ASP 33

In this setup I could see the library in ASP 2, but not the one in ASP 33.

I then did duplicated QDFTJOBD to my own job description and changed this to include independent ASP 33: CHGJOBD xxx INLASPGRP(yyy)
I changed my userprofile to use the new job description and forced a reconnection to the system

Now the library in ASP 33 was available and I could see the files and members in the object browser.
It all worked as if the objects was in the *SYSBAS, no problem at all.
I could even see the objects after changing my userprofile to the default job description, which did not have ASP 33 as initial ASP group - as long as I kept the connection to the system in VS Code. After a reconnect, the objects were no longer available.
The IFS browser does work differently - since the ASP device is linked to a folder in root as soon as it is varied on, the folder is available together with the ASP device. When the device is varied on, the IFS folder is no longer available.
My testing brings the question: Should it be the job description on the server that controls what Code for IBM i can see on the server, orr should Code for IBM i try to attach to an independent ASP using the SETASPGRP command?
IMO it should be the setup on the server, that controls what's available for Code for IBM i - so the user must have a job description that includes the independent ASP to be able to use this ASP. Which means we don't have to code anything special for iASP's in this extension.

My testing brings the question: Should it be the job description on the server that controls what Code for IBM i can see on the server, orr should Code for IBM i try to attach to an independent ASP using the SETASPGRP command?

@chrjorgensen I agree with you it should be on the JOBD to describe the job. SETASPGRP isn't even a viable option with the way the new jobs are spawned for each command. If we go this route I think it'd be completely fair to just document how to setup a Job Description using an ASP and leave it up to the end-user to setup when configuring Code for IBM i.

Okay, now I see what the ASP is used for: opening (downloadMemberContent) and saving (uploadMemberContent) the source in the member, which is done by CPYTOSTMFand CPYFRMSTMF commands.
I also found an issue - when creating a new member, the member was added but wouldn't open because the ASP was not used in the path for the source member. I'll do some more testing...

Further testing:

I added an additional volume to my server as independent ASP 34 (with CFGDEVASP)
Then I added a library to ASP 34

Now I can switch between the iASP's with SETASPGRP - but a job can only be connected to one iASP at a time (at least to my knowledge), so I can only see of my two libraries on the iASP's one at a time (however in the IFS I can see them both, since each iASP has its own directory in root and the libraries appear in a /QSYS.LIB subdirectory in the iASP directories).
I can also have filters in the object browser for each library - but as above, I can only open one of the at a time (the one in my job description when the connection is started). The library in the iASP not connected to cannot be found.
Idea: If we really want the user to be able to switch iASP, we can probably make a function setCurrentIASP and present the current and available iASP's in a list (like the changeCurrentLibrary function) for the user to choose... WDYT?

@chrjorgensen @Wright4i First off, I thank you deeply for looking into this problem. I am very sorry because I am so worked right now and I am neglecting how much time I'm putting into it. I hope this can change in the next two weeks after I have some work travel out the way.
Next, to your question:

we can probably make a function setCurrentIASP

This is a very good idea, and we should make use of the existing ASP property in the configuration

present the current and available iASP's in a list

Also a great idea. I am envisioning a simple quick pick list for this. We actually go and fetch the ASP information and store it in the connection class so we already have that idea.
I think we need to combine those efforts, with the change I recommended above:

But, to fully support ASPs, we need to ensure the user has SQL enabled (which is true most of the time since we are now using system programs to run SQL) so we can make use of QSYS2.OBJECT_STATISTICS in an statement where we can define the ASP to use. This requires a change to getObjectList to support the use of SQL.

The real heavy lifting here is adding the ability to specify an ASP name on IBMiContent#runSQL and then refactoring the calls to it. When this happens, the interface to code-for-ibmi.runQuery cannot be broken due to compatibility to other extensions.

I think if there is only one ASP (as in just *SYSBAS), then we likely don't need to add anything to the UI to make sure the UX is not affected.
To @Wright4i's point:

SETASPGRP isn't even a viable option with the way the new jobs are spawned for each command.

Code for IBM i is stateless, so we've had to build our entire extension like this - the way ASPs would work is exactly how the library lists work.. we have to send it in on every command - luckily we can easily do that with the system SQL program we use:
system "call QSYS/QZDFMDB2 PARM('-d' '-i' '-t' '-r' 'IASP1')"

@worksofliam Don't worry - be happy! 🌞 Take care not over-working yourself and becoming stressed - I've been there and it's not funny!
This is what I get from your suggestion:

We add a quick pick list where the can set the wanted iASP
We add support for SQL and the OBJECT_STATISTICS function in getObjectList
We add the current iASP to the IBMiContect#runSQL function (as a parameter?) to be used as new parameter in the call to QZDFMDB2

Confirm or correct me... 😆
Issues that spring to mind:

Switching iASP:  This could make the library list invalid. We should probably call the validateLibraryList to have any libraries not available removed from the library list, right?
The profiles: Is the iASP part of this - or should it be added if not already? I have not checked the code yet.
The source ASP configuration value: Should it be set to the selected iASP? Or what is the purpose of this?

Any other thought? @Wright4i

@chrjorgensen I believe you're correct on the action items from @worksofliam.
On your issues:

Agreed, we should call validateLibraryList
Yes? If we're treating ASPs like the library list works and library lists part of the profiles then iASP should be too.
No idea I'll leave this one to @worksofliam

No additional thoughts here! I'm also a bit over worked these days so Fridays aren't a good day for new ideas 😆 but everything listed here so far sounds good to me. Happy to help out (testing, etc.)!

@chrjorgensen Your to-do list is spot on. Regarding your issues:

Calling the validate method is a good idea when the ASP changes.
ASP should be part of the profile.
The existing ASP config is what we should use to store the user chosen ASP.

Thanks,
Liam

Looking back on this again. I am still thinking we need a button/API on the User Library List view to switch ASP group, which would really create a unique JOBD for that user (that we manage) so we can set/change the ASP group.

Closing this in favor of #941


DevSpaces Crashes when running devspaces-init and asking to use customer Container Registry

What happened?
while running devspace init wizzard I selected "Use Other Registry" when Asked which registry to use to push images .
error :
panic: regexp: Compile(`^(?!-)[a-z0-9-]{1,63}(\.[a-z0-9-]{1,63})*$`): error parsing regexp: invalid or unsupported Perl syntax: `(?!`

goroutine 1 [running]:
regexp.MustCompile({0x2da7757, 0x2a})
        /Users/runner/hostedtoolcache/go/1.20.13/x64/src/regexp/regexp.go:319 +0xbb
github.com/loft-sh/devspace/pkg/util/survey.(*survey).Question(0x0?, 0xc0002503f0)
        /Users/runner/work/devspace/devspace/pkg/util/survey/survey.go:45 +0x4d
github.com/loft-sh/devspace/pkg/util/log.(*StreamLogger).Question(0xc000193700, 0xc0002503f0)
        /Users/runner/work/devspace/devspace/pkg/util/log/stream_logger.go:537 +0x1ba
github.com/loft-sh/devspace/pkg/devspace/configure.(*manager).AddImage(0xc000846dc0, {0x2d4eae0, 0x3}, {0x0, 0x0}, {0xc0006081e0, 0x22}, {0x2d5c124, 0xc})
        /Users/runner/work/devspace/devspace/pkg/devspace/configure/image.go:174 +0xebd
github.com/loft-sh/devspace/cmd.(*InitCmd).initDevspace(0xc00030f5e0, {0x311f958, 0x4a5d108}, {0x3119ac0, 0xc000551ac0})
        /Users/runner/work/devspace/devspace/cmd/init.go:424 +0x1964
github.com/loft-sh/devspace/cmd.(*InitCmd).Run(0xc00030f5e0, {0x311f958, 0x4a5d108})
        /Users/runner/work/devspace/devspace/cmd/init.go:162 +0x3a5
github.com/loft-sh/devspace/cmd.NewInitCmd.func1(0xc0008a1200?, {0x4a5d108?, 0x0?, 0x0?})
        /Users/runner/work/devspace/devspace/cmd/init.go:94 +0x4d
github.com/spf13/cobra.(*Command).execute(0xc0008a1200, {0x4a5d108, 0x0, 0x0})
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:916 +0x862
github.com/spf13/cobra.(*Command).ExecuteC(0xc000004f00)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:1040 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
        /Users/runner/work/devspace/devspace/vendor/github.com/spf13/cobra/command.go:968
github.com/loft-sh/devspace/cmd.Execute()
        /Users/runner/work/devspace/devspace/cmd/root.go:151 +0x1af
main.main()
        /Users/runner/work/devspace/devspace/main.go:17 +0x2c

What did you expect to happen instead?

wizard should run to completion

How can we reproduce the bug? (as minimally and precisely as possible)

install DevSpaces on Windows
run the quick start tutorial

My devspace.yaml:
version: ...
...

Local Environment:

DevSpace Version:  6.3.12
Operating System: windows
ARCH of the OS: AMD64
Kubernetes Cluster:
( none relevnat we haven't reached this step yet)
Anything else we need to know?

I can confirm I'm seeing the same thing. I was able to work around by selecting DockerHub and then changing the image name in devspace.yaml to reflect the custom registry.

I still see the issue with latest version 6.3.12


Please add new method wait_for_element_show()

Common usecase: Click something, then wait for another hidden thing to show.
😄

That method already exists as wait_for_element which also returns that element. So when you want to click on something and than wait for something else, you can do that as:
driver.click('button')
elm = driver.wait_for_element(tag_name='form')

Or do you mean something else?

Does it return hidden elements?

I see what you mean. wait_for_element waits for any element whether you need similar method as wait_for_element_hide which handles both hidden and removed elements. Ok, it can be done.

Great ! You are awesome 👍

Fixed in version 2.5.0. It's not new method but I changed behavior of current method so wait_for_element now waits only for visible elements. I can't see any reasonable use case to wait for hidden elements in several years of testing by Selenium.

The original wait_for_element() is useful. For example, I can check a element is present in source code which maybe not visible until mouse hover.

Hmm. In that case I suggest to add wait_for_hidden_element. It will be more clear I think.

Hi. These 3 methods will cover all situations:

wait_for_element() for element (regardless of visibility)
wait_for_element_hide() for element (becomes hidden or disappeared)
wait_for_element_show() for element (becomes visible)

I'm still using the old version (2.3.0). Thank you a lot.

I merged your request, updated doc and release version 2.6.0.


Device crashes when playing Dolby Vision content in Netflix addon

Bug report
Your Environment

Netflix add-on version: 1.18.1
Operating system version/name: Fire OS <IP_ADDRESS>
Device model:  Fire TV Cube 2nd Gen

Used Operating system:

[X] Android
[ ] iOS
[ ] Linux
[ ] OSX
[ ] Raspberry-Pi
[ ] Windows

Describe the bug

Whenever playing a video with Dolby Vision in the Netflix add-on the fire cube crashes after a while. The time it crashes varies between videos but within the same video it happens at the same point every time I play it. The time of the crash in different videos varies between a few minutes and 20 minuted. To recover the fire cube has to be restartrd. If I disable Dolby vision in the add-on settings I don't get the crash. It will play normal HDR videos fine. I also use the SlyGuy Disney+ add-on and Dolby Vision videos play correctly from that addon. Apologies if that isn't relevant but I thought it may show it does appear to be an add-on specific issue. Looking at my debug log I'm not sure if it writes anything useful because of the full device crash that happens at the time the video fails.
Expected behavior

Play Dolby Vision content without crashing
Actual behavior

The video stops playing and the whole device hangs and requires a restart. When it crashes it displays the current video frame and stops responding to all remote  control inputs. It happens on every Dolby Vision video I've played on Netflix. If I play the same video multiple times it crashes at the same point. Different videos crash at different times though. The time of the crash in different videos varies between a few minutes and 20 minutes.
Steps to reproduce the behavior

Have Dolby Vision enabled in Netflix addon settings
Play a video that uses Dolby Vision

Possible fix

Only happens with Dolby Vision enabled. Plays normal HDR correctly. Other Dolby Vision content plays fine in other Kodi add-ons.
Debug log

The debug log can be found here:

kodi_2.log
Additional context or screenshots (if appropriate)
Other information

Screenshots

crashes usually have to be fixed in Kodi the addon only takes care of providing the video "links" (very short summary)
but i would like to check two things

If I play the same video multiple times it crashes at the same point.

try this:
open addon settings -> Playback -> Ask to skip intro and recap -> turn it off
play a video and see if crash happens

on addon Expert settings turn ON: Always show codec info during playback (turn on enable debug logging, if disabled)
when you are in playback you will see this info on screen:

please check if the memory usage is about 100% when the crash occours

crashes usually have to be fixed in Kodi the addon only takes care of providing the video "links" (very short summary) but i would like to check two things

If I play the same video multiple times it crashes at the same point.

1. try this:
   open addon settings -> Playback -> Ask to skip intro and recap -> turn it off
   play a video and see if crash happens

2. on addon Expert settings turn ON: Always show codec info during playback (turn on enable debug logging, if disabled)
   when you are in playback you will see this info on screen:
   ![immagine](https://user-images.githubusercontent.com/3257156/144852956-53b98733-5e3e-4afc-a4d3-e6ee4ee7a0a4.png)

please check if the memory usage is about 100% when the crash occours

Thanks for the suggestions. Tried disabling skip into and recap option but still crashed. Memory usage was at 77% when it crashed. It sounds like one I need to log for the Kodi team to look at then.

yes try open an issue on kodi repository


Supporting configuration for validating algorithm used for signing purposes

Currently it is not possible to restrict signed messages sent to IS to be signed by a particular algorithm, from a common end point. We need to support a configurable approach to specify acceptable signing algorithms for inbound assertions.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!