Made design changes

I made some design changes to the AuroraJobScheduler.java and added utilities package.

@ajain13 can you change the file structure to follow the standard maven and make sure the maven build works before we can merge this PR. You can use this as a reference or other Airavata modules - https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html

@smarru I used ANT for initial check. I will look at the link right away and also look at other Airavata modules and incorporate it.

@smarru I added the file structure to follow standard maven and maven build works.

Which build tool are you using to build your code?

@shamrath  I am using Maven to build my code.

could you explain the use of modules/cloud/AuroraMarathonIntegration/src/README.md ?
and also 0.16 is released and you should change your cloud module version to 0.17-SNAPSHOT

@shamrath modules/cloud/AuroraMarathonIntegration/src/README.md file is an old README file which I will get rid off.

Change airavata-cloud parent module version too in your pom.xml, I am just here try to make travis-ci works  fine with your code.

@shamrath So when I change the parent module version, I also have to change the pom.xml of the parent directory and so on right ?

@shamrath Can you tell me what other pom.xml files require the change ? Do I have to make changes in all the pom.xml files all the way till the root folder i.e airavata/pom.xml , airavata/modules/cloud/pom.xml ?

let me change cloud module version for you.

get a git pull now and it will have 0.17-SNAPSHOT.

@shamrath  I have made some design changes in orchestrator. Should I make those changes again after the git pull as none of my changes have been merged yet.

Your local changes preserve with git pull, sometimes you will get conflicts with remote code changes, which you need to fix and commit again. Anyway as a best practice and avoid a lot of merge conflicts it is always good to keep you code sink with the remote repository.

@shamrath  I just did a rebase. I think Travis CI should work now

could you also run git merge airavata:develop and make sure there are no any conflicts? BTW hope your git branch code is sync with airavata git develop branch.

@shamrath Yes, My branch is in sync with airavata git develop branch.


Minor PCF changes

Hi CS,
I noticed that a PCF file for the HX8K is missing, so I added one. Also, comments aren't available in PCF files, which I miss because I want to document the pin assignments, for example.
Thanks for your work!
-Soeren

Line comments in .pcf's are already available : Start the line with #  and you're good.

Thanks! That wasn't obvious to me but it's all good. I altered the HX8K comment commit accordingly and dropped the one where I was implementing comments using semicolons.


Add top level package definition and it ignores packages

In the configuration below, the ONLY thing that will be deployed is the package defined at the end of the file. It ignores the packages section that describes the dependency:
project:
  name: WskDeployWithDeps
  version: 0.0.2
  packages:
    myrediskv:
      license: Apache-2.0
      version: 0.0.2
      namespace: my-namespace
      dependencies:
        poc-common-func:
          location: https://github.com/my-org/my-project
          version: 0.0.1
          inputs:
            redisURL:
              type: string
              value: my-url-goes-here
              description: Redis database URL
package:
  name: rediskv

This was found in #740

@allen-servedio this is a deprecated schema and we are working on taking support out for the same, the plan was to maintained old schema for backward compatibility for sometime last year.

also @allen-servedio please refer to https://github.com/apache/incubator-openwhisk-wskdeploy/tree/master/tests/src/integration for any working example and best practices on writing manifest/deployment files.

Understood, but the behavior it displays is surprising. Namely that when you add the deprecated package definition to your manifest, it ignores the "project -> packages" definitions.

With @mrutkows recent changes, top level package definition is now not supported and reported as fatal error:
manifest.yaml:
package:
    name: test
packages:
  IntegrationTestHelloWorld:
      actions:
        # helloworld action in NodeJS
        helloNodejs:
          function: actions/hello.js
          runtime: nodejs:6
          inputs:
            name:
              type: string
              description: name of a person
            place:
              type: string
              description: location of a person
          outputs:
            payload:
              type: string
              description: a simple greeting message, Hello World!

./wskdeploy -m manifest.yaml
Info: The API host is [openwhisk.ng.bluemix.net], from .wskprops.
Info: The auth key is set, from .wskprops.
Info: The namespace is [_], from .wskprops.
Info: The apigw access token is set, from .wskprops.
Info: Unmarshal OpenWhisk runtimes from internet at https://openwhisk.ng.bluemix.net.
Error: manifest_parser.go [104]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yaml]:
==> yaml: unmarshal errors:
==> line 17: field package not found in struct parsers.YAML


VS Code: interpreter and extensions do not load

I need your help to install python select interpreter and its extensions to vs code in the next version:
Version: 1.75.1 (user setup), Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf,   Date: 2023-02-08T21:32:34.589Z
Electron: 19.1.9 ,  Chromium: 102.0.5005.194,   Node.js: 16.14.2 ,  V8: <IP_ADDRESS>-electron.0
OS: Windows NT x64 10.0.19045 ,   Sandboxed: No
It gives the following error:
1-	Error while installing 'Python' extension. Please check the log for more details.
Try downloing manually
I tried manually by inserting the file :
And the following message appeared:
SignatureIntegrityCheckFailed,SignatureIntegrityCheckFailed
The error log message was:
{"$id":"1","innerException":null,"message":"Request was blocked due to exceeding usage of resource 'Count' in namespace 'AnonymousId'. For more information on why your request was blocked, see the topic "Rate limits" on the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=823950).","typeName":"Microsoft.TeamFoundation.Framework.Server.RequestBlockedException, Microsoft.TeamFoundation.Framework.Server","typeKey":"RequestBlockedException","errorCode":0,"eventId":3000}
Thank you
Benigno Lopes
Sintra, Portugal

