Investigate FreeBSD and SLES Vagrantfiles for testing the playbooks

At the request of @sxa555
It'd be useful to have FreeBSD and SLES vagrantfiles that can be used with the pbTestScripts to determine that the playbooks work with these OSs, and are able to build a JDK.

Hit a bit of a snag in which the two main Vagrant Boxes for FreeBSD12, that have any significant amount of downloads (https://app.vagrantup.com/boxes/search?utf8=✓&sort=downloads&provider=&q=freebsd12) both mount the shared folder with smb, (https://www.vagrantup.com/docs/synced-folders/smb.html) which, although not an issue within itself, will require user input of a Username and password. When attempting to use the fields found in the link, (i.e. smb_password ) within the Vagrantfile, the following error message is shown:
==> adoptopenjdkFBSD12: Preparing SMB shared folders...
Vagrant SMB synced folders require the account password to be stored
in an NT compatible format. Please update your sharing settings to
enable a Windows compatible password and try **again**

However, this seems to be only an issue on Mac host, as I didn't have this issue on the Ubuntu18 infra-vagrant-1 jenkins node.

As of current, the vagrant boxes provided on the vagrant website don't have a version of SLES12SP4 , which I believe is the version of SLES used for our testing machines. I''ve tried with the SLES12SP2 vagrant box located here: https://app.vagrantup.com/suse/boxes/sles12sp2
However, this causes results in the following error:
localhost:ansible williamparker$ vagrant up
Bringing machine 'adoptopenjdkC6' up with 'virtualbox' provider...
==> adoptopenjdkC6: Importing base box 'suse/sles12sp2'...
==> adoptopenjdkC6: Matching MAC address for NAT networking...
==> adoptopenjdkC6: Checking if box 'suse/sles12sp2' version '0.0.1' is up to date...
==> adoptopenjdkC6: Setting the name of the VM: ansible_adoptopenjdkC6_1577454538499_56505
==> adoptopenjdkC6: Fixed port collision for 22 => 2222. Now on port 2202.
==> adoptopenjdkC6: Clearing any previously set network interfaces...
==> adoptopenjdkC6: Preparing network interfaces based on configuration...
    adoptopenjdkC6: Adapter 1: nat
    adoptopenjdkC6: Adapter 2: hostonly
==> adoptopenjdkC6: Forwarding ports...
    adoptopenjdkC6: 22 (guest) => 2202 (host) (adapter 1)
==> adoptopenjdkC6: Booting VM...
==> adoptopenjdkC6: Waiting for machine to boot. This may take a few minutes...
    adoptopenjdkC6: SSH address: <IP_ADDRESS>:2202
    adoptopenjdkC6: SSH username: vagrant
    adoptopenjdkC6: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

And when looking at the GUI of the VM, the error message is as follows:
initramfs unpacking failed: write error
failed to execute /init (error -2)
...
Kernel Offset: disabled
---[ end Kernel panic - not syncing: No working init found. Try passing init = option to kernel. See Linux Documentation/init.txt for guidance.

Regarding the above SLES12 Vagrant box, the error message would point to an issue with the ISO image. As this is within the Vagrant box and isn't changeable without booting the VM, I have had to look for different boxes. The issue with other boxes is many of them have issues with the Guest Additions installed on them (or not installed at all). For example, in the case of the suse/sles12sp1 box (https://app.vagrantup.com/suse/boxes/sles12sp1), The following error message is output on vagrant up.
==> adoptopenjdkS12: Checking for guest additions in VM...
    adoptopenjdkS12: No guest additions were detected on the base box for this VM! Guest
    adoptopenjdkS12: additions are required for forwarded ports, shared folders, host only
    adoptopenjdkS12: networking, and more. If SSH fails on this machine, please install
    adoptopenjdkS12: the guest additions and repackage the box to continue.
    adoptopenjdkS12:
    adoptopenjdkS12: This is not an error message; everything may continue to work properly,
    adoptopenjdkS12: in which case you may ignore this message.
==> adoptopenjdkS12: Setting hostname...
==> adoptopenjdkS12: Configuring and enabling network interfaces...
==> adoptopenjdkS12: Mounting shared folders...
    adoptopenjdkS12: /vagrant => /Users/williamparker/Documents/1061
Vagrant was unable to mount VirtualBox shared folders. This is usually
because the filesystem "vboxsf" is not available. This filesystem is
made available via the VirtualBox Guest Additions and kernel module.
Please verify that these guest additions are properly installed in the
guest. This is not a bug in Vagrant and is usually caused by a faulty
Vagrant box. For context, the command attempted was:

mount -t vboxsf -o uid=1000,gid=1000 vagrant /vagrant

The error output from the command was:

mount: unknown filesystem type 'vboxsf'

And when installing the vagrant-vbguest plugin which is meant to auto-install the guest additions for the box, this is output:
    adoptopenjdkS12: Removing insecure key from the guest if it's present...
    adoptopenjdkS12: Key inserted! Disconnecting and reconnecting using new SSH key...
==> adoptopenjdkS12: Machine booted and ready!
[adoptopenjdkS12] No Virtualbox Guest Additions installation found.
Warning: No repositories defined. Operating only with the installed resolvables. Nothing can be installed.

Regarding FreeBSD, the VagrantFiles are able to specify the type of shared folder, therefore specifying rsync stops the issue above when on macOS. However, rsync folders don't have built in functionality to sync the host folder to the guest folder, so although the guest VM could create a hosts.tmp it wouldn't be accessible by the host machine. Some plugins are made to counteract this however- i.e. https://github.com/smerrill/vagrant-rsync-back
This seems to work in this context:
localhost:1061 williamparker$ vagrant up
Bringing machine 'adoptopenjdkFBSD12' up with 'virtualbox' provider...
==> adoptopenjdkFBSD12: Importing base box 'generic/freebsd12'...
==> adoptopenjdkFBSD12: Matching MAC address for NAT networking...
==> adoptopenjdkFBSD12: Checking if box 'generic/freebsd12' version '2.0.6' is up to date...
==> adoptopenjdkFBSD12: Setting the name of the VM: 1061_adoptopenjdkFBSD12_1577718378342_4655
==> adoptopenjdkFBSD12: Clearing any previously set network interfaces...
==> adoptopenjdkFBSD12: Preparing network interfaces based on configuration...
    adoptopenjdkFBSD12: Adapter 1: nat
    adoptopenjdkFBSD12: Adapter 2: hostonly
==> adoptopenjdkFBSD12: Forwarding ports...
    adoptopenjdkFBSD12: 22 (guest) => 2222 (host) (adapter 1)
==> adoptopenjdkFBSD12: Running 'pre-boot' VM customizations...
==> adoptopenjdkFBSD12: Booting VM...
==> adoptopenjdkFBSD12: Waiting for machine to boot. This may take a few minutes...
    adoptopenjdkFBSD12: SSH address: <IP_ADDRESS>:2222
    adoptopenjdkFBSD12: SSH username: vagrant
    adoptopenjdkFBSD12: SSH auth method: private key
    adoptopenjdkFBSD12: Warning: Connection reset. Retrying...
    adoptopenjdkFBSD12: Warning: Remote connection disconnect. Retrying...
    adoptopenjdkFBSD12:
    adoptopenjdkFBSD12: Vagrant insecure key detected. Vagrant will automatically replace
    adoptopenjdkFBSD12: this with a newly generated keypair for better security.
    adoptopenjdkFBSD12:
    adoptopenjdkFBSD12: Inserting generated public key within guest...
    adoptopenjdkFBSD12: Removing insecure key from the guest if it's present...
    adoptopenjdkFBSD12: Key inserted! Disconnecting and reconnecting using new SSH key...
==> adoptopenjdkFBSD12: Machine booted and ready!
==> adoptopenjdkFBSD12: Setting hostname...
==> adoptopenjdkFBSD12: Configuring and enabling network interfaces...
==> adoptopenjdkFBSD12: Installing rsync to the VM...
==> adoptopenjdkFBSD12: Rsyncing folder: /Users/williamparker/Documents/1061/ => /vagrant
==> adoptopenjdkFBSD12: Running provisioner: shell...
    adoptopenjdkFBSD12: Running: inline script
localhost:1061 williamparker$ ls
Vagrantfile           Vagrantfile.FreeBSD12 Vagrantfile.SLES12
localhost:1061 williamparker$ vagrant rsync-back
==> adoptopenjdkFBSD12: Rsyncing folder: /vagrant/ => /Users/williamparker/Documents/1061
localhost:1061 williamparker$ ls
Vagrantfile           Vagrantfile.FreeBSD12 Vagrantfile.SLES12    hosts.tmp
localhost:1061 williamparker$

Got FreeBSD12 to a point where the playbooks can run on it using vagrantPlaybookCheck.sh. The box doesn't come pre-installed with python, but that was easily rectified by putting pkg install -y python into the Vagrantfile, thereby allowing ansible to run on it.

There's a PR from @gdams that may resolve that going forward if we can stabilise it, but for now the Vagrant file modification sounds reasonable

For now, in the above PR, I've made a symlink after installing Python. I know it's not the best thing to do, but if @gdams' PR resolves this, then it'll be taken out anyway :-)
(For future reference, the proper way of doing this is by adding ansible_python_interpreter=/usr/local/bin/python to the same line as the ip address in the hosts.unx file)

this should already be done here https://github.com/AdoptOpenJDK/openjdk-infrastructure/blob/master/ansible/ansible.cfg#L26-L27

@gdams I saw that. I'm not entirely sure how ansible.cfg decides if the host is freebsd or not, but in testing, it didn't pickup on it - it may be due to the hosts file format that vagrantPlaybookCheck creates, being just the VM's IP without any tags.


Fix typo in fundamentals/security/csp docs in korean

What's changed, or what was fixed?

style- src -> style-src

typo in production

[ ] This has been reviewed and approved by (NAME)

[x] I have run npm test locally and all tests pass.

[ ] I have added the appropriate type-something label.

[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

@googlebot I signed it!

@googlebot I signed it!


Needs updating for version 2.2

Under the Version History section, it states 'The latest ASR Deployment Planner tool version is 2.1', but the current download available from https://aka.ms/asr-deployment-planner is v2.2.
Similar required on the VMware page (https://docs.microsoft.com/en-us/azure/site-recovery/site-recovery-deployment-planner) and the linked ASR Deployment Planner Version History wiki page needs updating with release notes also.

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

ID: 440328f1-8411-af36-e84b-3a716710682e
Version Independent ID: 4e9e8d2e-a5b1-fa2a-346b-bf430ac099da
Content: Azure Site Recovery deployment planner for Hyper-V-to-Azure
Content Source: articles/site-recovery/hyper-v-deployment-planner-overview.md
Service: site-recovery
GitHub Login: @nsoneji
Microsoft Alias: nisoneji

@SteveBurkettNZ Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

We are working on it and will be updated soon.

These articles now seem to be updated. #please-close

@SteveBurkettNZ We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


xcode dependency should be ignored if bottle is available

Apologies if this is not the correct tracker.
I just tried installing homebrew/science/r-gui, which depends_on :xcode. I had only the command-line tools installed, so it forced me to download and install the full version of Xcode, which (at 2.6 GB) took about six hours on my slow connection, but eventually completed without problems.
Then I tried again:
$ brew install r-gui
Error: You have not agreed to the Xcode license. Please resolve this by running:
  sudo xcodebuild -license accept

OK, whatevever. Again:
$ brew install r-gui
Warning: You are using macOS 10.9.
We (and Apple) do not provide support for this old version.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
==> Installing r-gui from homebrew/science
==> Downloading https://homebrew.bintray.com/bottles-science/r-gui-1.67_1.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring r-gui-1.67_1.mavericks.bottle.tar.gz
==> Caveats
.app bundles were installed.
Run `brew linkapps r-gui` to symlink these to /Applications.
==> Summary
🍺  /usr/local/Cellar/r-gui/1.67_1: 129 files, 3.6M

Which took about two seconds. Yay!
So my question is, why did I need to install Xcode? Shouldn't Homebrew just install the bottle if it's available, and only nag about the missing full Xcode installation if it actually needs to rebuild from source?

Yep, that looks like that :xcode dependency in the r-gui formula could probably be changed to be build time only, so it wouldn't be required when installing from a bottle. That would be a bug in the formula.
This bug report should go over in the homebrew-science bug tracker, since it appears to be specific to the r-gui formula, not an issue with the brew tool itself. Would you mind just reposting it over there? That could also get it looked at by the homebrew-science folks who are more familiar with r-gui and can confirm whether it's just a build-time dependency.

Closing as a formula bug in homebrew-science.


Twitch stream loads muted with no way to unmute

With this recent update Twitch streams are loaded muted.  Livestream volume is up as high as it will go and makes no difference.

I know there was a recent change that ties Livestreams to performance volume. Is that set to 100%?

that was it, thank you.  i had no idea


Fix netstandard2 + .NET 4.6.2

netstandard2 support layer for .NET 4.6.1-4.7.1 abuses redirects - it has both chained redirects (System.Object is redirected from System.Runtime.dll to netstandard.dll to mscorlib.dll) and duplicated redirects (System.Data.* types are redirected to System.Data.dll by both System.Data.Common.dll and netstandard.dll).
First case ends up with Assembly.GetTypes() throwing due to missing types and second case ends up with startup crash due to duplicated types.

I wonder if it's OK to switch AppVeyor to VS2017 image?

Switching requires unit test fixes from the other PR anyways so that depends if you're going to accept it (in which case that goes first) or not (then I'll cherry-pick that into here).

This one LGTM, I would support merging it before the other, which is too big to be reviewed quickly.
Is the cherry-pick big ir is it just this one ?
Thx !

I've cherry-picked relevant pieces from my master - tests should be OK now.
Failure with VS2017 v15.8 looks like com.ullink.msbuild issue - namely, ProjectFileParser crashes due to some dependency conflict, however, I didn't have time yet to dig deeper.
The other PR consists mostly of abandoned 0.10 branch - I have no idea why it was abandoned in the first place (lack of time I guess?) because it's extremely close to actually working on 0.10 cecil (sans Win32 resource handling).

OK, I've rebased the other pull request.

Hi, I think I'm hitting these issues when trying to merge asp.net core assemblies.
Would it be possible to push a new release to nuget?
Thank you for this awesome project, really helpfull!

@0x53A I'm using package id avostres.ilrepack as a stopgap solution - it includes this PR and the bigger 0.10 PR

@Alexx999 @gluck We should probably update the CHANGELOG.md also, so it's clear what changed in this version.


If no pages, do not show next property in the envelope

{
  "more": false,
  "next": null,
  "objects": [
    {
      "_stix2arango_ref_err": false,
      "created": "2018-01-17T12:56:55.080Z",
      "created_by_ref": "identity--72e906ce-ca1b-5d73-adcd-9ea9eb66a1b4",
      "id": "relationship--cf2fdad6-76ad-5521-b6a0-3671ad1892b7",
      "modified": "2024-05-02T14:00:00.188Z",
      "object_marking_refs": [
        "marking-definition--fa42a846-8d90-4e51-bc29-71d5b4802168"
      ],
      "relationship_type": "object-marking",
      "source_ref": "x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019",
      "spec_version": "2.1",
      "target_ref": "marking-definition--fa42a846-8d90-4e51-bc29-71d5b4802168",
      "type": "relationship"
    }
  ]
}

Currently next shows null. This can cause issues with downstream TAXII clients as many assume simply if this field exists, their are more pages.
To solve, simply omit the next key when no other pages exist.

downstream clients check more first, there's no reason to change this


Update ubuntu version

What
Update ubuntu-latest. Github is discontinuing the earlier version and this action will not work if we don't upgrade it.
https://github.com/simplybusiness/silversmiths/issues/101

/dobby version patch


[FlatButton] File input not working with button.

With this...
<FlatButton primary={true} label="Choose an Image">
  <input type="file" id="imageButton"></input>
</FlatButton>

I end up with a button that doesn't actually render a file input field in the dom (clicking on the button does not open up the file dialog).

On version 0.7.5.

@nschaubeck Does the button on the doc site work for you?

@hai-cea Yes it does. It seemed like there wasn't even an <input> element in DOM, like the button element wasn't rendering it's children.

I'm having this problem as well. @nschaubeck Did you ever find a solution?

@e-monson I was actually not able to find a solution.

I am having the same problem. How / where  to check the source code of  http://material-ui.com/#/components/buttons ?

@nikhildaga That only works on Chrome as placing input fields into buttons is not part of the W3C spec.
A different solution is to make the button just fire the click event of a hidden input field.
_openFileDialog: function(){
  var fileUploadDom = React.findDOMNode(this.refs.fileUpload);
  fileUploadDom.click();
},
render: function() {
  var fileupload = {
    display:"none"
  }
  return (
    <FlatButton
      label="Upload file"
      onClick={this._openFileDialog}/>
    <input
      ref="fileUpload"
      type="file"
      style={{"display" : "none"}}
      onChange={this._handleChange)}/>
  );
}

I see this issue is still not fixed correctly...
The solution proposed in the doc only works in Chrome as @Wofiel said. (still the case in beta 15-0.2)
Wouldn't it better to be able to set like a htmlFor to the <FlatButton> (or <RaisedButton>), set an Id to the input file and that's all ? You wouldn't need to trigger the click manually...
I tried wrapping the button in the label, unfortunately, that doesn't work :(
Right now @Wofiel seems to be the best solution.

Why close this when there is not a native solution

hi @Wofiel how do you suggest using this technique without refs in a stateless component

@excalliburbd You can use id and Jquery, that should work

@Birssan dom manipulation in react? is that okay?

I would not recommand it usually, but I think to trigger a click event that should be ok in this case

@Wofiel  As can be done with version 15 react?

@Wofiel with this solution console.log(e.target.value) I receive on ubuntu
C:\fakepath\imagefilename.png

If anyone else comes across this issue I found that you can set containerElement on the RaisedButton to be something more suited to having an input element as a child. For example a label ;-)
<RaisedButton
  containerElement='label' // <-- Just add me!
  label='My Label'>
    <input type="file" />