Seems that all these issues are related to the same problem ( #174326 #174332 #174301 #174238 #174270 #174189 #174156 #174147 )
Extensions that do not work, do not install or gets removed after reopening vscode.
I am experiencing the same problem, i even downgraded to still be able to work.

Seems that all these issues are related to the same problem ( #174326 #174332 #174301 #174238 #174270 #174189 #174156 #174147 ) Extensions that do not work, do not install or gets removed after reopening vscode.
I am experiencing the same problem, i even downgraded to still be able to work.

Downgrade the version of vscode or the python extension version?
What version is it down to?

Can you please try to reproduce and share with us following logs?

From Extensions UI
Install the Extensions
F1 > Open View... > Shared - share this log

CC @isidorn
Could be signing related.

Error while installing 'Python' extension

@joyceerhl This looks like it should be investigated in VS Code?

hi
Thank you all, but I downgraded to the previous version 1.74.3 and it works fine now.

@BenignoLopes47 ok, but can you help us in trying to narrow down the issue by following Sandeep's steps from https://github.com/microsoft/vscode/issues/174298#issuecomment-1431377619


Error during the compilation of torchvision from source, i have compiled pytorch 1.1 version from source even upgraded the gcc version 6. yet unsuccessful. looking forward to the solution. thanks.

building 'torchvision.video_reader' extension
creating build/temp.linux-x86_64-3.6/opt/Data/./vision/torchvision/csrc/cpu/video_reader
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/opt/Data/./vision/torchvision/csrc/cpu/video_reader -I/usr/include -I/opt/Data/./vision/torchvision/csrc -I/usr/local/lib/python3.6/dist-packages/torch/include -I/usr/local/lib/python3.6/dist-packages/torch/include/torch/csrc/api/include -I/usr/local/lib/python3.6/dist-packages/torch/include/TH -I/usr/local/lib/python3.6/dist-packages/torch/include/THC -I/usr/include/python3.6m -c /opt/Data/./vision/torchvision/csrc/cpu/video_reader/FfmpegAudioSampler.cpp -o build/temp.linux-x86_64-3.6/opt/Data/./vision/torchvision/csrc/cpu/video_reader/FfmpegAudioSampler.o -std=c++14 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=video_reader -D_GLIBCXX_USE_CXX11_ABI=0
x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-std=c++14’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hi,
Just FYI TorchVision from master requires PyTorch from a nightly version, so it will not work with PyTorch 1.1 (nor 1.2).
This error is different though, and it seems that your GCC doesn't support C++14.
@stephenyan1231 is C++14 a requirement to your extension, or can it be removed?

This issue appears to be stale, so I'm closing it. If you think it should remain open, feel free to reopen it.

This issue appears to be stale, so I'm closing it. If you think it should remain open, feel free to reopen it.


Should Insert column(s) left be Insert column(s) right?

This actually inserts a new column to the right not the left, correct?

Hi @ADefWebserver,
It should be inserting a new column to the left - the new column will be to the left of the selected column and everything (including that column) gets shifted to the right:

Do you think the current label is clear enough?

Worth noting the column headers won't shift (unless you have a custom header) as they are determined when rendering using the column index.

You are correct. I apologize. Thank You

All good @ADefWebserver, no problems at all :)

By the way this control will be highly featured in my presentation at: https://www.dotnetconf.net/

By the way this control will be highly featured in my presentation at: https://www.dotnetconf.net/

That's great, I'll keep an eye out!

The session is here: Using Blazor to manage data in SQL server and Microsoft Fabric


IDVA6-1718 Update email on check the details page

Link to Jira
https://companieshouse.atlassian.net/browse/IDVA6-1718

Updates the name of the email on check the details page.
Update unit test to check for both logged in email and new user email.

CI: No security warnings found


[Snyk] Security upgrade jinja2 from 3.1.4 to 3.1.5

Snyk has created this PR to fix 2 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

requirements.txt

⚠ Warning
eautifulsoup4 4.12.3 requires soupsieve, which is not installed.

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Thanks. I will be moving to a JavaScript app for most search using code on
the adafruit website. I think most downloads are from bots that are using
the html interface, and the lambda api charges are now more than $30 a
month.
On Mon, Dec 30, 2024 at 9:28 AM Alex Nelson @.***>
wrote:

Merged #117
https://github.com/digitalcorpora/digitalcorpora_app/pull/117 into
bottle-main.
—
Reply to this email directly, view it on GitHub
https://github.com/digitalcorpora/digitalcorpora_app/pull/117#event-15784872767,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMFHLALGX56DJ7CYXWJAMD2IFKATAVCNFSM6AAAAABULKEEOWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVG44DIOBXGI3TMNY
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>


how to implement a fill cicle  and sprite(icon) mix show？

I wang to implement a fill cicle and sprite(icon) mix show  on a single point

You should be able to easily accomplish this by using two different styles in the same draw group. See the documentation on draw groups (link) for details.

@ccxxbb was this able to resolve your issue? Also, I might recommend that you check out the tangram-chat gitter as another place for support.
https://gitter.im/tangrams/tangram-chat

This  is effective，thank you .  I'll follow tangram-chat gitter later


Publish lib utils 1.0.3 for API discovery redux action helpers

Publishes https://github.com/openshift/dynamic-plugin-sdk/pull/191

Codecov Report
Base: 38.41% // Head: 38.41% // No change to project coverage :thumbsup:

Coverage data is based on head (bb03044) compared to base (364a2d7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #194   +/-   ##
=======================================
  Coverage   38.41%   38.41%
=======================================
  Files          64       64
  Lines        1588     1588
  Branches      353      353
=======================================
  Hits          610      610
  Misses        943      943
  Partials       35       35

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/lgtm


Update RandomPYP to reject variant number

This fixes a bug where one could enter a variant number, which appended to the random variant number, would mess up the paper code.

Rather than using a string option in the SlashCommandBuilder, directly use an integer option.


Wait until "start" event to import native containers into rancher

We changed the functionality of native docker integration so that it no longer imports containers on "create" and instead waits until the container is started.
For the typical docker run scenario, this won't really change the functionality for the user, but if the user does a docker create and doesn't follow it up with docker start, that container will not be imported into rancher.

Note that this is not in the 20.x release. Will be in the 21 release

Tested with server version - v0.22.0-rc1.
When containers are created with docker create , containers do not get synced to cattle server.
When containers are started (using docker start) ,  containers get synced to cattle server.
sangeetha [2:45 PM]
When i did docker start , I see the container synced to cattle server


Packaged source

Will you release packaged source file? That would be great. Thanks.

Checkout the docs here https://www.cornerstonejs.org/docs/getting-started/installation

Checkout the docs here https://www.cornerstonejs.org/docs/getting-started/installation

Thanks for your help, but I do not use Node. I import cornerstone.js in a script tag. I'd appreciate to do the same for cornerstone3d. I'm trying to package it from your release but I can't find how.

Checkout the docs here https://www.cornerstonejs.org/docs/getting-started/installation

Thanks for your help, but I do not use Node. I import cornerstone.js in a script tag. I'd appreciate to do the same for cornerstone3d. I'm trying to package it from your release but I can't find how.

Hi,
To give you more details, mainly we try to build a dist version of cornerstone 3d, to use it from vanilla js in browser.
We ran the command from the doc, and tried to use the js file generated in package\core\dist\umd\index.js.
But this file refuse to load in the browser.
How could we do to generate a js file version of cornerstone3d, that will be able to load in the browser ?
All the best,
Michel

What error does it give?


Blank authentication page / root view controller issue

When confirming a setup intent, the safari view controller does not load the page.
Changing line 311 of index.ios.ts to the following fixes the issue:
const rootVC = this._rootViewController;

Why is Frame.topmost().currentPage.ios causing an issue for us? Are you aware of any known problems?

I think this is the issue we are experiencing: https://blog.rizwan.dev/blog/blank_safari_viewcontroller


[TRACKING] All docs to conform to style guide

:point_right:  Style Guide :point_left:
{Please reference this PR and add a #<issue number> in this comment or the thread}

need a new one now.


Make a log of requests for schema reports

I feel like @pkalita-lbl @sujaypatil96 and I get requests for making scoped reports about nmdc-schema elements on a regular basis. Some of these requests are similar to things that can be looked up in the documentation, but might also be a starting point for making a spreadsheet that a squad or individual will use to track progress on their work.
We also have the local/usage_template.tsv target in project.Makefile, which creates a TSV representation of our ClassDefinitions, SlotDefinitions, and slot_usages. It doesn't show the details of enums, or all slot-to-class assignments, structured_pattern settings, and probably more. Maybe that should be committed into assets/misc?
I tired to expose nmdc-schema Jupyter notebooks in binder but didn't get immediate satisfaction. So I started https://github.com/microbiomedata/binder-for-linkml-proj, which does work via https://mybinder.org/v2/gh/microbiomedata/binder-for-linkml-proj/d13153a59806b2e2af[…]9fff20f1f0e?urlpath=lab%2Ftree%2Fnotebooks%2Fhello_world.ipynb
@cmungall has pointed out that getting the nmdc-schema repo to work in binder may not be a great use of time.
So I'd like to have better tracking of the times when people ask for some report that is derived from the schema because they can't get what the want form the documentation.

For example, there have been many times when I have wanted to give people a list of all NMDC alternative_identifier sub-properties. For now, that requires a lot of pointing a clicking around https://microbiomedata.github.io/nmdc-schema/external_database_identifiers/
see use case from

https://github.com/microbiomedata/nmdc-schema/issues/1130


security: Explicitly use recommended image-spec and runc versions

Pick up fixes for CVE-2021-43784 (runc v1.0.3) and
GHSA-77vh-xpmg-72qh (image-spec v1.0.2) as recommended by
GH dependabot.
https://github.com/advisories/GHSA-v95c-p5hm-xq8f
https://github.com/advisories/GHSA-77vh-xpmg-72qh
Signed-off-by: Flavio Fernandes<EMAIL_ADDRESS>

@amorenoz @dave-tucker PTAL

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 72.472%

Files with Coverage Reduction
New Missed Lines
%

client/client.go
1
64.64%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
4278

Relevant Lines:
5903

💛  - Coveralls

nvm... I failed to notice the req from<EMAIL_ADDRESS>which is really what needs to
change in order to make dependabot happy. Sorry for the noise.


How get value from input field?

How get value from input field? I try add additional information when users type in input field. How can I get access to value in this input?

Hi, can you provide more information on what you are trying to do?

Ok. I have an input filed (attributeId of the object). I want make next thing. When user type attributeId I want that in some field appear name of this attributeId. I think make this use asynchronous request, but I don't know hot get value of Id, because the all html generated by angular-json-form liblrary.

May be there is way mark input field in json schema and then use it?

Hi,
you can  probably use onChanges() to get the form values while the user is typing, or if you want to wait, add a button in your layout with a click() action and pass the "model" object.
You can put your data in another input using a [()] binding with ngModel.

I want next: when user inputId of object - appear field with name of object below input field.

You can use a simple condition for this, you can find the details in
another recent bug report
On Tue, Mar 13, 2018, 13:30 person2713<EMAIL_ADDRESS>wrote:

I want next: when user inputId of object - appear field with name of
object below input field.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dschnelldavis/angular2-json-schema-form/issues/229#issuecomment-372648798,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKwAVWxXxSb_5deg7iprjO3IH5cCtXOGks5td7vJgaJpZM4SmwHp
.

But, I want send async request and if object exists output it's name.

I think you speak about this example:
{ "title": "Yes I want spam.",           "type": "checkbox",           "key": "comments[].spam",           "condition": "model.comments[arrayIndex].email"         }


How can I change the color of commands in vs code terminal?

Sir, I want to ask that why the color of the command in the first terminal (which is git bash) is not changed as the one in the second terminal (which is powershell) and also tell how can I fix it.

It looks like you're using the Java extension contributed terminal. I cannot reproduce the problem in plain pwsh terminals in vscode, so create an issue for them or tweak your settings.

Sir, the same issue is not only happening with Java but with Python too. Is it too caused by the extension?

yes


Better async support

Moving the check outside let's us avoid _arequest_as_stream waiting on await result.text() before it starts streaming, as in here.


Pick multiple files

I see no option to pick multiple files, and I know next to nothing about what is going on here, I tried to modify the project as follow:
create a new file FileMultiPicker.cs
using Pickers.Classes;
using Pickers.Enums;

namespace Pickers;

/// <summary>
/// Class responsible for file pick dialog.
/// </summary>
public class FileMultiPicker
{
    // ...
    // copy from FileOpenPicker.cs
    // ...

    public List<string> Show(List<string>? typeFilters = null)
    {
        return Helper.ShowMulti(_windowHandle, FOS.FOS_ALLOWMULTISELECT | FOS.FOS_FORCEFILESYSTEM, typeFilters);
    }
}

in Helper.cs, add
    internal static List<string> ShowMulti(nint windowHandle, FOS fos, List<string>? typeFilters = null)
    {
        var dialog = new FileOpenDialog();
        try
        {
            dialog.SetOptions(fos);

            if (typeFilters != null)
            {
                typeFilters.Insert(0, string.Join("; ", typeFilters));
                var filterSpecs = typeFilters.Select(f => new COMDLG_FILTERSPEC(f)).ToArray();

                dialog.SetFileTypes((uint)filterSpecs.Length, filterSpecs);
            }

            if (dialog.Show(windowHandle) != 0)
                return new();

            dialog.GetResults(out var items);
            List<string> result = new();
            items.GetCount(out var count);
            for (uint i = 0; i < count; i++)
            {
                items.GetItemAt(i, out var item);
                item.GetDisplayName(SIGDN.SIGDN_FILESYSPATH, out var path);
                result.Add(path);
            }
            return result;
        }
        catch (Exception ex)
        {
            return new();
        }
        finally
        {
#pragma warning disable CA1416
            Marshal.ReleaseComObject(dialog);
#pragma warning restore CA1416
        }
    }

move from IFileOpenDialog.cs to IFileDialog.cs
    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    void GetResults([MarshalAs(UnmanagedType.Interface)] out IShellItemArray ppenum);

    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    void GetSelectedItems([MarshalAs(UnmanagedType.Interface)] out IShellItemArray ppsai);

the code run, but at dialog.GetResults(out var items);, it returns null as if no file was selected
if I could get some help or pointed to a right direction I would appreciate it

after a bit of digging, I think that I shouldn't move
    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    void GetResults([MarshalAs(UnmanagedType.Interface)] out IShellItemArray ppenum);

    [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
    void GetSelectedItems([MarshalAs(UnmanagedType.Interface)] out IShellItemArray ppsai);

so I reverse it and now it throw another error: Value does not fall within the expected range at dialog.GetResults(out var items);

Hello @MercuryVN , look at this solution https://stackoverflow.com/questions/11624298/how-do-i-use-openfiledialog-to-select-a-folder/66187224#66187224
It's seems works fine! I've checked with folders and files.


Allowed-Origins contains ${distro_id}:${distro_codename}

Affected Puppet, Ruby, OS and module versions/distributions

Puppet: 4.8.2
Ruby: 2.3.3
Distribution: Ubuntu 17.04 Zesty
Module version: 3.0.0

How to reproduce (e.g Puppet code you use)
FILE: site/profile/manifests/base.pp
# Base profile (includes component modules for all nodes)
class profile::base {
  include unattended_upgrades

  # (... unrelated package and service declaration here ...)
}

What are you seeing
After puppet agent has run on the target machine the unattended_upgrades configuration contains the following:
FILE: /etc/apt/apt.conf.d/50unattended-upgrades
// This file is managed by Puppet. DO NOT EDIT.
// Automatically upgrade packages from these (origin:archive) pairs
//
// Note that in Ubuntu security updates may pull in new dependencies
// from non-security sources (e.g. chromium). By allowing the release
// pocket these get automatically pulled in.
Unattended-Upgrade::Allowed-Origins {
        "${distro_id}:${distro_codename}";
        "${distro_id}:${distro_codename}-security";
};

// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
};

// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
Unattended-Upgrade::AutoFixInterruptedDpkg "true";

// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
Unattended-Upgrade::MinimalSteps "true";

// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
Unattended-Upgrade::InstallOnShutdown "false";

// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";

// Automatically reboot *WITHOUT CONFIRMATION*
// if the file /var/run/reboot-required is found after the upgrade
Unattended-Upgrade::Automatic-Reboot "false";

// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
Unattended-Upgrade::Automatic-Reboot-Time "now";

What behaviour did you expect instead
The Allowed-Origins section should look like this:
Unattended-Upgrade::Allowed-Origins {
        "Ubuntu:zesty";
        "Ubuntu:zesty-security";
};

Output log
$ puppet --version
4.8.2
$ facter --version
2.4.6
$ facter | grep dist
lsbdistcodename => zesty
lsbdistdescription => Ubuntu 17.04
lsbdistid => Ubuntu
lsbdistrelease => 17.04
lsbmajdistrelease => 17.04
os => {"name"=>"Ubuntu", "family"=>"Debian", "release"=>{"major"=>"17.04", "full"=>"17.04"}, "lsb"=>{"distcodename"=>"zesty", "distid"=>"Ubuntu", "distdescription"=>"Ubuntu 17.04", "distrelease"=>"17.04", "majdistrelease"=>"17.04"}}
$

Any additional information you'd like to impart
It looks like the variables ${distro_id} and ${distro_codename} are encapsulated in ${os} on our Ubuntu system.

Can anyone confirm this is a real issue (and not a configuration mistake)?
Can anyone give hints on how to fix the issue? I'd readily place a PR.

Anyone monitoring this repo? :worried:

After reading https://github.com/voxpupuli/puppet-unattended_upgrades/blob/master/manifests/params.pp this looks intended and the history suggests this is a long time practice.

No, but seriously, a string "${distro_id}:${distro_codename}" in a generated configuration file must be something that is broken. The placeholders are maybe meant to be replaced later in the setup process, or so?
Maybe I have missed to set this somewhere explicitly? Or the module needs some explicit initialization?

No, this is intended behavior. https://help.ubuntu.com/community/AutomaticSecurityUpdates#Using_the_.22unattended-upgrades.22_package suggests the exact same thing and even states:

${distro_id} and ${distro_codename} will be automatically expanded

I see. Thanks for the clarification!


Is [Pre-Trained models] downloads link still works ?

Thank for this awsome project.
https://petalica-paint.pixiv.dev/downloads/
I downloaded all the files in this page, which it's content like this below:
version https://git-lfs.github.com/spec/v1
oid sha256:6279d1cf58e4de48e126b218a3f1776a2ad02f820fc3c03285b09c65e3d236bf
size 68143397
Looks like a type file of  git, how can I get the origin/correct file .
Thanks.

Thank you fukudama, it works now  : )


docs: add performance note for eBPF in install instructions

Signed-off-by: lucklypse<EMAIL_ADDRESS>What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind translation

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area videos

What this PR does / why we need it:
Add a performance note to the eBPF probe. If jit is not available Falco's performance would be very degraded so warn the user about this at install time.
Which issue(s) this PR fixes:

Fixes #494
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: lucklypse
To complete the pull request process, please assign kris-nova after the PR has been reviewed.
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

5894201 clarify "enable the bpf jit compiler"

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

LGTM label has been added.  Git tree hash: e80f3788f55d8dc3a7a6ba3e0cd2b5e1a8203fd7

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, lucklypse
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Gateway API versioning

Add a gateway API version and make gateway clients aware of it. Would help with issue created when server is running https://github.com/fedimint/fedimint/pull/3847 but client is on older version.

Is this sufficient?
https://github.com/fedimint/fedimint/blob/07a91304f6f4bc5ec0bd9de3d98ba2afe4d8705c/gateway/ln-gateway/src/state_machine/mod.rs#L142


Initial commit of Minio docs.

Can you guys help in formatting of developer guide? We want it to have two sections "Create Minio Instance" and "Using Minio" similar to http://docs.pivotal.io/p-mysql/2-1/index.html where in Deveoper Guide has multiple sections of "Using" "Customisong" etc.

@krishnasrinivas Thanks! I will review with the docs team and get back to you with any feedback.


fix building without BIGINT

someone forgot ifdef for bigint
JerryScript-DCO-1.0-Signed-off-by: Maciej Musiał<EMAIL_ADDRESS>

Thanks, the fix is necessary but currently it is just a half-solution. Please guard the bigint related usages in ecma_set_typedarray_element method as well.

Can you elaborate?

Thanks, the fix is necessary but currently it is just a half-solution. Please guard the bigint related usages in ecma_set_typedarray_element method as well.

Can you elaborate?

As I saw, the ecma_bigint_to_bigint call is not guarded inside the mentioned function neither, but it should be. You can receive a more detailed error message if you run the build without the bigint builtin.

Obviously, that's why I created this pull request, it adds the guard. But you flagged the pull request as "Changes requested", so that's what I'm asking you about, what additional changes do you need?

There is at least one more build fail related to ecma_bigint_to_bigint:
jerryscript/jerry-core/ecma/operations/ecma-atomics-object.c:171:11: error: implicit declaration of function ‘ecma_bigint_to_bigint’; did you mean ‘jerry_bigint_to_digits’? [-Werror=implicit-function-declaration]
171 |     val = ecma_bigint_to_bigint (value, true);
|           ^~~~~~~~~~~~~~~~~~~~~

Although the additional bug is still present in your branch, within that line that @ossy-szeged marked, please rebase it onto master, and you will see which function contains the issue and what I mentioned to you and which where you also needs to add guards if the mentioned builtin is not enabled. You just need to follow the instructions you wrote in your PR, meaning build the project with the bigint builtin disabled, you will see what is required and why i requested changes...

I see, I didn't notice the issue in ecma-atomics-object.c, because I was building with atomics disabled. Thank you for pointing it out.

After #5166 this is fixes the build, no need for changes.

Let's merge it as is, atomics part is fixed in #5166


Fatal error

Fatal error: Call to undefined method Kirki_Controls::control_clean() in .../vendor/aristath/kirki/includes/helpers.php on line 32
We have the latest master branch as of today at 7:45pm Paris time

Hey there! Can you please check now?

I'll try tomorrow and open a new issue if not resolved.
Would be great if you could be a little more strict on your usage of git/packagist. For a start as soon as possible, please link packagist to the github web hooks and make a first tag so that we can start using kirki from composer with a proper version number dependency.
Also, would be good if you could work on a "develop" branch and merge that branch to "master" only when you tag a new release. This would avoid getting such fatal errors while we are developing.


Modify Makefile to allow DOCKER_HUB_ID to be overridden by env var

In the future we plan to have a more advanced CI/CD process and allowing the DOCKER_HUB_ID to be overridden by an environment variable will needed.
We should change
DOCKERHUB_ID:=ibmosquito

to the following
DOCKER_HUB_ID ?= ibmosquito

Can I get assigned to this issue?

You got it, @c-bommu

How's your progress, @c-bommu?  Let me know if you have any questions.


MTS 200 unable to setup

Since the last Merossupdate for the MTS 200 I couldn't setup 2 of my 3 thermostat.
Is it possible to manually discover the both thermostats? The WLAN symbol is blinking an I reset the unit several times. They are not in the ignored section.
Should I reinstall the whole MerossLAN Integration?

Hello @FelixGraf404 ,
I don't think a full meross_lan reinstall is needed.
One thing could be the device IP address changed so you sould need to manually update the configuration for the device in meross_lan.
I guess your thermostats are also paired to the Meross app: if this is the case, are they working good with the original app?
I don't have any device manual available but the wifi blinking usually means the device is trying (unsuccesfully?) to register to the wifi network or, maybe, it is still in device pairing mode so you need the app to properly (re)configure it.


Overlays not visible when range < x

Add overlays to my chart and noticed that when x range is less than ? the SMA is not displayed.  When i zoom out it pops back in. Could this have something to do with "Spline" ?
Code:

Hey, thank for testing, but we can really move faster with codesandbox samples (yes, it's free)

great thanks. made a hacky example ,will work more on it on sandbox 😊. it does not work the same as on my pc for some reason, will add the sma and fix the "no data tag" tomorrow.
https://codesandbox.io/embed/rough-frog-mixzxm?codemirror=1

Already can see that you are not updating it correctly, you need something like https://medium.com/ottofellercom/how-to-make-react-js-not-that-reactive-d680392da02d
and update method.

https://codesandbox.io/s/react-night-vision-6vkjfo
This actually works with react, problem now is passing data to the component.  But for my case as it's built with socket.io i can just get the data right in the stockchart component.
Hopefully someone more skills than me can solve this :)

You are using version 0.2.3 , update('data') was added in 0.2.4

updated 👍 forgot to change it back from testing

Would you say vue 3 would be an better option than react for this project?
at this point I have the option to choose as I'm not too invested.  or to just go vanilla

I'd recommend Svelte, it's the fastest. (both performance-wise and development-wise)

oh ic. will have a look at that 😊

Moved all my code to Svelte and i have to say WOW.  way cleaner code! this will be my goto in the future. Thanks for that :)
If you don't mind as i'm new to svelte. Is this the correct way to mount the library?
It works but i'm just not sure if this is the best way.

<script>
    import { onMount } from "svelte";
    import { NightVision } from "night-vision";
    onMount(() => {
        let data = {
            panes: [
                {
                    overlays: [
                        {
                            name: "BTC-USD-221239",
                            type: "Candles",
                            main: true,
                            data: [],
                        },
                    ],
                },
            ],
        };
        let chart = new NightVision("stockchart", {
            autoResize: true,
        });
        chart.data = data;
    });
</script>

<div id="stockchart" />

Yes, this is the way ; )


ECON Sector Dashboard - JED Requests not Showing

Describe the bug in current situation
An econ sector user reached out and asked why JED requests were not showing in their dashboard.
The issue is not happening in test, and it is unknown when this issue began.
Link bug to the User Story
Impact of this bug
Ministry users can not accurately report/see their requests in Redash
Chance of Occurring (high/)
Pre Conditions: which Env, any pre-requesites or assumptions to execute steps?
Steps to Reproduce
Steps to reproduce the behavior:

Go to combined ECON sector dashboard
Try to filter to JED requests
See error

Actual/ observed behaviour/ results
Expected behaviour
A clear and concise description of what you expected to happen. Use the gherking language.
Screenshots/ Visual Reference/ Source
If applicable, add screenshots to help explain your problem. You an use screengrab.

This issue was raised to me by the new ED over at ECON sector.
cc: @lmullane @abin-aot @KyEggleston

@m-prodan - I believe I resolved this, and confirm when you're back. Able to filter by JED now, and all widgets include JED requests now (assuming filter Ministry= 'All' OR Ministry= 'JED').

cc: @abin-aot @lmullane

Closing ticket as it appears to be working as expected again - thanks @KyEggleston


Flaky test: OnProvidersExecuting_CachesEntries

This test fails occasionally with the following error:
System.BadImageFormatException : The signature is incorrect.

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
CC @Eilon,@muratg,@mkArtakMSFT
This issue was made automatically. If there is a problem contact @ryanbrandenburg.

Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact @ryanbrandenburg.