</RaisedButton>

@Thomas101 Thanks! I've just encountered this issue and you solution seems to work.
Awesome :)

@Thomas101 Thanks for the tip. This solved my problem as well. The actual <span key="labelElement"... was a deadzone for my click event. Your solution fixed this!

Just complementing @Thomas101 answer, when I declare the components like his example, my RaisedButton is rendered with a file input inside. To prevent this, just set the file input style to display: none. :)

@andreyluiz under what circumstances does this not work:
``

I haven't been able to find an issue wit the docs site example, but clearly many others have!

Is it suposed to the file input to not show with the code you provided?
That's weird. In my case it renders an file input inside the material-ui button.

@andreyluiz Yes, with the docs site example (http://www.material-ui.com/#/components/raised-button) there's no visible . What broswer & version are you testing with?

The latest Chrome version.

I agree with @andreyluiz , the  shows as well, but with a style={display: 'none'}, it works like a charm !

tl;dr
<RaisedButton
  containerElement="label"
  icon={<Icons.FileUpload />} // material-ui-icons
  labelColor="white"
  primary
  style={{ minWidth: 40, width: 40 }}>
  <input
    onChange={e => this.upload(e.target.files[0])}
    style={{ display: 'none' }}
    type="file"
  />
</RaisedButton>

😕 For some reason, the following doesn't work for me
                        <Button dense
                                containerElement="label"
                                label="label">
                            <input
                                onChange={e => this.upload(e.target.files[0])}
                                style={{display: 'none'}}
                                type="file"
                            />
                        </Button>

I get the following error in the console:
Warning: React does not recognize the `containerElement` prop on a DOM element.
If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `containerelement` instead.
If you accidentally passed it from a parent component, remove it from the DOM element.

@AdityaAnand1 the following code should work
<Button
            raised
            component="label" <---- use component instead of containerElement
            color="primary"
            className={buttonClassname}
            disabled={this.state.loading}
            onClick={this.handleButtonClick}
          >
            {'Upload'}
            <FileUpload className={classes.rightIcon} />
            <input
              onChange={e => console.log(e.target.files[0])}
              style={{ display: 'none' }}
              type="file"
            />
</Button>

https://stackoverflow.com/a/54043619. it is simple


OnTransformingIndexValues not (yet) implemented at the moment

OnTransformingIndexValues is not implementented at the moment. I often use this to write additional values to the index.
Umbraco uses it to set the icon and to ensure the path value.

Hey I implement changes for this on feat/analyzer-mapping, sadly I dont have time to test it, so feel free to test it :)

Hi @bielu , I'm afraid this won't work well. IEnumerable<ValueSet> values cannot be modified because it is an IEnumerable and therefore readonly. Remarkably, it does not produce an error. The IEnumerable could be converted to a List. In that case, the indexingNodeDataArgs.Cancel could also work again by simply deleting the item from the list, but I'm afraid it could become very memory intensive. It would be nicer if OnTransformingIndexValues could be called again within ToElasticSearchDocs, but because it is in the service, I suspect this will be a difficult story.
What do you think about this?

I've created a pull request to make the TransformingIndexValues work for now. I saw that the items are send in batches to the PerformIndexItems method instead of all at once so the memory should not be a that big problem i guess.

Hey @mcl-sz I made POC for observer pattern I think it will be much cleaner and less memory intense, if you have some time you can test it on poc/observer-impl-for-event-handler
I am just lately overloaded with other responsibilities, so have limited time for coding and testing 😅

Hi @bielu , i checked your POC using the observer and i like it! I think this is a much nicer solution as well. I couldn't get it to work at first, but I made some minor adjustments (https://github.com/bielu/bielu.examine.providers/pull/17). It works great for me now. You can see this, among other things, by looking at the icons in the back office. These are now show up correctly.
I understand that sometimes you don't have time. You have already put a lot of time and work into it. Thank you very much for this! In the meantime, I will continue testing and if I come across anything else, I will let you know. I will of course also try to solve it as much as possible.

@mcl-sz I guess we can close this ticket now, if not ping me and will reopen it


Update repos.md

@ArturGajowy Do you still want to receive updates in ArturGajowy/rchain now that rchain/rchain has been added in #124?

@ArturGajowy Do you still want to receive updates in ArturGajowy/rchain now that rchain/rchain has been added in #124?

No, hence this PR :)


Expired invitations

Shouldn't we automatically revoke expired invitations?
If that's not possible, the messaging should definitely change from "expires" to "expired"

Ghost: master

I would suggest changing only the messaging for now, because the user can revoke manually.


Updated Travis yaml file scheme name

@DannyVancura It seems we had the wrong scheme name in the xcodebuild.

You're right :+1:

Declining, as I just didn't see the YoshiTests scheme in the xcworkspace. It does exist, and works fine


i18n(fr): add migrate-to-astro/from-nextjs.mdx

Description (required)

Add French translation for Migrating from Next.js (migrate-to-astro/from-nextjs.mdx), added in #2232

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/migrate-to-astro/from-nextjs.mdx
Localization added, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Can I use XamlIsLand in windows-rs?

I can create an instance of DesktopWindowXamlSource , but I don't know how to get the IDesktopWindowXamlSourceNative interface , it seems there are 2 ways

by From trait : IDesktopWindowXamlSourceNative::from(&DesktopWindowXamlSource )
by IInspectable : DesktopWindowXamlSource.0.QueryInterface

both ways do not work. Please help.

Found It , by cast.


[llhttp]fix to build llhttp_shared

Fix #35015

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@Arlen-LT you need to update the port-version.

Note: I will be converting your PR to draft status. When you respond, please revert to "ready for review". That way, I can be aware that you've responded since you can't modify the tags.

@Arlen-LT you need to update the port-version.

I made a mistake to force push to this pr, I fixed the port version and add another patch, see #35018


"Go To Definition" sometimes fails

Here is an example from examples/expr2.f90 in LFortran:

It seems if the cursor is after x, it doesn't find it, but if it is before x, then it finds it. VSCode seems to highlight all "x" occurrences whether the cursor is before or after x, so we should handle both locations also.

I can confirm that this is now fixed.


Dependency package puppeteer has a new version available

We have identified a dependency on version 19.11.1 of puppeteer. A new version (20.1.1) is available for upgrade.
Following are the steps to upgrade package dependency.

Understand the breaking changes between the version being used and the version you want to upgrade to.

Identify all packages that take a dependency on this package.

Go to the root folder for each such package (/sdk/service-name/package-name) and update package.json to have the new version.

Run rush update to ensure the new version is pulled in.

Make relevant changes to absorb the breaking changes.

Repeat steps 3 to 5 for each of the packages that have a dependency on this package.

Breaking changes in v20.  We will wait after dropping Node 14 support or removing testing on Node 14 for our SDK.