@mkArtakMSFT please assign.

@pranavkm, can you please look into this? Thanks!

Issue with Moq - https://github.com/castleproject/Core/issues/193. Using https://github.com/aspnet/Mvc/issues/8157 to track upgrading the dependency.

If this is an ongoing issue you're better off leaving this issue open and marking it as blocked. If you close it and it fails again the bot is just going to open up a new issue.

Assigning to @dougbu. This can be closed when https://github.com/aspnet/Mvc/issues/8157 is fixed.

Closing as the upgrade (aspnet/AspNetCore@904c9d3623) more than two weeks ago seems to have cleared all similar failures.


i2s tests fail to build for sam_v71_xult board

Describe the bug
I2S tests fail to build for the sam_v71_xult board. There are a few issues present here:

Overlays for the sam_v71_xult/samv71q21b target are missing
I2S speed test does not seem to be supported, but is run by twister

Please also mention any information which could help others to understand
the problem you're facing:

What target platform are you using?
Builds are failing on sam_v71_xult/samv71q21 and sam_v71_xult/samv71q21b targets
What have you tried to diagnose or workaround this issue?
Creating overlays for the sam_v71_xult/samv71q21b, this still does not fix the I2S speed test
Is this a regression? If yes, have you been able to "git bisect" it to a
specific commit?
Seems to be introduced by transition to HWMv2 for the sam_v71_xult/samv71q21b. Less clear on the I2S speed test issue

To Reproduce
Steps to reproduce the behavior:
1 ./scripts/twister -p sam_v71_xult/samv71q21 -T tests/drivers/i2s/
2. ./scripts/twister -p sam_v71_xult/samv71q21b -T tests/drivers/i2s/
Impact
Blocking CI on #69833
Logs and console output
Same error for I2S speed and I2S API test. Seems like a case of the xdmac node not being enabled
/home/danieldegrasse/zephyr/zephyrproject/zephyr/include/zephyr/device.h:89:41: error: '__device_dts_ord_48' undeclared here (not in a function); did you mean '__device_dts_ord_18'?
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                         ^~~~~~~~~
/home/danieldegrasse/zephyr/zephyrproject/zephyr/include/zephyr/toolchain/common.h:137:26: note: in definition of macro '_DO_CONCAT'
  137 | #define _DO_CONCAT(x, y) x ## y
      |                          ^
/home/danieldegrasse/zephyr/zephyrproject/zephyr/include/zephyr/device.h:89:33: note: in expansion of macro '_CONCAT'
   89 | #define DEVICE_NAME_GET(dev_id) _CONCAT(__device_, dev_id)
      |                                 ^~~~~~~
/home/danieldegrasse/zephyr/zephyrproject/zephyr/include/zephyr/device.h:216:37: note: in expansion of macro 'DEVICE_NAME_GET'
  216 | #define DEVICE_DT_NAME_GET(node_id) DEVICE_NAME_GET(Z_DEVICE_DT_DEV_ID(node_id))
      |                                     ^~~~~~~~~~~~~~~
/home/danieldegrasse/zephyr/zephyrproject/zephyr/include/zephyr/device.h:233:34: note: in expansion of macro 'DEVICE_DT_NAME_GET'
  233 | #define DEVICE_DT_GET(node_id) (&DEVICE_DT_NAME_GET(node_id))
      |                                  ^~~~~~~~~~~~~~~~~~
/home/danieldegrasse/zephyr/zephyrproject/zephyr/drivers/i2s/i2s_sam_ssc.c:1017:20: note: in expansion of macro 'DEVICE_DT_GET'
 1017 |         .dev_dma = DEVICE_DT_GET(DT_INST_DMAS_CTLR_BY_NAME(0, tx)),

@nandojve can you take a look at this? I'd add the overlay for the sam_v71_xult/samv71q21b target myself, but it is less clear how to solve the I2S speed test build failure, since it seems like the test may not be supported on this platform?


Insertion sort in Linkedlist #261

Insertion sort in Linkedlist #261

@tarun26091999 Pls Review the Same. Thanks

@tarun26091999 pls review the changes

invalid PR


chore: incorrect move of vote

Purpose
Again we did move an object inside 2 loops
How does the solution address the problem

Changes made

prnet cleaned-up successfully


universe fix in Fold

Attempt at fixing the universe issue in Fold. It is not pretty and I'm not expecting you to merge this PR. It is here just to document what needs to change.

Closing as #21 is much better solution


Support html-style comments

TypeScript Version:  1.8.0
Code
<!-- console.log(1) -->

Expected behavior:
The ECMAScript spec defines HTML-style comments that are allowed in scripts, so the above script is syntactically valid. This syntax is allowed in browsers and Node.
Actual behavior:
Syntax error.

Not sure if the typescript core team will pick this up but should be a nice PR if anyone wants to take a stab at it.

Interesting.

I think we'd be willing to take a PR but I'll let this get triaged first.

This is blocking me from adopting TypeScript