drop support for node14 (https://github.com/puppeteer/puppeteer/issues/10019)
switch to Chrome for Testing instead of Chromium (https://github.com/puppeteer/puppeteer/issues/10054)


Touching the sensor triggers lock

So, I just had to verify my github account with my security key and when I touched the side my computer locked. Guess there is something about it being in use that prevents it from sending serial.
Need to adjust the timings or maybe start a timer on first recognition of not present. If not present for >1sec then lock. Instead of first not present.

So, it doesn't lock for the short or long press.

Just tested it again and it does lock when validating for github which is the only test I have found that does this.


Different base types for memoryviews although both typedefs have the exact same definition

I am trying to use the cython dev version in scikit-learn in order to use beta-test the const memoryview feature (#1869). As part of this effort I bump into the following problem: when you have two typedefs with the same definition you can not create a memoryview of one type from a memoryview of the other. Note the same error happens both in cython 0.28rc1 and cython 0.27.3.
A snippet to reproduce the problem:
ctypedef fused my_floating_1:
    double
    float

ctypedef fused my_floating_2:
    double
    float

def test(my_floating_1[:] mv1, my_floating_2[:] _):
    cdef my_floating_2[:] mv2 = mv1

The error I get:
Error compiling Cython file:
------------------------------------------------------------
...
ctypedef fused my_floating_2:
    double
    float

def test(my_floating_1[:] mv1, my_floating_2[:] _):
    cdef my_floating_2[:] mv2 = mv1
                               ^
------------------------------------------------------------

/tmp/test_cython_1.pyx:10:32: Different base types for memoryviews (double, float)

Error compiling Cython file:
------------------------------------------------------------
...
ctypedef fused my_floating_2:
    double
    float

def test(my_floating_1[:] mv1, my_floating_2[:] _):
    cdef my_floating_2[:] mv2 = mv1
                               ^
------------------------------------------------------------

/tmp/test_cython_1.pyx:10:32: Different base types for memoryviews (float, double)

More context on how I bumped into this (trying to create a non-const memoryview from a const memoryview)
At the moment const and fused types do not play nice together as per https://github.com/cython/cython/issues/1772. As I mention in https://github.com/cython/cython/issues/1772#issuecomment-371484338, a work-around I found is to move const inside the definition of the fused type. The problem is that I then hit an error when trying to create a read-write memoryview from a read-only memoryview:
ctypedef fused my_floating:
    double
    float

ctypedef fused const_my_floating:
    const double
    const float

def test(my_floating[:] rw, const_my_floating[:] ro_arg):
    cdef const_my_floating[:] ro = rw

The error I get:
Error compiling Cython file:
------------------------------------------------------------
...
# def test(my_floating[:] rw):
#     cdef const_my_floating[:] ro = rw

# Different base types for memoryviews (float, const double)
def test(my_floating[:] rw, const_my_floating[:] ro_arg):
    cdef const_my_floating[:] ro = rw
                                  ^
------------------------------------------------------------

/tmp/test_cython.pyx:22:35: Different base types for memoryviews (double, const float)

Error compiling Cython file:
------------------------------------------------------------
...
# def test(my_floating[:] rw):
#     cdef const_my_floating[:] ro = rw

# Different base types for memoryviews (float, const double)
def test(my_floating[:] rw, const_my_floating[:] ro_arg):
    cdef const_my_floating[:] ro = rw
                                  ^
------------------------------------------------------------

/tmp/test_cython.pyx:22:35: Different base types for memoryviews (float, const double)

Sorry I just understand this is mentioned in http://cython.readthedocs.io/en/latest/src/userguide/fusedtypes.html#fused-types-and-arrays so that the Cartesian product of types is generated. Hmmm OK it seems like having a function that takes that has a signature like this:
def func(const floating[:] ro, floating[:] rw):
    ...

will need https://github.com/cython/cython/issues/1772 to be fixed.


rewriteTsConfig no more updates tsconfig

setup:
win10
atom 1.6.2
atom-typescript 8.8
2 days ago I used filesGlob to add files to the files array and it worked and now the whole rewriting has stopped and what bothers me even more is that I do not get any errors or anything so I really have no idea where to look for a fix
my tsconfig:
{
    "filesGlob": [
        "./app/**/*.ts",
        "./calendar_view/**/*.ts",
        "main-config.ts"
    ],
    "compilerOptions": {
        "target": "es5",
        "experimentalDecorators": true,
        "module": "amd",
        "moduleResolution": "node",
        "isolatedModules": false,
        "jsx": "react",
        "emitDecoratorMetadata": true,
        "declaration": false,
        "noImplicitAny": false,
        "noImplicitUseStrict": false,
        "removeComments": true,
        "noLib": false,
        "preserveConstEnums": true,
        "suppressImplicitAnyIndexErrors": true
    },
    "exclude": [
        "typings/main",
        "typings/main.d.ts"
    ],
    "compileOnSave": true,
    "buildOnSave": false,
    "atom": {
        "rewriteTsconfig": true
    }
}

my folder structure

Same problem here. tsconfig.json isn't updating on save.
win10
atom 1.8.0-beta3
atom-typescript 8.10.1

The with 11.0.1, Linux, Atom 1.15.0
Have the same issue on multiple installs
It's really annoying, we had to downgrade (apm install<EMAIL_ADDRESS>to get it work.

Same on MacOS Sierra Version 10.12.4

rewriteTsconfig feature was removed because it's no longer necessary. Typescript compiler now supports globs using include and exclude so you should use those to configure your project.
https://www.typescriptlang.org/docs/handbook/tsconfig-json.html

Can anyone explain what "atom" property is in tsconfig? I searched it on internet on tsconfig schema. I cannot find this property.
Thanks in advance!!!


Sniff::is_sanitized(): allow for map_deep() to sanitize arrays

Array sanitization via array_map() was already recognized. This PR adds recognition of array sanization using map_deep().
Important note:
Functions which alter the array by reference, such as the PHP native array_walk() and array_walk_recursive() are not listed in the new $arrayWalkingFunctions property on purpose.

These cannot easily be used for sanitization as they can't be combined with unslashing, so could only be used in combination with the $unslashingSanitizingFunctions.
Additionally as they alter the array by reference, at this moment, accessing the array after the sanitization through one of these function would still trigger errors.
If at some point in the future, the above combination would be accounted for, preventing these additional errors would also need to be addressed.
Similarly, they cannot be used for late escaping as the return value is a boolean, not the altered array.

Also see my comment in the original issue where I go into more detail: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1660#issuecomment-478254403
Includes unit test.
Fixes #1660
Fixes #1618
Once this has been merged, the Sanitizing array input data wiki page should probably be updated (or an issue be opened saying that it should be with a link to this PR and the tickets).

Merged, but not amended any wiki page.

@jrfnl - sorry the ping on this, I read

Array sanitization via array_map() was already recognized.

But I am confused, because...
$test = array_map( 'esc_url_raw', $_POST['array_member'] );
==> This will flag as $_POST not unslashed before sanitisation
Thus, I do:
array_map( 'esc_url_raw', array_map( 'wp_unslash', $_POST['array_member'] ) )
==> This not only flags the missing unslash but also complains it is not sanitised at all
I don't think my approach is wrong, since array_map returns an array of whatever array values we passed thru the callback, this would mean array_map( 'wp_unslash', $_POST['array_member'] ) gives us an array of unslashed, and thus we can now array_map that thru the sanitisation or escaping function of choice.
Is there a chance that this can be improved? Should I open a ticket for this, or do you consider it rather edge-case and prefer to leave it as is?

@TukuToi Please don't respond to closed two year old PRs with new questions. They will not be answered. So yes, always open a new issue if there isn't one open already and make sure you show a complete code sample as I have a feeling something else is going on.


buddy_list: Use opaque hover color for headings.

This updates @evykassirer's temporary fix from #32514 by referencing the already-defined opaque hover color. There is no visual change here, but it does ensure that future adjustments to the value are reflected in the right sidebar--eliminating the need to fiddle with the temporary fix's one-off color value.
CZO discussion

Screenshots and screen captures:

Before
After

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Merged, thanks @karlstolley!


tunnel proto version and document updates

tunnel proto version to 0.2
updated document and added message flow diagram

@googlebot I signed it!


Update howto-create-private-cluster-4x.md

Added the Microsoft.Network resource, which is required, and a note if you haven't done it already.
/cc @jaydestro

@jjasghar : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Hi @sakthi-vetrivel
Could you indicate what action to take with the pull request?

#sign-off
#please-close
#hold-off

Thank you!
-PR review team

#reassign:johnmarco

#sign-off


Restore storageclasses before persistentvolumes and persistentvolumeclaims

This is necessary so the PVs and PVCs can be created correctly.

I'd like to pick this up! @ncdc, can I get some more info to get started on it?

@shubheksha sure! We have default restore priorities here: https://github.com/heptio/ark/blob/d7dfffa37358584d66e2d433cd79c7b8f2f43f4e/pkg/cmd/server/server.go#L456-L475. Need to insert storageclasses in the right place and test it.


Quick Question on template folder structure

Quick Question Please. In this approach, we are passing the template folder path to the TemplatePath param. Lets say the we have 10 templates(not the nested templates) in that template path. does it eventually creates 10 stacks. if so, how does it update the correct stack if any one of the template is updated?
@jpeddicord @hyandell

@sriram9707 Unfortunately, we only support one template so you can't provide 10 templates at the same time.

@sriram9707 Unfortunately, we only support one template so you can't provide 10 templates at the same time.

Thanks @beomseoklee I was also curious about that. Would you say that on a day-to-day ops world where you are submitting multiple CFs per day for different things, would you still recommend using this one in a creative way to achieve such thing? Just a personal opinion question here if you don't mind :)

Thanks @beomseoklee I was also curious about that. Would you say that on a day-to-day ops world where you are submitting multiple CFs per day for different things, would you still recommend using this one in a creative way to achieve such thing? Just a personal opinion question here if you don't mind :)


Upcoming openai-python 1.0.0 release

Hello.  Thanks for your great work on Instructor.  Really appreciate that it's thoughtfully constructed for use in production.
I wanted to check what your plans are for the upcoming openai-python 1.0.0 release (https://github.com/openai/openai-python/discussions/631).  Instructor currently has a dependency on <0.28.
Thanks!

I'll just force 0.3.0 to be openai 1.0.0
and then see if people care about backwards compatibiltiy

Thanks, sounds good to me.

do you know when its going to roll out?

Just launched as 1.1.0.

oh god. time to migrate!

Haha.  Fwiw, I just went through the process of vendoring some embeddings wrappers from LangChain to accommodate this openai-python 1.1.0 launch and it was mostly just a case of handling the new Pydantic response object: changing ["property"] to .property, etc.

i lied this is hard.
mostly cause all my docs need to be rewritten, and the patching logic is different now.

Makes sense.  Anyway, I guess we should all be happy that we finally have a stable 1.x client API to build on.

https://github.com/jxnl/instructor/releases/tag/0.3.0rc

Sounds like fun :) Great work so far! Currently using my own custom approach but will definitely look to switch when 1.0.0 is supported. Seems like a lot of the new functionalities (json support) should work really nicely with this.

i wont support json mode, function calling has better mechanics on 'where to put the schema'

need 3.0rc on pypi :)

need 3.0rc on pypi :)

not by my computer until tmr but if you're in need:
git checkout grit/7a22fd10-39f8-484c-8730-0c48bfd9bd6d
pip install -e .

Jason, do you think you'll  be adding support for function calling through the Assistants API?  Looks like openai_function and OpenAISchema might need a from_tool_calls() method - functionally similar to the current from_response methodsd - to handle the list of RequiredActionFunctionToolCall objects on run.required_action.submit_tool_outputs.tool_calls.


Update creating a workspace to set IMDSv2 to optional on instance

When creating a Cloud9 environment the default setting is to require IMDSv2. This documentation relies uses IMDSv1 to make calls to the metadata endpoint. Therefore, this change adds steps to change IMDSv2 from required to optional during workspace setup.
The alternative is to change all documentation to use IMDSv2, but that's a bigger change and for consistency would require changes to the app repositories used in this workshop.
Also changed the images for modifying and attaching a role to an instance for consistent UI during setup.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

From this release note: https://aws.amazon.com/about-aws/whats-new/2024/03/set-imdsv2-default-new-instance-launches
Mar 25, 2024

Now, when enabled, any new instances launched from your account will be IMDSv2-only by default. IMDS default settings are specific to individual AWS regions in your account.


How do to make cni plugin work with secure etcd server?

Hi,
I am trying to configure calico to work as a Kubernetes cni plugin. I am using a secure etcd server with client cert authentication. I am able to configure calicoctl node with Kubernetes. But how do I provide cert, key etc to the cni plugin? I don't see any configuration parameter for that?
https://github.com/projectcalico/calico-cni/blob/master/configuration.md
Reading https://github.com/projectcalico/calico-cni/blob/f2e2cf774646b443f2f9f499e7650b444e0e7bfa/calico.py#L28 , it seems not possible today. Am I right?

It seems it can be added by exporting ENV variables that are ready by pycalico.DatastpreClient https://github.com/projectcalico/libcalico/blob/master/calico_containers/pycalico/datastore.py#L143
Am I right?

Hi,
We are also interested in this. I have created a pull request for this: https://github.com/projectcalico/calico-cni/pull/113

Yeah, looks like it's unsupported at the moment.
I'm gonna try the patch TamalSaha's made, as it looks fine to me. Without tls to etcd Calico is a non-starter in our environment.

Sorry this isn't more clear in the CNI documentation:
https://github.com/projectcalico/calico-containers/blob/v0.20.0/docs/EtcdSecureCluster.md
The above link discusses environment variables which can be set in the CNI plugin to use TLS.  These can be set in the Kubelet process so they are inherited by the CNI plugin env.
Definitely worth making these explicit configuration parameters in the CNI network config as @TamalSaha has done - will take a look at that PR.

Merged #113

Cheers, the documentation could make it clearer for sure. Using env vars is fine for us; and a quick test shows its pretty easy :) Thanks.

Thanks a lot @caseydavenport. Any chance that a new release can be cut with this change?

@TamalSaha - My plate is pretty full at the moment, so unfortunately I can't make any promises about when this will make it into a release.  I will make an effort to get something out soon if it's possible :)


Correct the error link in Chinese translation

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@findyy99
Thanks for opening this! Unfortunately, we are not able to accept changes for translated content. Our translation process involves an integration with an external service at crowdin.com, where all translation activity happens. We hope to eventually open up the translation process to the open-source community, but we're not there yet.
See https://github.com/github/docs/blob/main/contributing/types-of-contributions.md#earth_asia-translations.


Bug: x5 showing for weapon skill rolls

We see that it says "Melee Weaponsx5" when this uses a skill, not a stat. I can try to tackle this but just wanted to document it

Should be resolved with v1.1.0.


Fix issue #49

Coverage decreased (-0.06%) to 52.997% when pulling d74d1225f5366771dd37bc88da2aa3c1d3ede631 on issue_49 into a7b798daf05ffc9d6b5356dad8a358c52833586d on master.


feat(widget-recents): Add notification level icon support

@jeffhoang doing a test on the netlify deploy, everything looks good except for the blue dot behavior. @moriahmaney is there a guide for what should be "blue dotted"?
Widget:

Web Client:

@jeffhoang doing a test on the netlify deploy, everything looks good except for the blue dot behavior. @moriahmaney is there a guide for what should be "blue dotted"?
Widget:

Web Client:

Those blue dots are existing behavior for "unread" convo activities within a group or one-on-one...since we don't have a feature to set notification settings yet, the widget is set as global notification to ALL (on).

@jeffhoang aren't the notifications set per-space on the server side? I never set the notifications on that space in the web client, so a new message in the space should only be bold (at least I thought so)?

This update now has logic to fetch notification related features for a given user.  This allows correct retrieval of particular global notification state, rather than just NOTIFICATION_ALL.  Note: additional journey tests to cover what is tested in badge.test.js will be a separate ticket.

Ok, I've split this PR into separate commits, according to scope.


Features, refactors, and chores: Biggest change is poetry and dtype support

Also uploaded the package to PyPi.
Summary
Feature: Poetry packaging
Feature: pydantic_numpy.dtype, adds support numpy.dtype as subfields in pydantic_numpy.NDArray. Added testing.
No longer need to use arbitrary_types_allowed or pydantic.BaseSettings (must use types from pydantic_numpy.dtype)
Refactor: Re-organized pydantic_numpy.ndarray
Refactor: Black and isort
~Feature: Added 3.7 to github-workflows~
Feature: Added jetbrains to .gitignore
Chore: Version bump

New version of github actions ran succesfully locally using act

Fixed commit message.

thanks!


feat: Add option to enter the angle value in radians

Related Issue
There was no option to enter the angle value in radians to calculate trigonometric functions
Fixes: #572
Describe the changes you've made
Added an option to select the unit (i.e. degree or radian) of the angle and calculate the result accordingly
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.

Screenshots
Original

Updated

@its-ayush-07 actually u needed to add the radian functionality also.

What do you mean by radian functionality? Do you mean a separate input field to accept the angle value in radians? Please elaborate.

@its-ayush-07 see now it accepts only degree values.  So add the radian functionality means when the user clicks on radian button then the given degree values will be converted and the result will be in radian.

@its-ayush-07 see now it accepts only degree values. So add the radian functionality means when the user clicks on radian button then the given degree values will be converted and the result will be in radian.

On clicking the Calculate button, the value of angle(in radians) and the selected trigonometric function is being calculated.
Please review it once before I push the changes :)

@its-ayush-07 see now it accepts only degree values. So add the radian functionality means when the user clicks on radian button then the given degree values will be converted and the result will be in radian.

On clicking the Calculate button, the value of angle(in radians) and the selected trigonometric function is being calculated. Please review it once before I push the changes :)

@its-ayush-07 it's fine


Adding NgxDatatableModule to imports as part of @NgModule causes