@RyanCavanaugh would you consider switching to TypeScript if if allowed you to write /* a comment */: HTMLComment and it downlevelled this to ` your JS output?

:bike: :house: I'd prefer the flag name --allowLameStyleComments

BTW this will be a breaking change for us. We use files full of HTML comments, which we pass to TypeScript and rely on its CPU-intensive error-handling logic to heat our office. But we could probably migrate to using E4X instead.

Reference to the spec: http://www.ecma-international.org/ecma-262/6.0/#sec-html-like-comments
one note, it is not supported when parsing modules.

I am wondering why they felt the need to extends the comment syntax...

From Annex B in the spec (emphasis mine).

This annex describes various legacy features and other characteristics of web browser based ECMAScript implementations. All of the language features and behaviours specified in this annex have one or more undesirable characteristics and in the absence of legacy usage would be removed from this specification. However, the usage of these features by large numbers of existing web pages means that web browsers must continue to support them. The specifications in this annex defined the requirements for interoperable implementations of these legacy features.

These features are not considered part of the core ECMAScript language. Programmers should not use or assume the existence of these features and behaviours when writing new ECMAScript code. ECMAScript implementations are discouraged from implementing these features unless the implementation is part of a web browser or is required to run the same legacy ECMAScript code that web browsers encounter.

@mhegazy: Good point about modules - I missed that in my earlier reading. I guess that drops the severity of this issue from super severe to just pretty severe, right?

:D

ECMAScript implementations are discouraged from implementing these features unless the implementation is part of a web browser or is required to run the same legacy ECMAScript code that web browsers encounter.

Then let's not even accept PRs on this. New implementations are discouraged from implementing these.

For TS i would agree, but we do use our parser as a JS parser, even for script blocks in HTML. for that we should accept the html comments, and parse them correctly. failing to do that, prohibits us from correctly parsing, and thus providing any LS features, in script blocks with an html-style comments.

But it's code that may not even run in newer browser implementations. It seems preferable to just error, especially since we've never heard of anyone doing this on purpose.

it is an error in a module, and should be reported as such. but should be parsed correctly as well, even if we report an error. this allows for a better error message, and better error recovery. this is similar to how we handle the git conflict markers for instance. thought this is arguably part of the language.
as noted, we would accept a PR for this. i do not think the core team would commit to taking it on unless we get additional user feedback.

FWIW, this code is still required to run code on the internet, mostly legacy scripts of the form:
<script>
<!--
alert(1);
-->
</script>

so new browser implementations would have to either implement this syntax or throw errors on a non-insignificant number of websites.

Also worth noting that there is some disagreement within TC39 about whether Annex B is really optional in any sense. For example, why wouldn't Node want to run code designed to run in web browsers? An argument can be made it's just a way for the committee to feel good about putting bad but necessary features in a different place.

This isn't legal in modules and ~everything is modules now. Sorry Brian.


Provide a certificate management tool for opensearch distributions

Provide a certificate management tool that helps users create self-signed certificates and install them on OpenSearch by configuring all keystore and truststore settings. The idea is to replace install_demo_configurations.sh tool with this tool as self-signed certificates are relatively more secure than demo certs and qualify as better default. It is important that the ease of use is maintained for a quick getting started experience and to achieve that, self-signed certificate tool can work in two modes - default (use -f) and interactive (use -i). In default mode, the tool could assume default values so users can still enjoy the single click experience for quick getting started. The interactive mode (-i), on the other hand, helps users to setup the self-signed certificate in an interactive fashion with user-provided inputs. In both modes, the tool auto-configures the OpenSearch security settings based on the new certificates.

[x] Define the input parameters in both default and interactive mode, for the tool.
[x] Check OpenSsl availability on different platforms for self-signed certificate generation.
[ ] Dismantle and replace existing install_demo_configurations.sh tool with the new certificate management tool in build workflows and elsewhere

Related to #1618

Pasting logs for the new setup experience which seems much cleaner than what we have today. The install_ssl_configuration.sh (tool name #tbd) will be used for setting up all security configurations with freshly created self-signed certs that are unique to every user, unlike the demo certs today. The tool is capable of running in auto-mode (with -y option) and interactive-mode (without -y option). In interactive mode, the tool seeks inputs like 1. Certificate validity duration, 2. Root, Admin, Node certificate Subject Names, 3. Should initialize security module?, and sets up these configurations. In auto-mode, it assumes the certificate validity duration as 365 days, and pre-defined defaults for certificate Subject names to provide a single-click user experience. Below is the output for a run in auto-mode.
I am leaning towards deprecating the old install_demo_configurations.sh in favor of this new tool. The same will be done for  the docker distribution to replace demo certs with shiny new self-signed certs on first-time container start, PR - https://github.com/opensearch-project/opensearch-build/pull/1370
Would love to hear more thoughts. @opensearch-project/security @rursprung
cc/ @elfisher @CEHENKLE @jimishs
➜  opensearch-1.2.0 ./plugins/opensearch-security/tools/install_ssl_configuration.sh  -c -y

=========== OpenSearch Security Dev Configurations Installer ============

#############################
Step 1: Generating self-signed certificates using OpenSSL
#############################

Root certificates created at /Users/setiah/Downloads/opensearch-1.2.0/config/root-ca.pem
Admin certificates created at /Users/setiah/Downloads/opensearch-1.2.0/config/kirk.pem
Node certificates created at /Users/setiah/Downloads/opensearch-1.2.0/config/esnode.pem

#############################
Step 2: Installing self-signed certificates
#############################

Certificates installed successfully! See updated settings in config/opensearch.yml

#############################
Step 3: Initialize security
#############################

Skipping initializing OpenSearch Security based on the provided input.
After the whole cluster is up execute:
"/Users/setiah/Downloads/opensearch-1.2.0/plugins/opensearch-security/tools/securityadmin.sh" -cd "/Users/setiah/Downloads/opensearch-1.2.0/plugins/opensearch-security/securityconfig" -icl -key "/Users/setiah/Downloads/opensearch-1.2.0/config/kirk-key.pem" -cert "/Users/setiah/Downloads/opensearch-1.2.0/config/kirk.pem" -cacert "/Users/setiah/Downloads/opensearch-1.2.0/config/root-ca.pem" -nhnv
Or
run ./securityadmin_demo.sh
After that you can also use the Security Plugin ConfigurationGUI

#############################
Setup complete!
#############################

Single node setup successful! You can now start the cluster with bin/opensearch

To access your secured cluster open https://<hostname>:<HTTP port> and log in with admin/admin. Example
curl -k https://localhost:9200 -u admin:admin
(Ignore the SSL certificate warning because we installed self-signed certificates)

Follow the steps below to setup multi-node cluster
1. Execute this script now on all your nodes
2. Start all nodes with bin/opensearch

For configuring language clients like Java, Python, Go, and tools like Logstash, Grafana, etc.,
please refer to the "CLIENTS AND TOOLS" documentation on https://opensearch.org/docs/latest

#############################
Disclaimer!
#############################

 ** Warning: Do not use on production or public reachable systems **
Self signed certificates installed via this tool are good for development or use within a trusted private network.
For any production use, we recommend using trusted CA provided certificates.

I really like this new approach. Just wondering, in the docker use case, how would someone get the certs setup across their containers and a local client?

is this purely for dev/demo/test environments (like the old script) or is this also meant to be used in production?
in production most will be using a multi-cluster setup (after all, the recommendation is to use at least three master-eligible nodes for production) and in that case the certificates need to be signed by the same CA. and at that point you IMHO shouldn't generate them on any specific node anymore but instead issue them wherever you have the private key of the CA (which may or may not be self-signed).
and how do you handle certificate rotation if the certificates expire after 365 days?
in a containerised environment i'd expect you to run it on kubernetes or a similar infrastructure. in that case the best option would be to have an operator (discussions ongoing in the forum) which takes care of the whole certificate handling and otherwise you'd use something like cert-manager to handle the certificates (also not trivial! OpenSearch security will still need to be able to handle certificate reloads, in the best case by file system monitoring, in the worst case by some ugly scripts doing the same next to it and triggering the re-load).
with something like this in place the certificates get signed by a central CA (which may or may not be a self-signed one, e.g. cert-manager supports anything from self-signed to using an external CA like let's encrypt).
also, in a containerised environment - even if it isn't on kubernetes - i'd probably not run this script at all, i'd instead generate the necessary certificates elsewhere and then just mount them into the container, so that i don't need any ephemeral storage but only use the read-only container image plus external mounts.
and in a container (and also in general?) you don't want some script to suddenly update your application configuration - this should be baked into the image, with the relevant parts being exposed as parameters (usually ENV variables) or read from externally mounted files.

Thanks @rursprung. I'm on the same page with you. Let me clarify a few things.
Self-signed certs generated via this tool are meant for dev use, and while it is not recommended to be used for production, it should be fine if used within a private trusted network. For production, the recommendation is to use certificates from a trusted CA (see disclaimer)
The purpose of this tool is to simplify the getting started experience, make it more user-friendly and verbose and also secure the defaults by replacing hardcoded demo certs with new self-signed certs. It will also replace demo certificates used by docker image and docker compose by installing new self-signed certificates first time the container starts from a docker image.

in production most will be using a multi-cluster setup (after all, the recommendation is to use at least three master-eligible nodes for production) and in that case the certificates need to be signed by the same CA. and at that point you IMHO shouldn't generate them on any specific node anymore but instead issue them wherever you have the private key of the CA (which may or may not be self-signed).

Right, multi-node setup will be different. It can use kubernetes or tools like ansible for the orchestration. The operator will take care of whole certificate thing in that case. There is a separate issue to track the multi-node setup orchestration. Also thanks for pointing to the forum thread. I like the idea of using cert-manager in containers for all-things-certificates.

and how do you handle certificate rotation if the certificates expire after 365 days?
OpenSearch security will still need to be able to handle certificate reloads, in the best case by file system monitoring, in the worst case by some ugly scripts doing the same next to it and triggering the re-load

The security plugin provides an API for hot reloading ssl certificates, once they have been replaced by the user or an operator on the node. The API invocation hot reloads the new certificates.
@elfisher - For docker, this tool will be baked in the docker image. For single node setup, the certificates will be setup automatically when a container starts from the docker image first time. Every subsequent container stop/start will use the previously installed certificates. Also these certificates will be generated on the host running docker and can be easily replaced with user-provided certs later. This would work for docker-compose as well which sets up 2 opensearch containers and 1 opensearch-dashboard container on a single node today. As for multi-node docker setup, we don't have that today. It will use a different mechanism with kubernetes.
(Apologies for the delayed response. I am on a planned vacation. Will get back with more details soon as I can.)

Hi @opensearch-project/security team, could someone please review these changes

also, in a containerised environment - even if it isn't on kubernetes - i'd probably not run this script at all, i'd instead generate the necessary certificates elsewhere and then just mount them into the container, so that i don't need any ephemeral storage but only use the read-only container image plus external mounts.
and in a container (and also in general?) you don't want some script to suddenly update your application configuration - this should be baked into the image, with the relevant parts being exposed as parameters (usually ENV variables) or read from externally mounted files.

To add a bit more clarity for how it works in containers - Certificates are stored in docker volume and do not get updated on container restarts. They are part of the host storage and can be shared among multiple containers. Also, maintaining certs in docker volume prevents them from any accidental replacement. They have to be explicitly replaced with other certs (e,g, trusted CA certs) by using docker cli copy commands and hot reloaded using API


[tool_crash] StateError: Bad state: No element

Command
flutter --no-color run --machine --track-widget-creation --device-id=046843398M141855 lib\main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No element
#0      ListMixin.firstWhere (dart:collection/list.dart:167:5)
#1      DartDevelopmentService.startDartDevelopmentService (package:flutter_tools/src/base/dds.dart:63:32)
<asynchronous suspension>
#2      FlutterDevice.connect.<anonymous closure> (package:flutter_tools/src/resident_runner.dart:249:11)
<asynchronous suspension>

[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Microsoft Windows [Version 10.0.18362.267], locale en-US)
    • Flutter version 1.25.0-8.2.pre at C:\flutter
    • Framework revision b0a2299859 (4 weeks ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\hp\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

[✓] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[✓] VS Code (version 1.52.1)
    • VS Code at C:\Users\hp\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.19.0

[✓] Connected device (1 available)
    • TECNO KB7j (mobile) • 046843398M141855 • android-arm • Android 9 (API 28)

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: beta
Creation framework version: b0a22998593fc605c723dee8ff4d9315c32cfe2c
Plugins
integration_test

Hi @Sammysoft
A similar issue (https://github.com/flutter/flutter/issues/72385) was recently fixed and it must be on Master channel so since you are in Beta I'm going to close this as  duplicate of that one.
Thank you


https://ocm.software/docs/guides/getting-started-with-ocm-flux/ doesn't make clear what env vars should be set

NOTE: Maybe I am an impatient person not taking full time to carefully read the doc word by word but probably that is normal
The doc refers to some env vars, e.g. $GITHUB_USER.
Searching the page for 'user' I don't find anything that lets me know this env var should be set.
And searching for 'env' I don't find a list of environment variables I should set.
If I am going to build some sort of automation around this doc it would be good if it provided a list of env vars I should set.

Closing as we have updated the guides.


Issue 37 monitoring

support for modules and python's virtual environment in jobs
cpu binding when available
explicitly closing zmq sockets

closes #44 , closes #34,

closes #41


stuck on export library to bibtex

Debug log ID
PXHJZCDT-euc/6.7.219-6
What happened?
I'm trying to export my library as better csl json but it is stuck in a window saying exporting elements

Please go to Help -> Debug output logging -> Start with logging enabled, let Zotero restart, and then send a new log

Ok, thanks for the follow up. I still can't export correctly yet.
I get this ID:
FKEDTK7X-fio-qH2ffFUemf1s

I know, this is just for diagnosis. Doesn't the regular (-euc like you sent before, rather than -fio) log work? Those are more convenient for me.
I see no evidence of an export in FKEDTK7X-fio-qH2ffFUemf1s, did you reproduce the problem before sending the log?
Can you turn off attachment sync during diagnosis? You are over your free 300MB quota and that puts error messages in the log and it's harder to find actual error messages that way.

Can you try the build from https://github.com/retorquere/zotero-better-bibtex/issues/2940#issuecomment-2285476897 ? May be the same problem.

If it is not the same problem, commenting here will reopen this issue automatically.


Preparing the 0.23 release

We're ready to release the standard artifacts (Rurunnable).
I will cut an arrows release when they are out (see https://github.com/traneio/arrows/pull/11).

Codecov Report

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

@@           Coverage Diff           @@
##           master     #974   +/-   ##
=======================================
  Coverage   83.53%   83.53%
=======================================
  Files          51       51
  Lines         838      838
  Branches       48       45    -3
=======================================
  Hits          700      700
  Misses        138      138

Continue to review full report at Codecov.

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


mesos: FIX #16917 Failed to extract tgz

Motivation for this change
Fix https://github.com/NixOS/nixpkgs/issues/16917
https://github.com/apache/mesos/blob/0.28.0/3rdparty/libprocess/3rdparty/stout/include/stout/os/posix/shell.hpp#L109
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Awesome! This explains why I got a 127 error status whatever I tried to do.


Inheritance correction

Correct HT16K33Matrix to include the HT16K33 as its base Class

We have merged this PR, however, this library is no longer supported. We are only supporting CircuitPython. Please fork this repo if you wish to continue development.


Initialize increment to max value of property in db

I'm replacing mongoid_auto_increment gem (it doesn't support mongoid ver. 5) with mongoid-autoinc gem.
Autoinc gem is counting sequence property from beginning and I want it to start from max value. Can increment property be initialized with max value for that property in db?

I'm not entirely sure what you mean. Do you mean starting from a given number, like so?
https://github.com/suweller/mongoid-autoinc#seeds

Yes, thank you I found seed. I use seed but since I have testing, staging abd production.
I need to set differnet values. I've found that both gems preserve info about inc property in mongo id. So I update seed in mongodb rather than in code


Change incorrect description of the Sirene knowledge dataset

Self explanatory.

@MdechampG is it ok for you?

Let's move on.


Add connection_parameters for databricks-sql-connector connection parameters

Description
Adds connection_parameters as part of credential for databricks-sql-connector connection parameters.
This can be used to customize the connection by setting additional parameters.
The full parameters are listed at Databricks SQL Connector for Python.
Currently, the following parameters are reserved for dbt-databricks.

server_hostname
http_path
access_token
session_configuration
catalog
schema

Thanks! merging.


Goes around missing functions as needed and ensures keepdims is provided

Fixes #70. Adds keepdims_wrapper to wrap up functions of the numpy variety to ensure that providing a keepdims argument is possible with the expected result.

This looks really good!  Can I ask for tests both for the keepdims_wrapper function itself and for one of the da.reduction functions?

So, I was thinking about tests, but wasn't sure how to proceed on this one. Maybe it would be worth having a fake function that doesn't have a keepdims argument and then one that does (i.e. an indexing function perhaps).

Sounds like a good plan.  Perhaps the following function would do?
def sum2(x, axis=None):
    return np.sum(x, axis=axis)

Ok, so I moved everything into a new module called enhanced_numpy and provided a couple tests based on the function idea that we had discussed. Tests have been added for different numbers of axes, as well. I know some numpy functions use axes instead of axis so the current strategy may need to be adapted for this, but it should be very doable. Please let me know if there is anything else you need.

This looks great.  I added some nitpicky comments but I can also take care of those if you're feeling done.

Either way, they look pretty easy, but I can't do it until tomorrow.

Alright, I have tried to address the points raised. However, there is one outstanding item that I would like your feedback on.

Thanks @jakirkham ! This is in.

Cool, thanks.


誤変換: 葦北郡

誤: いほくぐん
正: あしきたぐん

Mozc-1.4.1003.102

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Mar 2012 at 4:16

Original comment by<EMAIL_ADDRESS>on 1 Apr 2012 at 2:25

Added labels: Type-Conversion
Removed labels: Type-Defect

Original comment by<EMAIL_ADDRESS>on 1 Apr 2012 at 2:29

Added labels: OpSys-All


Be able to retrigger the non-PR jobs

Currently, we can retrigger the jobs only in those two ways:

PR comment for PR jobs => This needs to stay the same.
Issue comments for propose-downstream => There is some hardcoding done in the code to match the release object.

We have at least two ways how we can allow retriggers or reactions with Packit:

Create an issue with the known format. Some options (can be combined):

title == /packit propose-downstream 0.3.0 / /packit propose-downstream / /packit build master / ....

Reopening of the issue triggers the action again.

Any title, but react on commands in description or comment (same syntax as requested in #540 or #970)

Create a commit comment with the command

How can we differentiate between branches and releases?

Implement elsewhere -- e.g. via dashboard

Some more ideas? How other projects do that?

Implement elsewhere -- e.g. via dashboard

I think this would be the most straightforward from a user experience point of view. And this is how I've seen it done at other CI services (Travis, for example). But for this to work we would need to implement authentication (with GitHub, for the start) in dashboard, so that the authorisation rules applied for reacting on pushes and comments could be used to give the users the option to re-trigger builds.
I would really not go for the other two solutions: both of them would offer a disconnected and convoluted experience, even though the first proposal would make some sense: we have jobs on some branch/release failing, so let's open an issue to fix that. But I wouldn't require the commands to be placed in the title, as that might lead to the issue list looking really strange.

Some more ideas? How other projects do that?

We don't have the capacity for this for now, but we would like to fix various small issues that usually caused a need for this. E.g. https://github.com/packit/packit-service/issues/1808

I agree this is a corner case; I've hit the problem because there was a very short packit.service downtime :-) but if it happens, there's no other way to retrigger the build than push another commit :-) which might not always be the acceptable way out from this.

Reopening as this causes really bad UX - no simple way to retrigger e.g. a commit build.

#1595 could help resolve this as well.

Create a commit comment with the command

to me, this sounds like the most natural place, but we would still need to figure out how to differentiate whether the person wants to retrigger the commit or release trigger job (a comment command argument sounds reasonable)
#1595 would be also a nice thing to have, but would solve this only partially - it would not solve the issue when there are no check runs by Packit, e.g. there is an outage and Packit doesn't react to a commit at all


[1.x] Use PULSE_PATH env instead of fixed text for /pulse

In the configuration file, we statically refer to the /pulse path during restrictions. However, the path should be dynamically determined from the PULSE_PATH environment variable.

Mark as ready for review when it's ready.

Thank you, okay! Once the https://github.com/laravel/pulse/pull/231 is approved, this is also ready for merge.
Note to myself: If the mentioned PR cannot be implemented, at least a trim() will be necessary (see https://github.com/laravel/pulse/pull/229#discussion_r1426674310).

Related: #343


Injection errors when serving using vite

Command
serve
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
16.2
Description
Injection errors when using vite and esbuild that are not present when using webpack as the dev server or when serving a static webserver from dist folder.
Minimal Reproduction
I am currently facing a problem when serving the application using the dev-server with a buildTarget of  browser-esbuild/application
When opening the development environment I am getting the following error:
Error: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with runInInjectionContext. Find more at https://angular.io/errors/NG0203
When doing a build with browser-esbuild or application builder, and then serving the application using
http-server ./dist/foo/browser --port 4200 --proxy http://localhost:4200?
There does not seem to be any problems, after some digging a bit more I changed:
if (builderName === '@angular-devkit/build-angular:application' ||             builderName === '@angular-devkit/build-angular:browser-esbuild' ||             normalizedOptions.forceEsbuild) {
of the build-angular\src\builders\dev-server\builder.js to:
if  (normalizedOptions.forceEsbuild)
Therefore disabling vite when using browser-esbuild, when using the webpack-server  it also seems to work like normal.
Would this be a bug or what could I do to resolve this issue
Exception or Error
No response
Your Environment
_                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 17.0.1
Node: 18.13.0
Package Manager: yarn 3.2.4
OS: win32 x64

Angular: 17.0.3
... animations, common, compiler, compiler-cli, core, elements
... forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router
... service-worker

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.1700.1
@angular-devkit/build-angular     17.0.1
@angular-devkit/core              17.0.1
@angular-devkit/schematics        17.0.1
@angular-devkit/schematics-cli    17.0.1
@angular/cdk                      17.0.1
@angular/cli                      17.0.1
@angular/google-maps              17.0.1
@angular/material                 17.0.1
@angular/material-luxon-adapter   17.0.1
@schematics/angular               17.0.1
ng-packagr                        17.0.1
rxjs                              7.8.1
typescript                        5.2.2
webpack                           5.88.2
zone.js                           0.14.2

Anything else relevant?
No response

This appears to be a bug but we will need to look at a reproduction to find and fix the problem. Can you setup a minimal reproduction please?
You can read here why this is needed. A good way to make a minimal reproduction is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

Likely a duplicate of https://github.com/angular/angular/issues/52962. This error usually occurs when @angular/core is loaded multiple times, typically because of a particular node_modules layout. It's unclear though how the new builder would affect things here.

The output of yarn list --pattern @angular/core may also be useful in that case as well.

I have stripped down the application to 1 component with hello world no routing/other code in that one component or other dependencies.
// app.module.ts
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
  ],
  providers: [
  ],
  bootstrap: [AppComponent],
})
export class AppModule {
}

I am currently looking if it's one of the dependencies, this might take a while.

@JoostK The problem wasn't the builder itself, but only showed when using vite as the dev server. However I found the culprit:
// tsconfig.base.json
    "paths": {
      "@angular/*": ["./node_modules/@angular/*"],
      }

This has been in the workspace for over 3 years no idea why, after it still appearing when I had minimal dependencies I started comparing typescript and others configuration settings. Thanks for pointing me a bit in the direction why it was failing 😀
@clydin Also thank you for that command, however I am using yarn 3 which does not have that feature. but I did find a yarn why  command which seems to be similar.

That's interesting, as such path mapping is typically done precisely to avoid this problem.

@JoostK I made a small new workspace with 1 main application and 1 library, with the same config:
// in tsconfig.base.json
"@angular/*": ["./node_modules/@angular/*"],

When having this exact config it breaks there too, removing it will fix it.


'NSString?' is not convertible to 'String?'

I got this error message after updated my xcode to 6.3.1.
/Users/MNurdin/Documents/iOS/RevivalxCollectionView/RevivalxCollectionView/SwiftyJSON.swift:443:24: 'NSString?' is not convertible to 'String?'

Code
public func rawString(encoding: UInt = NSUTF8StringEncoding, options opt: NSJSONWritingOptions = .PrettyPrinted) -> String? {
        switch self.type {
        case .Array, .Dictionary:
            if let data = self.rawData(options: opt) {
                return NSString(data: data, encoding: encoding) //error message here
            } else {
                return nil
            }
        case .String:
            return (self.object as! String)
        case .Number:
            return (self.object as! NSNumber).stringValue
        case .Bool:
            return (self.object as! Bool).description
        case .Null:
            return "null"
        default:
            return nil
        }
    }

Just did my first hello world project on iOS and SwiftlyJSON and couldn't get anything to work.  Seems like SwiftlyJSON master doesn't yet work with Swift 1.2...
http://iphonedev.tv/blog/2015/2/9/swift-12-fixes-and-breaks-a-few-things-you-should-be-excited
Following those directions I added "as? String" and it worked...
return NSString(data: data, encoding: encoding) as? String

I got this error too in xcode 6.3.1 :(

yeah, nothing works since this update. 90+ errors on the swiftyjson lib. thanks, apple.

I think this is fixed this is the new line:
return NSString(data: data, encoding: encoding) as? String

That's right aks0020, we need to downcast (optionally) to String.  @datayeah all those errors are the same issue.  Take a look at this: https://www.murage.ca/downcasting-in-swift-1-2-with-as-exclamation/ I fixed adding "?" to optionally convert in all those cases where there was an error.  Not sure if I had to use ? or ! though, but it is working now.

@aks0020    : thanks man it works


Added pt_br and pt_pt translation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add links to filtering and make filtering more filtering less grouping

refs #58

Job VTB Documentation on 93eb40a wanted to post the following:
View the site here
This comment will be updated on new commits.

Only docs modified


Hatch based tests

This PR will use hatch for CI. This should simplify the tests substantially and centralize the CI config in pyproject.toml.
Waiting for PRs:

[x] #229
[x] #230

Main changes:

Tests workflow: tests acoular installation and runs unittests for all platforms across all supported versions.
GitHub workflow: auto-assigns labels to PRs, checks if a label is assigned and checks for merge conflicts.
Checks workflow: runs ruff, validates CITATION.cff syntax and checks all Markdown files for broken links.
Docs workflow: builds sphinx docs and deploys. Deploy has to be triggered manually and is allowed to fail.
uses concurrency, i.e. superseeded workflows are cancelled if a new commit is pushed. Workflows of other branches/PRs remain unaffected.
at the end of each workflow, alls-green is run to check if the entire workflow has passed. The alls-green checks are required to pass in the branch protection rules of master in order to be able to merge into it. We currently use a workaround mentioned in https://github.com/re-actors/alls-green/issues/29 which will hopefully be fixed soon.

@esarradj @adku1173 Aside from the broken links in the Markdown, this should be ready from my side.

The link problem is about some deep links to the acoular.org site itself using http instead of https. This stopped working when we actually moved the domain to GitHub serving the docs.

I've now also added a coverage report to the CI. We are at 56% currently.
We could think about whether we want to use something like codecov to analyze and report the coverage statistics and add a badge. But I don't see the immediate need and won't do that in this PR.
I've also updated the CI badge in the readme. Now that all tests pass, I think we are ready to merge. I won't add anything anymore in this PR.


Add +4 stats to ring enchant

Just for future reference, no need to build the project. I always rebuild it afterwards anyway.


OADP-1668: Volumesnapshot related CR’s namely Volumesnapshot and VolumeSnapshotcontent are not being included by the OADP Version of Velero server in the backup bundle

Only developers will use GitHub issues for development purposes
agree

I attach the backup bundle here:
test-backup-8-csi-volumesnapshotclasses.json.gz
test-backup-8-csi-volumesnapshotcontents.json.gz
test-backup-8-csi-volumesnapshots.json.gz
test-backup-8-logs.gz
test-backup-8-podvolumebackups.json.gz
test-backup-8-resource-list.json.gz
test-backup-8-volumesnapshots.json.gz

Thanks for your report. tracking in JIRA

@vjaincatalogic is this from building from source? or are you using official releases?

@kaovilai , Yes this is from official release. I'm not building from source. I used the official oadp-operator from market place.

Can you verify version?

oadp version is v1.1.3

Hi @shubham-pampattiwar, I will provide you all these details but currently the cluster was deleted and it will take me some time to get back to you.

backup Bundle:
backup_bundle.tar.gz
I provide you the first three, backup CR used, DPA CR used + DPA CR status, velero logs
requested.tar.gz
volume-snapshot-mover logs and VolumeSnapshotBackup CR and its status , I'm not able to find as I had not used Volume Snapshot Mover, IS it the reason, I'm not able to see the volumesnapshot in backup bundle in my BSL?

@vjaincatalogic Which type of OADP backup are you trying to take here ? Native CSI backup or Datamover CSI backup ?

@shubham-pampattiwar, this was CSI backup. By "Datamover" CSI backup, do you mean Restic or Kopia backup?

"Datamover" CSI backup, do you mean Restic or Kopia backup?

We means our own implementation of "Data Mover" in OADP v1.1 which takes CSI snapshots, and make a restic copy of data from snapshot to S3. This is an OADP specific capability which upstream will have with https://github.com/vmware-tanzu/velero/pull/5968
See doc at
https://access.redhat.com/documentation/en-us/openshift_container_platform/4.10/html-single/backup_and_restore/index#oadp-using-data-mover-for-csi-snapshots_backing-up-applications
TL;DR: we do not mean restic or kopia.

If you do not have enable: true here then you did not use our Data Mover.
apiVersion: oadp.openshift.io/v1alpha1
kind: DataProtectionApplication
metadata:
  name: velero-sample
  namespace: openshift-adp
spec:
  features:
    dataMover:
      enable: true

Should not be required.

In that case, I'm just confirming from the OADP,
OADP team got all the information required to investigate on this issue and OADP team is still investigating?

At this time we are not requesting any more information. This issue is still open to investigation.

Hi Team, Any Updates on this issue?

We had to push it out further. Tracked in OADP-1669

Hi, I retried the complete flow with OADP version - 1.1.4 as well but still the same issue, I see that volumesnapshot is null,
test-backup-11-csi-volumesnapshotclasses.json.gz
test-backup-11-csi-volumesnapshotcontents.json.gz
test-backup-11-csi-volumesnapshots.json.gz
test-backup-11-logs.gz
test-backup-11-podvolumebackups.json.gz
test-backup-11-resource-list.json.gz
test-backup-11-volumesnapshots.json.gz
test-backup-11.tar.gz
velero-backup.json.gz
Dataprotectionapp manifest:
dataprotection.yaml.gz
velero.log.gz
backup.yaml.gz

Still looking into it. Thanks for the details!

/remove-lifecycle stale

/remove-lifecycle stale


hide internal symbols

Use the static keyword to hide internal functions and variables.

Ah good - I noticed this the other day too


Can't get all queues on python3.5

I'm using python3.5.1 and I'm getting errors when getting all queues by project.
>>> from iron_mq import IronMQ
>>> ironmq = IronMQ(***********)
>>> ironmq.queues()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/mike/.pyenv/versions/dashboardenv/lib/python3.5/site-packages/iron_mq.py", line 331, in queues
    query = urllib.urlencode(options)
AttributeError: module 'urllib' has no attribute 'urlencode'
>>>

I'm hitting the ImportError on iron_mq.py which is supposed to be for python2. As I investigated, I don't have the last commit even if I updated iron-mq dependency

As I investigated, I don't have the last commit even if I updated iron-mq dependency

@admiral96 , I am getting the same error right now, have you resolved this issue?

@jeicoo I haven't resolve this yet. While waiting for updates on pypi, my current workaround is to step-down python-version(2.7).

Thank you @admiral96 ! I observed that they already have a fix for this issue, I resolved my issue by just downloading the iron_mq.py manually and include it in my script.


Support for tailable cursors

Support for tailable cursors in engine.find call:
https://motor.readthedocs.io/en/stable/examples/tailable-cursors.html

Hi, can you describe the behavior you would like to have with the current AIOCursor ?

Hi! Same as simple find, but I want to wait until new documents come in.
This will be useful, for example, for implementing event notifications over websocket.
Something like that:
async for rec of engine.find(Model, Model.timestamp >= datetime.utcnow().timestamp()):
   websocket.send(dict(rec))


WARN[0000]log.go:228 gosnowflake.(*defaultLogger).Warn DBUS_SESSION_BUS_ADDRESS envvar looks to be not set

Describe the bug
When running rill from the command line, this warning is displayed:
WARN[0000]log.go:228 gosnowflake.(*defaultLogger).Warn DBUS_SESSION_BUS_ADDRESS envvar looks to be not set, this can lead to runaway dbus-daemon processes. To avoid this, set envvar DBUS_SESSION_BUS_ADDRESS=$XDG_RUNTIME_DIR/bus (if it exists) or DBUS_SESSION_BUS_ADDRESS=/dev/null.

To Reproduce
run rill start or rill --version
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: Windows 10 / WSL2 Ubuntu 20.04.4 LTS
Browser: NA
Version NA

Additional context
The warning is suppressed by setting:
export DBUS_SESSION_BUS_ADDRESS=/dev/null
However, I believe that default value for DBUS_SESSION_BUS_ADDRESS, if not set should be set to /dev/null to avoid confusing the user. As I understand it, it is only relevant for users using snowflake and this can be described in the documentation.

@smartexpert Thanks for the report, looks like we dropped the ball on this one and it feel between the cracks in our sprint planning. We'll make sure it gets fixed in our next sprint!


DF Manual Rolls: Add an option to bypass rolls with many die

It would be nice if there was a prompt to optionally bypass a roll with many die, perhaps above 5.
For instance, if rolling HP for an Ancient Blue Dragon (meaning 26d20), pop up a confirmation to use manual rolls. If the user cancels manual rolling, roll all 26 d20s normally instead.
Or perhaps offer the user to roll all subsequent rolls normally after the first cancelled manual roll: Maybe i want to push the HP of the dragon up or down so i do the first 6 die manually by entering the rolls, but press cancel on the 7th prompt and thus cancels manual rolling for the subsequent dice rolls left.

I would love to do this kind of optimization, but unfortunately it would require me to completely modify the entire rolling system. It's not something I can do at the moment, especially with 0.8.x around the corner which has already overhauled Foundry's entire dice rolling system.
I really appreciate your feedback, and hope you can get by without for now. Just FYI, you can also use the Enter and Escape keys to select the OK  and Cancel buttons, if that helps any.

No worries! I suspected it would be a major undertaking.
Is the introduction of async rolls something that makes this viable, or is it simply just hard breaking up a dice expression to handle a part of it manually and a part randomly?

Mostly that second part. The system has various expression parsing that gets quite complicated. I'm currently trying to be light-weight and only patching the Dice Term part of the system. To do more, I would have to overhaul the whole Dice System in order to track how many dice are where and to offer skipping to entire groups. Async rolls are not changing the expression system, just making it so a dice roll can "wait" for the user to input a result.

Closing this since there's not much I can do for it at this time.

I'm happy to say this issue was actually resolved in the new v2.0. Async Rolls made it possible for me to provide a "Roll Total" column, as well as group all the dice for a roll together in a single prompt 👍🏽


K9 crashes on start after Androidupdate

Expected behavior
The app should work as before.
Actual behavior
When I open the app it crashes and closes several times.
What changed?
I've installed the security update for my shiftphone.
It is the security update for the wireless lan chip issue.
Steps to reproduce

Open the app
crashes
reopen it, and it crashes again

Environment
K-9 Mail version: 5.705 and 5.600 happens on both
Android version: 8.0.0
Shiftphone SHIFT6M.SOS.1.1.G.20200214
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Please provide a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

Today it happens no more.
This is a bit crazy.

If it workes today also, I am going to close this issue.

The problem is back since yesterday. I can't enable debugging, because because the app crashes on everey start. should I log via MTK logging?

Quote from https://github.com/k9mail/k-9/wiki/LoggingErrors

If K-9 is crashing or you otherwise can't get to the settings screen, don't worry about about enabling debug logs.

I have exactly the same problem as HDValentin. Whenever I try to open the K9 app since the Shiftphone Update, I get the message that the app has been closed. The first time it gets reopened, but then it closes once again. I simply can't acces it any more, so debugging is also not possible.
Is there going to be an update to K9 soon or does it make sense to try newer beta versions?

Meanwhile I also tried the most recent Beta version, but the crash happens in the same way; no difference unfortunately.

Same Problem. App can't be opened. crashes
Hi. I'm on:
LineageOS 14.1 (Android7.1 respectivetly)
K9 5.600 works without problems. But 5.7x crashes imideatley after openening the app. Bug report says: can't access SQL library.
I checked about permissions in app-settings and the permissiom for accessing the storage is gone. So I think this could be the cause of the problem.
Here's the bug report:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:209)
at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:193)
at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:808)
at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:711)
at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:704)
at com.fsck.k9.mailstore.LockableDatabase.doOpenOrCreateDb(LockableDatabase.java:400)
at com.fsck.k9.mailstore.LockableDatabase.openOrCreateDataspace(LockableDatabase.java:380)
at com.fsck.k9.mailstore.LockableDatabase.open(LockableDatabase.java:356)
at com.fsck.k9.mailstore.LocalStore.(LocalStore.java:213)
at com.fsck.k9.mailstore.LocalStore.createInstance(LocalStore.java:187)
at com.fsck.k9.mailstore.LocalStoreProvider.getInstance(LocalStoreProvider.kt:22)
at com.fsck.k9.provider.EmailProvider.getDatabase(EmailProvider.java:535)
at com.fsck.k9.provider.EmailProvider.getThreadedMessages(EmailProvider.java:340)
at com.fsck.k9.provider.EmailProvider.query(EmailProvider.java:237)
at android.content.ContentProvider.query(ContentProvider.java:1020)
at android.content.ContentProvider$Transport.query(ContentProvider.java:239)
at android.content.ContentResolver.query(ContentResolver.java:534)
at android.content.ContentResolver.query(ContentResolver.java:475)
at com.fsck.k9.ui.messagelist.MessageListLoader.loadMessageListForAccount(MessageListLoader.kt:114)
at com.fsck.k9.ui.messagelist.MessageListLoader.getMessageList(MessageListLoader.kt:41)
at com.fsck.k9.ui.messagelist.MessageListLiveData$loadMessageListAsync$1$1.invokeSuspend(MessageListLiveData.kt:33)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)

@Rubylion: This is odd. I'm blaming LineageOS. Try uninstalling, then reinstalling.
Closing this issue, since no actionable information was provided on the original bug.


Docs: Rearrange AMPI manual

May be best viewed in two ways:

By examining the diff, using git diff -w --color-moved --no-merges master....
By using a tool such as restview to preview the result in a web browser. (Most useful for comparing the table of contents.)

Merging this will provide potential new AMPI users with a less confusing and outdated primary source of documentation.


1.7.3 syntax highliting non deterministacally breaks in VS Code

I am using Volar Pre release 1.7.2/1.7.3 and syntax highliting started to break randomly, sometimes restarting volar/ts helps sometimes it doesn't it never is deterministic what code specifically triggers highliting to break. In stable i do not experience those issues.
https://github.com/vuejs/language-tools/assets/8914032/faadbaeb-899b-4df5-93c0-4c680f5de1a9

I have this issue with version v1.8.1 and unfortunately it makes the extension unusable for me.
Is there anyway to see logs or errors for the extension?


Elfine Notepad

#make sure that it is good but your code want some help.

PR Type
What kind of change does this PR introduce?

Other information

What is Elfine Notepad??