Adding NgxDatatableModule to imports as part of @NgModule causes
"Cannot combine @Input decorators with query decorators" in main.ts
Excerpt from module.ts
import { TranslateModule } from '@ngx-translate/core';
import { NgxDatatableModule } from '@swimlane/ngx-datatable';
import { FuseSharedModule } from<EMAIL_ADDRESS>import { NewUploadComponent } from './new-upload.component';
const routes = [
{
path     : 'new-upload',
component: NewUploadComponent
}
];
@NgModule({
declarations: [
NewUploadComponent
],
imports     : [
RouterModule.forChild(routes),
NgxDatatableModule,
I'm submitting a ... (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
adding NgxDatatableModule to imports as part of @NgModule causes repeatable behaviour
main.ts:29 Error: Cannot combine @Input decorators with query decorators
at core.js:26379
at Array.forEach ()
at extractQueriesMetadata (core.js:26372)
at directiveMetadata (core.js:26328)
at getDirectiveMetadata (core.js:26285)
at Function.get (core.js:26271)
at getDirectiveDef (core.js:1829)
at verifyDeclarationsHaveDefinitions (core.js:25874)
at Array.forEach ()
at verifySemanticsOfNgModuleDef (core.js:25846)
Excerpt main.ts
port { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import { hmrBootstrap } from 'hmr';
if ( environment.production )
{
enableProdMode();
}
const bootstrap = () => platformBrowserDynamic().bootstrapModule(AppModule);
if ( environment.hmr )
{
if ( module['hot'] )
{
hmrBootstrap(module, bootstrap); <-- Line 29
}
else
{
console.error('HMR is not enabled for webpack-dev-server!');
console.log('Are you using the --hmr flag for ng serve?');
}
}
else
{
bootstrap().catch(err => console.error(err));
}
Expected behavior
for example ngxdatatable to be displayed. Example taken from swimlane documentation.
Reproduction of the problem

What is the motivation / use case for changing the behavior?
just getting a datatable to display.
Please tell us about your environment:
OS X Catalina

Table version:
"@swimlane/ngx-datatable": "15.0.2",

Angular version:
"@angular/core": "10.0.9",

Browser:
Chrome 84.0.4147.125
Safari 13.0.2

No response


Doesn't work in server but works in single player

Mod Version:
1.12.2-0.9.6
Forge Version:
forge-1.12.2-<IP_ADDRESS>54
Link to client log:
attached
latest.log
Description:
The mod just doesn't work on my server but when I use it in single player it works fine i have no clue why this is the case. Sorry for not having enough info

just realised i uploaded this to dynamic surroundings not trees sorry

No worries.  I will go ahead and close out.


Slack Notifications Not Working

Description
Slack notifications are not being sent.
Upptime v1.27.0
Expected Behavior
Slack notifications should be sent.
Steps to Reproduce
I have followed the instructions to add the following as environment variables:

Environment variable
Value

NOTIFICATION_SLACK
Set to true

NOTIFICATION_SLACK_WEBHOOK
Set to true

NOTIFICATION_SLACK_WEBHOOK_URL
Slack webhook URL

I followed these instructions to set up an incoming Slack webhook.
I can manually curl and the notification gets sent to Slack:
$ curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' WEB_HOOK_URL

Logs
The logs show the notification being sent, but it was never received in Slack.

Adding the "Environment Variables" as just regular repository secrets seems to have fixed my problem. I recommend making the documentation clearer: https://upptime.js.org/docs/notifications
"Environment variable" is confusing.


Strict Mode

Microcosm has quite a few assertions under the hood to catch for impossible states. For example, this assertion runs to make sure the register() method is working with a valid action status:
console.assert(STATUSES[status], 'Invalid action status ' + status)

I'd like to expose these in a microcosm.strict.js build. Presently, they get stripped out using babel-plugin-unassert. As we discover undesirable states, we could continue to add such assertions. We might even go so far as to add warnings, which won't raise an exception, just help with using Microcosm the way we intend it to be used.
I see a few tasks:

[ ] Create a microcosm.strict.js build that does not remove assertions.
[ ] Add an installation.md guide to our docs, with information on strict mode, how to use it, and how to remove assertions in production. This could just be by providing an example Webpack module alias.

We also need to be really intentional about reporting unexpected behavior, so we can add support in this strict build.
This is somewhat related to https://github.com/vigetlabs/microcosm/issues/250

Would strict-mode by default be the most helpful to new/unknowing microcosm devs?

I think so. Yes. I'm just hesitant to end up with assertions running in production that check for things that aren't necessarily an error, but poor usage.

Sorry... what's the best way for us to accomplish this?


nixos-container-compose: if nixos-container is docker, where docker-compose for nixos-containers?

Issue description
I want to be able run group of containers imperatively.
Something like:
nixos-container-compose -f containers.nix run backend rspec where containers.nix
{
  database = {
   ...
  };
  backend = {
    dependsOn = [ database ]
    ...
  }
}

Expose ports, link containers and all other nifty things that docker-compose allows us, while keeping resulting configuration compatible with nixops. How can I do this?

Recently I wanted to test nixos module, very simple module with systemd job that starts safeeyes, and I didn't find any way to test it, except rebuild my whole configuration against local nixpkgs with this configuration using nixos-rebuild -I nixpkgs=/path/to/nixpkgs test
It would be cool if I could do something like this
# configuration-test.nix
{  pkgs }:
{
   systemd.user.services.test = ....
}

and run something like nixos-rebuild test-additive ./configuration-test.nix and it would spawn this one job, that wouldnt survive after restart or next nixos-rebuild build
Maybe this is related

I'm not sure about your second request (the additive tests), but if you're looking to imperatively manage groups of NixOS containers you'll probably want to look at the containter backend for NixOps.
The container backend isn't very well documented, but it pretty much just spawns nixos-containers for the network you describe. Using NixOps like this you'd still end up describing your containers declaritively, but they would be separate from you system configuration so they wouldn't affect what happens when you do a nixos-rebuild switch.
I think that's the closest to what you're looking for with containers.

Is this solved?

@Mic92 I think yes

@srghma Nixos containers use systemd not docker?

@CMCDragonkai I know that nixos containers use systemd, and not docker. I wanted to find tool to manage multiple containers simultaneously (like docker-compose does), and it's nixops


Use release branch of templates

@qinezh @chenkennt

Hi @herohua, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:dog:


[Forward compatibility][BUG] pkg_resources.extern.VendorImporter lacks find_spec() method

setuptools version
54.1.2 and main
Python version
3.10.0a7
OS
All
Additional environment information
When running tests for setuptools_scm.
Description
We get:
<frozen importlib._bootstrap>:933: in _find_spec
    ???
E   AttributeError: 'VendorImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:
/usr/lib/python3.10/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
/usr/lib/python3.10/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/lib/python3.10/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
/usr/lib/python3.10/site-packages/_pytest/doctest.py:129: in pytest_collect_file
    elif _is_doctest(config, path, parent):
/usr/lib/python3.10/site-packages/_pytest/doctest.py:147: in _is_doctest
    if path.check(fnmatch=glob):
/usr/lib/python3.10/site-packages/py/_path/local.py:387: in check
    return super(LocalPath, self).check(**kw)
/usr/lib/python3.10/site-packages/py/_path/common.py:241: in check
    return self.Checkers(self)._evaluate(kw)
/usr/lib/python3.10/site-packages/py/_path/common.py:108: in _evaluate
    if py.code.getrawcode(meth).co_argcount > 1:
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__init__.py:152: in __makeattr
    result = importobj(modpath, attrname)
/usr/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__init__.py:72: in importobj
    module = __import__(modpath, None, None, ['__doc__'])
/usr/lib/python3.10/site-packages/py/_code/code.py:7: in <module>
    reprlib = py.builtin._tryimport('repr', 'reprlib')
/usr/lib/python3.10/site-packages/py/_builtin.py:144: in _tryimport
    __import__(name)
<frozen importlib._bootstrap>:1021: in _find_and_load
    ???
<frozen importlib._bootstrap>:996: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _find_spec
    ???
<frozen importlib._bootstrap>:908: in _find_spec_legacy
    ???
E   ImportWarning: VendorImporter.find_spec() not found; falling back to find_module()

The traceback is not very helpful, but the VendorImporter is from pkg_resourecs.
Python added a warning: https://bugs.python.org/issue42134 but other packages treat it as error.
Expected behavior
No ImportWarning.
How to Reproduce

Get Python 3.10.0a7 and tox (e.g. on Fedora via $ sudo dnf --enablerepo=updates-testing install python3.10 tox)
git clone https://github.com/pypa/setuptools_scm.git and cd in
Run tox -e py310-test

Output
py310-test develop-inst-nodeps: .../setuptools_scm
py310-test installed: attrs==20.3.0,iniconfig==1.1.1,packaging==20.9,pluggy==0.13.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.3,-e git+https://github.com/pypa/setuptools_scm.git@abb67b15985f380d8cf4451b9f2ef3dd11cb8a91#egg=setuptools_scm,toml==0.10.2
py310-test run-test-pre: PYTHONHASHSEED='1426720794'
py310-test run-test: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.10.0a7, pytest-6.2.3, py-1.10.0, pluggy-0.13.1
cachedir: .tox/py310-test/.pytest_cache
setuptools version 53.0.0 from '.../setuptools_scm/.tox/py310-test/lib/python3.10/site-packages/setuptools/__init__.py'
setuptools_scm version 6.0.1 from '.../setuptools_scm/src/setuptools_scm/__init__.py'
rootdir: .../setuptools_scm, configfile: tox.ini, testpaths: testing
collected 0 items / 1 error

==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
<frozen importlib._bootstrap>:933: in _find_spec
    ???
E   AttributeError: 'VendorImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:
.tox/py310-test/lib/python3.10/site-packages/pluggy/hooks.py:286: in __call__
    return self._hookexec(self, self.get_hookimpls(), kwargs)
.tox/py310-test/lib/python3.10/site-packages/pluggy/manager.py:93: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
.tox/py310-test/lib/python3.10/site-packages/pluggy/manager.py:84: in <lambda>
    self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
.tox/py310-test/lib/python3.10/site-packages/_pytest/doctest.py:129: in pytest_collect_file
    elif _is_doctest(config, path, parent):
.tox/py310-test/lib/python3.10/site-packages/_pytest/doctest.py:147: in _is_doctest
    if path.check(fnmatch=glob):
.tox/py310-test/lib/python3.10/site-packages/py/_path/local.py:387: in check
    return super(LocalPath, self).check(**kw)
.tox/py310-test/lib/python3.10/site-packages/py/_path/common.py:241: in check
    return self.Checkers(self)._evaluate(kw)
.tox/py310-test/lib/python3.10/site-packages/py/_path/common.py:108: in _evaluate
    if py.code.getrawcode(meth).co_argcount > 1:
.tox/py310-test/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__init__.py:152: in __makeattr
    result = importobj(modpath, attrname)
.tox/py310-test/lib/python3.10/site-packages/py/_vendored_packages/apipkg/__init__.py:72: in importobj
    module = __import__(modpath, None, None, ['__doc__'])
.tox/py310-test/lib/python3.10/site-packages/py/_code/code.py:7: in <module>
    reprlib = py.builtin._tryimport('repr', 'reprlib')
.tox/py310-test/lib/python3.10/site-packages/py/_builtin.py:144: in _tryimport
    __import__(name)
<frozen importlib._bootstrap>:1021: in _find_and_load
    ???
<frozen importlib._bootstrap>:996: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _find_spec
    ???
<frozen importlib._bootstrap>:908: in _find_spec_legacy
    ???
E   ImportWarning: VendorImporter.find_spec() not found; falling back to find_module()
=========================== short test summary info ============================
ERROR  - ImportWarning: VendorImporter.find_spec() not found; falling back to...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.16s ===============================
ERROR: InvocationError for command .../setuptools_scm/.tox/py310-test/bin/pytest (exited with code 2)
___________________________________ summary ____________________________________
ERROR:   py310-test: commands failed

Code of Conduct
I agree to follow the PSF Code of Conduct

https://github.com/pypa/setuptools/blob/ee6a5ffd1b3ec686339e00713542a530dbb65bc8/pkg_resources/extern/__init__.py#L23-L33
https://github.com/pypa/setuptools/blob/ee6a5ffd1b3ec686339e00713542a530dbb65bc8/setuptools/extern/__init__.py#L23-L33

@hroncok pro tip: you can mark code blocks that have tracebacks with python-traceback and they'll be more colorful.

Ref: https://bugs.python.org/issue43540

In that bug, @vstinner asks @brettcannon how to fix this issue — I think the answer would be more useful right here on GitHub rather than on bpo so I tag you both in case you want to comment here :)

@hroncok @jaraco a more minimalist reproducer is
$ python3.10 -W error -c 'import pkg_resources'
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 939, in _find_spec
AttributeError: 'VendorImporter' object has no attribute 'find_spec'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "~/.pyenv/versions/3.10-dev/lib/python3.10/site-packages/pkg_resources/__init__.py", line 74, in <module>
    from pkg_resources.extern import appdirs
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1002, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 941, in _find_spec
  File "<frozen importlib._bootstrap>", line 914, in _find_spec_legacy
ImportWarning: VendorImporter.find_spec() not found; falling back to find_module()

$ python3.10 -m pip show setuptools
Name: setuptools
Version: 52.0.0
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://github.com/pypa/setuptools
Author: Python Packaging Authority
Author-email<EMAIL_ADDRESS>License: UNKNOWN
Location: ~/.pyenv/versions/3.10-dev/lib/python3.10/site-packages
Requires:
Required-by:

(I used pyenv install 3.10-dev which just got the bleeding edge CPython from the main repository)


Question about qqq_options_1m_dte_0_credit_spread.py

In your code for "How I Achieved Almost 85% Win Rate Using 0DTE Options and the Credit Spread Strategy on QQQ", I see you're using data which having some columns such as expire_date, kind, strike, open_underlying,close_underlying. Could you please give me how to have these columns?

Hi! Usually, I get all that information from polygon.io when I download the data.
In this article, I detail all the steps to download the option data from polygon.io
https://medium.com/@diegodegese/e20d46cbef3
In this article, I detail how to download the stock data from polygon.io
https://medium.com/@diegodegese/fdab4bb6bfb1
When I download the options data, I download the expire_date, kind, and strike data as part of the dataset.
When I download the stock data, I download the open and close prices for the underlying asset as part of the dataset.
After that, I merge both datasets by time to have that information merged.  Here is the code I use to do it:
import warnings
warnings.filterwarnings("ignore")

import numpy as np
import pandas as pd

UNDERLYING_TICKER = 'QQQ'
STOCKS_FILE=f'/users/diego/finance/stocks/1t/{UNDERLYING_TICKER}.csv.gz'
OPTIONS_FILE=f'/users/diego/finance/options/1t/{UNDERLYING_TICKER}.csv.gz'

# Read Files
df_stocks = pd.read_csv(STOCKS_FILE, header=0)
df_options = pd.read_csv(OPTIONS_FILE, header=0)

# Prepare datasets
df_stocks = df_stocks[['date','open','close']]
df_stocks['date'] = pd.to_datetime(df_stocks['date'])
df_stocks = df_stocks.reset_index(drop=True)

df_options['date'] = pd.to_datetime(df_options['date'])
df_options = df_options[df_options['dte'] == 0]
df_options = df_options[['date','expire_date','kind','strike','dte','open','close']]

# Add stock information to options dataset
df_options = df_options.merge(df_stocks, how='left', left_on=['date'], right_on=['date'], suffixes=('','_underlying'))
df_options = df_options.dropna().reset_index(drop=True)

# Remove non needed fields
df_options = df_options.drop(['dte'], axis=1)

# Localize time to US Eastern Time
df_options['date'] = df_options['date'].dt.tz_localize('UTC').dt.tz_convert('US/Eastern').dt.strftime('%Y-%m-%d %H:%M:%S')
print(df_options)

# Save Filtered data
df_options.to_csv(f'/tmp/{UNDERLYING_TICKER.lower()}_dte_0.csv.gz', index=False)

The result of this script is the file I use in the article.


Basic print style refinements

It looks like hiding the fixed nav and the search bar would mostly solve this problem?

@afischer additions:_
Header

[ ] Logo, breadcrumbs should render at top. Long breadcrumbs should truncate with ellipses.
[ ] User initials/profile button should not render
[ ] Header should only be on first page, not repeating
[ ] Search bar, view all docs button should be hidden
[ ] Edit button should be hidden
[ ] side margins should be removed from title
[ ] HR should be removed? maybe? up to you.

Body

[ ] left and right margins should be removed, left text should be flush with logo at top of page
[ ] :before/:after elements on inline code should be removed
[ ] Images should not break between pages
[ ] Table rows should not break between pages
[ ] Tables of contents should not render

Footer:

[ ] "Pages in" block should be hidden
[ ] HR, buttons, footer text should all be hidden.

I've updated the issue with a bunch of things I think should be fixed, but feel free to add more/push back on things you disagree with!

Can I work on this issue...

Thanks very much for checking in, @mrSidSat. This fell off my radar and I'd be grateful to see someone else pick it up. Does that sound okay to you @isaacwhite @afischer?

Sounds great to me! Feel free to open a PR if you are interested in taking this on @mrSidSat.


Timestamp for comments is in UTC, we should display it in local time

I posted as a comment, at 9:42am and it was stored correctly as 3:42pm (UTC). When we display it to the user though, we should display it in their local time.

Fixed by setting timezone to America/Edmonton


AssertionError: The num_classes (80) in UniFormer of MMDistributedDataParallel does not matches the length of CLASSES 54) in CocoDataset

AssertionError: The num_classes(80) in UniFormer of MMDistributedDataParallel does not matches the length ofCLASSES 54) in CocoDataset

Can you provide more details? If you run with your dataset, you need to change the num_classes.
https://github.com/Sense-X/UniFormer/blob/57b9086c9b54b144a9ba55d4247e2ed92d894011/object_detection/configs/_base_/models/mask_rcnn_uniformer_fpn.py#L48

Can you provide more details? If you run with your dataset, you need to change the num_classes.
https://github.com/Sense-X/UniFormer/blob/57b9086c9b54b144a9ba55d4247e2ed92d894011/object_detection/configs/_base_/models/mask_rcnn_uniformer_fpn.py#L48

I have changed the num_class in the config py、\mmdet\datasets\coco.py、\mmdet\core\evaluation\class_names.py，
then I run python3.7 setup.py install, it still shows the error

54 is the number of classes for your dataset? I guess you don't change the config correctly.
You can check the generated file (xxx.log) for training, and find whether you have already changed the num_class.
Can you provide the config that you run?

Traceback (most recent call last):   File "./tools/train.py", line 187, in <module>     main()   File "./tools/train.py", line 183, in main     meta=meta)   File "/home/lbc/UniFormer/object_detection/mmdet/apis/train.py", line 185, in train_detector     runner.run(data_loaders, cfg.workflow)   File "/home/lbc/.local/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 127, in run     epoch_runner(data_loaders[i], **kwargs)   File "/home/lbc/.local/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 45, in train     self.call_hook('before_train_epoch')   File "/home/lbc/.local/lib/python3.7/site-packages/mmcv/runner/base_runner.py", line 307, in call_hook     getattr(hook, fn_name)(self)   File "/home/lbc/UniFormer/object_detection/mmdet/datasets/utils.py", line 150, in before_train_epoch     self._check_head(runner)   File "/home/lbc/UniFormer/object_detection/mmdet/datasets/utils.py", line 137, in _check_head     (f'The num_classes` ({module.num_classes}) in '2022-02-23 16:06:53,711 - mmdet - INFO - Checkpoints will be saved to /home/lbc/UniFormer/object_detection/work_dirs/config by HardDiskBackend.
AssertionError: The num_classes (54) in ConvFCBBoxHead of MMDistributedDataParallel does not matches the length of CLASSES 80) in CocoDataset`

54 is the number of classes for your dataset? I guess you don't change the config correctly. You can check the generated file (xxx.log) for training, and find whether you have already changed the num_class. Can you provide the config that you run?

I check the log file, it does show the num_class=54, could you tell me which mmdetection edition you have used?

@Williamlizl You can find the version in version.py. It is 2.11.0.
You can install the mmdet under our repo => UniFormer/object_detection/

Moreover, could you share the detailed config and shell you run? Maybe you can open new repo and upload the config you use. I will check it.

Moreover, could you share the detailed config and shell you run? Maybe you can open new repo and upload the config you use. I will check it.

Ok ,thank u

Same issue in issue17.


Polymer 2.0 having Browser compatibility issue with IE11,IEedge & Mozilla. The SHOP Progressive app Demo itself not rendering properly in other browsers except Chrome even though enabled Pollyfills. Could any one can help us on this issue.. As we are planing to use Polymer 2.0 to build web application so kindly advice.

Description

Live Demo

http://jsbin.com/luhaxab/1/edit
Steps to Reproduce

Expected Results

Actual Results

Browsers Affected

[ ] Chrome
[x] Firefox
[x] Edge
[x] Safari 9
[x] Safari 8
[x] IE 11

Versions

Polymer: vX.X.X
webcomponents: vX.X.X

I don't experience any problems with Shop in Firefox, neither Safari 9 (just a bit slow)
Safari 8 is no longer supported
your JSBin is not expected to work in IE11 and Safari 9 without babel transpilation.
there are several issues related to IE, especially this one

@frankiefu Could you confirm/deny that shop is working in IE and Edge?

Afaik It works in Edge and IE11. There was a Shady CSS issue but it should be fixed now.

in safari version 10.1.2. it is the result.

ok. a little show. but it shows in safari.

I just tested Shop, it works in Firefox and Edge, but it does not work in IE. @frankiefu is investigating IE right now.

thx @TimvdLippe and @frankiefu

Just tested on the latest and found an issue when using es5-bundled build on IE11. I believe is related to this: https://github.com/Polymer/polymer-cli/issues/856

@TimvdLippe would you mind adding IE11 label for this repo BTW? There is an ie10 one which could be removed (since it is no longer supported)
Tagging all IE11 issues would help us developers to check if the bug is already filed, as well as to decide whether 2.0 is really production ready or not.

@web-padawan Done :smile:

We are running into the same issues for our app, and see the same error for the shop on IE11. Any update on this? It's blocking our Polymer 2 upgrade.

@tjsavage @sorvell as you can see, many users complain here and there (mostly in slack channel) about poor IE 11 support for 2.0. There are several issues which look critical once the app grows:

not inspectable elements opened 23 mar
shadydom performance opened 25 may

And there are more, e. g. broken Promise polyfill issue  which was fixed recently.
I must say it is still much better than it used to be as of 0.5, but not very much progress since 1.x (where occasional crashes happen as well as weird errors like #4455).
So, is there any official opinion regarding IE11 support? How much should it considered stable?
The blog post summarizing known limitations (no way for <template> in <table> etc) and bugs would be nice.

Update: For local development Shop is working on IE11, Edge, and Firefox with the latest releases of polymer, shadycss, and webcomponentsjs:
├─┬ polymer#2.0.2
│ ├── shadycss#1.0.5
│ └── webcomponentsjs#1.0.11

polymer serve can be used to serve the shop/ directory directly, or you can statically serve the contents of build/es5-bundled/ after doing a polymer build.

For deployment, there is a small issue with iron-location (used by app-route) that is affecting IE11 when Shop is on a host with no specified port. See https://github.com/PolymerElements/iron-location/issues/93 for more details, but this doesn't affect the inital load.

@keanulee strange, my experience is different. I will test again and make sure I am on the same version of the dependencies. Have you tried reloading the shop on IE11 a few times with console open?

@keanulee I just did another test run, still having the same issues.
I am on a MacBook Pro running Sierra. I am using Windows 7 IE11 virtualbox image from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/. I have had the same issue on a regular windows laptop as well.
I use the latest shop from the master branch of https://github.com/Polymer/shop. Polymer 2.0.2,  webcomponentsjs 1.0.11, shadycss 1.0.5. Both the built and unbuilt version crash for me.
The crash happens more often with the dev tools opened. With the dev tools closed it happens around 1 out of 10. The app stops loading halfway when it happens:
No content:

No nav bar:

Errors vary, some snippets:

I know these errors are probably not related to the shop itself, but it is the best reference application that somewhat represents a real production application.

I'd suggest we collect the specific sub version of each IE11 instance people are running these tests against. Each OS has a different current and sometimes final version, and it's also hard to say whether the IE11 you are using is actually up to that level depending on the testing environment. I've seen very specific differences between various releases, even at the subversion and bug fix number, so it'll go a long way to clarifying this line of conversation.

Good point. In my case I am running IE 11.0.9600.17420, Update version 11.0.14

Update: Just tested the same setup on Windows 10 IE 11.540.15063.0 Update Versions 11.0.45 and while I do occasionally get the same errors, it occurs far less. In 50 tries I got it perhaps twice.

@LarsDenBakker Try updating IE on the Win 7 VM - seems to be working fine with 11.0.9600.18792 / Update version 11.0.46

So, it seems that IE 11.0.9600.18792 is the most up to date version of IE 11 on Windows 7 (after updating with the 60+ updates that this VM I'm using needed), and the shop app seems to be working correctly after 10+ reloads.

IE 11.0.9600.17420 seems to be the version that shipped with Windows 7 SP1, from 2014.

Thanks for the updates guys. After updating my VM to IE 11.0.9600.18792 it is definitely more stable, but about 1 in 20 loads I still ge 'unable to get property '__catchall' of undefined or null reference'. The other errors are gone though. Seems to be similar to: https://github.com/webcomponents/shadydom/issues/168
What’s the official policy on IE11 sub versions? IE 11.0.9600.17420 seems to be installed on at least the laptops I tested at our company, and it’s the default on the VM provided by microsoft and browserstack as well.

I think we support the latest version of IE, just like the other browsers we support. I am inclined to close this particular issue in favor of https://github.com/webcomponents/shadydom/issues/168 which seems to be the last issue with IE. @azakus maybe you can take a look at that one to fix all IE11 issues? It seems that it is related to slot (https://github.com/vaadin/vaadin-board/pull/69/files and https://github.com/webcomponents/shadydom/issues/168#issuecomment-320335395)

There's now a pull request open for webcomponents/shadydom#168. Let's get that integrated and see if it clears up the remaining failures on newer IE 11 releases (e.g. IE 11.0.9600.18792).
With respect to older releases, we’d appreciate any concrete information that our enterprise-focused partners can provide to help us better understand the real-world situation with respect to IE 11 subversion penetration. Hard data would be great, but anything more than the limited picture currently painted here would be welcomed.
There’s a significant cost involved in investigating and attempting to address sporadically reproducible issues on a version of IE that is now several years old and many official MS updates behind. Prioritizing this work will require compelling evidence that it’s required.

@LarsDenBakker, we cut a new release of the polyfills last week with the fix for webcomponents/shadydom#168.
When you have a chance, can you test again to see what issues you're still observing on IE 11? Our expectation is that you'd see no errors in the latest IE 11 release. It would be great to confirm that, and also to get an updated report on what you see in older IE 11 releases now that this particular issue has been addressed.
Thanks!

@graynorton, I just left what seems like a relevant comment at https://github.com/webcomponents/custom-elements/issues/103#issuecomment-333709002 (I'm using PSK2) and then saw this - I'll follow here now too. (Just shared access to the code for that site  (https://uproxy.github.io/uproxy.org/) with you too in case it's helpful for testing)

I found this thread through https://github.com/webcomponents/shadydom/issues/117
Im having issues on Edge/IE 11 where elements seem to be ignoring ShadowDOM styling in certain scenarios. In my screenshot it can be observed that the contents of the ShadowDOM for my element is outside of the HTML node.
Im not sure this is related or not. This seems to occur when I used the this.async utils in my Hybrid elements on Polymer 2.0
Im seeing this when running a hybrid element through the Polymer CLI using Polymer 2.1.1 and WebComponentsjs  1.0.14

@graynorton , I am a colleague of Lars Den Bakker. The webcomponents/shadydom#168 fixed the __catchall issues for us, but introduced a new one, unfortunately:

Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. bower_components/webcomponentsjs/webcomponents-lite.js (bower_components/webcomponentsjs/webcomponents-lite.js) in insertBefore$1 at line 3535:9. This is using the unminified version of WebcomponentJS

When I upgrade the version of IE 11 to the latest version: IE 11.0.9600.18816 I get the '__catchall' issue again:


Explore more flexible use of macros: What if we only used nested components

This has come up in some individual examples like:

https://github.com/alphagov/govuk-frontend/issues/941
when Dave was trying to build the GOV.UK Pay example
https://github.com/alphagov/govuk-frontend/issues/570
https://github.com/alphagov/govuk-frontend/issues/718
https://github.com/alphagov/govuk-frontend/issues/514
https://github.com/alphagov/govuk-frontend/pull/1281

Do a future thinking SPIKE to see when it'd look like if we encouraged nesting as a default for our macros, what would that look like.
This would give us a better understanding of how we should structure our components in general.
While some recommendations might require breaking changes, I think doing holistic thinking and forwards thinking is good for this kind of issue.
The end of this spike might be:

simple individual improvements for specific components
or
a proposal to simplify large component apis

Just raising this as it comes up semi-frequently, someone on support wanted to be able to use radios in a more flexible manner.

Will close and add to this when it makes sense to, just wanted to make sure this didn't get lost in the old trello board.


Add popup details on main.js file

For this milestone:

Used JavaScript to manipulate DOM elements.
Used JavaScript events.

The popup window is really challenging. And I tried all I could to make the changes.
Please help me where necessary. I really hope that I pass this time. Thank you

This is my last chance to submit please, and I really hope that I pass so that I can go to the next project please.
Thank you for your help


Jesse: Watch eurokurd.mymediapc.net

Jesse requests the watch of the watch_keyword eurokurd\.mymediapc\.net. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

eurokurd\.mymediapc\.net has been seen in 1 true positive, 0 false positives, and 1 NAA.

Approved by Makyen in Charcoal HQ


Primary key / neo_id should show in #inspect for ActiveNode / ActiveRel respectively

You took care of this!


The link "Azure DevOps project" leads to a 404 page

Under the section "Development tooling integration", when I click on the link Azure DevOps project I end up in a 404 page.

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

ID: ed330edc-c3ab-d053-faad-4dc5da373b48
Version Independent ID: 625ab8a7-8379-0a1c-c633-fa7bf80f161e
Content: Introduction to Azure Kubernetes Service
Content Source: articles/aks/intro-kubernetes.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

I have assigned the issue to the content author to evaluate and update as appropriate.

@olistik Sorry for the broken link. This link has been corrected to point to https://docs.microsoft.com/en-us/azure/devops-project/overview, and the doc update should merge and publish later on on today.


Disable azure provider

Disable azure provider since we don't support it now

I verified that PR works by looking at the must gather of ci/prow/e2e-azure-techpreview . CAPZ was not deployed to the cluster.

Aren't we planning to include this in 4.12?

@JoelSpeed I'm not sure what process to follow here. Is it ok to open a PR with a new commit for 4.11 branch? or make a backport of this and then re-enable azure?

or make a backport of this and then re-enable azure?

The easiest thing is to create a bug in Jira, attach that to this, get this merged, backport using the cherry-pick command, then revert this in main

The alternative option is to go directly to 4.11 but then you need a staff eng to approve

Is this needed?
Should this be merged along with https://github.com/openshift/cluster-capi-operator/pull/75  ?


"String was not recognized as a valid DateTime."

Exception calling "Parse" with "1" argument(s): "String was not recognized as a valid DateTime."
At line:6 char:21

                [DateTime]::Parse($this.psBase.properties["InstalledOn"].Val ...

                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
FullyQualifiedErrorId : FormatException

This issue only occurs on none English systems it seems.

Do you mean non-US English machines?

Great script, very helpful.
Thanks

@EC-WTW, I actually wasn't aware that this issue only occurred for en-US. If you can reproduce the issue in en-GB then that would make testing a little 'easier' because I can create a VM with that language and not struggle with trying to translate some things. Thanks for providing your feedback.

I don't see issues on a de-DE machine.

So I am not sure what is fully causing it, but it is in the cmdlet Export-Clixml. My guess is that it isn't in the format that it expects because likely a Time Format Change, so we error out here. I ended up just moving the Export-Clixml cmdlet to after the check for errors, because it is a silent error, we wont see it anyways. This has been checked in.


dns/bind: Fix handling of multiple ACLs in allow-query/allow-transfer

Selecting multiple ACLs under the General tab currently results in invalid config:
        allow-transfer {
                ;
        };

        allow-query {
                ;
        };

This corrects the behaviour:
        allow-recursion {
                LAN;
                VPN;
        };

        allow-query {
                LAN;
                VPN;
        };

Nice catch... toList() is supposed to be used for repeating nested items, not single value items. Thanks!


Add clarifications to board and serial number descriptions

Addresses #179

@jandres742 @saik-intel  @vaidyan1-int @wdamon-intel for review


clientv3/integration: remove client keepalive in network partition tests

Those tests are about balancer endpoint switch, not about keepalive pings.

lgtm


Session timeout & editor error messages

At the moment, if your session times out while editing you aren't given any indication of this and may not find out until you try to play/publish when you get the useless 'error' alert message. Most users then close the editor, not realising that they may then lose work.

[ ] Alert users when session times out and allow them to log back in easily (ideally from within the editor)
[x] Provide more useful error messages than 'error' that indicate what the problem is and how they can fix it without losing work.

@torinfo I think I recall you saying this was fixed. Shall I close?


torchaudio v0.9.0 installation error (protobuf not found)

Hi, after installing PyTorch 1.9.0, I tried to install torchaudio v0.9.0 (release/v0.9) from source on a ppc64le machine. However, I received an error that CMake is unable to locate protobuf. The server shows a CMake version of 3.11.4 and a ninja version of 1.10.1, and switching CMake to a higher version of 3.18.4 shows the same error.
CMake Warning at /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages/torch/share/cmake/Caffe2/public/protobuf.cmake:88 (message):
  Protobuf cannot be found.  Depending on whether you are building Caffe2 or
  a Caffe2 dependent library, the next warning / error will give you more
  info.
Call Stack (most recent call first):
  /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:56 (include)
  /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
  CMakeLists.txt:67 (find_package)

CMake Error at /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:58 (message):
  Your installed Caffe2 version uses protobuf but the protobuf library cannot
  be found.  Did you accidentally remove it, or have you set the right
  CMAKE_PREFIX_PATH? If you do not have protobuf, you will need to install
  protobuf and set the library path accordingly.
Call Stack (most recent call first):
  /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
  CMakeLists.txt:67 (find_package)

but pip install protobuf gives
Requirement already satisfied: protobuf in /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages (3.14.0)
Requirement already satisfied: six>=1.9 in /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages (from protobuf) (1.15.0)

I saw the same error in (https://github.com/pytorch/audio/issues/1796) but as they installed another version of torchaudio and pytorch in the end, the issue above possibly remained for higher versions on the same system.
Here is the environment info pulled with https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
PyTorch version: 1.9.0
Is debug build: False
CUDA used to build PyTorch: 10.2
ROCM used to build PyTorch: N/A

OS: Red Hat Enterprise Linux release 8.3 (Ootpa) (ppc64le)
GCC version: (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
Clang version: Could not collect
CMake version: version 3.11.4
Libc version: glibc-2.17

Python version: 3.7.11 (default, Jul 27 2021, 15:02:35)  [GCC 7.3.0] (64-bit runtime)
Python platform: Linux-4.18.0-240.el8.ppc64le-ppc64le-with-redhat-8.3-Ootpa
Is CUDA available: False
CUDA runtime version: No CUDA
GPU models and configuration: No CUDA
Nvidia driver version: No CUDA
cuDNN version: No CUDA
HIP runtime version: N/A
MIOpen runtime version: N/A

Versions of relevant libraries:
[pip3] numpy==1.19.2
[pip3] torch==1.9.0
[pip3] torchtext==0.10.0a0+4da1de3
[pip3] torchvision==0.10.0
[conda] _pytorch_select           2.0                      cuda_2    https://opence.mit.edu
[conda] cudatoolkit               10.2.89            684.g752c550    https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda
[conda] numpy                     1.19.2           py37h6163131_0
[conda] numpy-base                1.19.2           py37h75fe3a5_0
[conda] pytorch                   1.9.0           cuda10.2_py37_1    https://opence.mit.edu
[conda] pytorch-base              1.9.0           h1234567_cuda10.2_py37_pb3.14_1    https://opence.mit.edu
[conda] torchtext                 0.10.0                   py37_1    https://opence.mit.edu
[conda] torchvision-base          0.10.0          cuda10.2_py37_1    https://opence.mit.edu

TIA for the help!

Hi @JeromeNi
The error suggests that there is an issue with the installation of PyTorch. How did you install PyTorch?
Looking at the following, it seems that pytorch-base package, which I assume is managed by your system administrator, is compiled with CUDA10.2 and protobuf 3.14.1 on Python 3.7.
[conda] pytorch                   1.9.0           cuda10.2_py37_1    https://opence.mit.edu
[conda] pytorch-base              1.9.0           h1234567_cuda10.2_py37_pb3.14_1    https://opence.mit.edu

Whereas the version you showed is 3.14.0.
Requirement already satisfied: protobuf in /nobackup/users/junruin2/anaconda3/envs/exp_spring2022/lib/python3.7/site-packages (3.14.0)

So I imagine that using the same version of protobuf that is managed by the same administrator might help it.
Also I do not know the difference between pytorch-base and pytorch above, but if both of them are valid package, then having two packages is a possible source of error.

I found that protobuf 3.14.0 is likely the correct version, as there isn't a version 3.14.1 for protobuf on its GitHub.
I will ask the system admin to see why there are two pytorches. I'm not sure if this is helpful to figuring out the error, but I found that I could complie torchaudio v0.7.2 in my PyTorch 1.9.0 environment (as well as another PyTorch v1.7.1 environment; also with two pytorches). It's just that torchaudio v0.9.0 keeps reporting this protobuf error above...

@JeromeNi  have you made any progress on this?


New behavior of view element

The  element should be consistent with other scene nodes such as  or . For instance, transformations should be set using CSS, view should be able to have children etc.
In a future release, we want that the  element adds nothing to a  element but the semantic. However, this requires to make the intrinsic camera paraters properties, and since these depend on the camera model this is deferred to a later stage.

Update script migrates to new view model: xml3d/xml3d-4to5.js@3d325b453bbe8202eb95c4f920ec94fb72ac7966

Example repository updated: xml3d/xml3d-examples@27c143f20b130254ea74e238ef2f6e8a36647f92

Documented changes in https://github.com/xml3d/xml3d.js/wiki/Migrate-to-XML3D-5.0


Disable the file field block by setting max number restriction

Fixes #2102
With the custom max_no restrictions, it will look like

@sks444 @frjo I think I found a fix for caching issue as well. It caches the form inside edit handler but it still calls the Create class get_form method. So, we can change the form's meta (max number for files) there. Let me test it and push it.

@sks444 Can you please test it again, it seems working fine for me now.

Deploying to test site now.


USB inconsistantly mounts in Model 3

I have had intermittent issues with the usb drive not showing up when plugged into my Tesla.  Almost 100% of the time if I unplug/plug back in the PI the car recognizes the drive and everything works fine.
The issue happens both in range and out of range of the archive server.  If I connect to the pi and look at the logs it goes through the unmounting/mounting process fine and shows no errors.
I have noticed from time to time if I plug the PI into my Mac I will get a drive not recognized error, but on the PI everything looks ok from what I can tell.
Is there a way for the PI to know if files are being written to the TeslaUsb drive, and if not have it remount it?

I noticed this issue as well but curiously, this issue did not occur with the original code.  I happened after I updated the setup on 31Oct.