BZ#1517232-Added support to make sure retire button is disabled by default

@miq-bot add_label bug
@miq-bot add_label gaprindashvili/yes

Screenshot of fix.  No UX changes, merely fixing some logic to ensure retire button works as expected.

BZ https://bugzilla.redhat.com/show_bug.cgi?id=1517232

Gaprindashvili backport details:
$ git log -1
commit 3b31a2b78c6a4dc1d93239383aff9d2f00f0466f
Author: Allen Wight<EMAIL_ADDRESS>Date:   Wed Dec 13 16:12:14 2017 -0500

    Merge pull request #1336 from chalettu/retirement-button

    BZ#1517232-Added support to make sure retire button is disabled by default
    (cherry picked from commit 83c818619c01cbb04db1d81428b59dcb315387cf)

    https://bugzilla.redhat.com/show_bug.cgi?id=1526104


EParovyshnaya is only my copy at this repository

I'm not having my machine (with .ssh keys) now, so  I'm working from @EParovyshnaya machine. I will add graphic, when I'll got my computer.

I had invite @eparovyshnaya. Wait.

first commit: https://github.com/AParovyshnaya/yarocvet/commit/a9e1dc8b7d3129f90302e91859216dd77c3a398c

ty, @eparovyshnaya

I need commit from her account again. Don't worry!


Small fix to Python tree list of lists

Seems as though the example Python list of lists representation of a tree is a missing a couple commas. 🤷♂

Nice catch, thanks!


[Feature Request] Thermostat-card - Support reading current temperature from different entity

It would be great if the thermostat card could support displaying the current temperature from a different entity to the setpoint device.
An optional entity 'temperature_entity' (or something similar) that could be filled in with a temperature sensor entity would be ideal.
The idea being that the usual 'entity' setting is still used for the setpoint and mode commands, but 'current temperature' is overridden by the reading from 'temperature_entity'.

Fixed in #179


how to display category name in products list in laravel

i can help you , if you contact me by email<EMAIL_ADDRESS>

$product->category->title


Integrate French, German, and Italian translations

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.79%. Comparing base (21eb99a) to head (e896071).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #405      +/-   ##
==========================================
+ Coverage   98.41%   98.79%   +0.38%
==========================================
  Files          19       19
  Lines        1578     1581       +3
  Branches      438      438
==========================================
+ Hits         1553     1562       +9
+ Misses         24       18       -6
  Partials        1        1

Flag
Coverage Δ

unittests
98.79% <100.00%> (+0.38%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


[BFCL] How to add our own llm into Leaderboard?

I am an engineer from Ant Group (China), and we are interested in adding a new language model to your Leaderboard. Could you please provide guidance on the process? Specifically, do you require a public API for the language model, or are there other methods for submission?
Thank you for your assistance.

Please checkout this README. https://github.com/ShishirPatil/gorilla/tree/main/berkeley-function-call-leaderboard#contributing

Thanks

Please checkout this README. https://github.com/ShishirPatil/gorilla/tree/main/berkeley-function-call-leaderboard#contributing

Hi Huanzhi，
Could you please inform us about the update frequency of the Berkeley Function Calling Leaderboard? Specifically, how soon after submitting a pull request with our new Model Handler can we expect to see the updated leaderboard?


Styled-Components: Added more robust type checking for default DOM elements

Addresses: https://github.com/flowtype/flow-typed/pull/1075#issuecomment-318918689

💯 Thanks for the fix!

@mwalkerwells is there a way to have the props that are passed into functions in the context type checked as well? Right now it's breaking any calculated styles :(
Ex:
const foo = styled.css`
  color: ${({ color }: { color?: string }) => color || 'black'}
`;

The above code now yields the following error:

I didn't even look at those functions, but this should fix it. Added tests to catch it in the future.

Just tested this locally.

Oh, maybe not?

New Marudor™ merge commands: marudor merge mwalkerwells:styled-components-tagged-template-literal flowtype:master --squash
@mwalkerwells In all seriousness he's very much human. Or maybe that's what they want us to think...

Hey, this update broke for us. The updated attrs() definition disallow pass through properties that get passed to the DOM component. e.g.
const Comp = styled.div.attrs({
    classNames: props => classnames({ 'is-active': props.active }),
})`
    padding: 10px;
`;

<Comp active onClick={handler} />

It'll throw that the component doesn't have a onClick property. More annoying, this happens with the children property too:
09:47:43 Error: components/List/test.js:10
09:47:43  10:         const selector = shallow(<ListItem isActive isLocked />);
09:47:43                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ React element `ListItem`
09:47:43                          v--------
09:47:43 123:                     <ListItem
09:47:43 124:                         isActive={item.id === current}
09:47:43 125:                         onClick={() => onSelect(item.id)}
09:47:43 126:                         className="AASubList-item"
09:47:43 127:                     >
09:47:43                          ^ property `children`. Property not found in. See: components/List/index.js:123
09:47:43  10:         const selector = shallow(<ListItem isActive isLocked />);
09:47:43                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ props of React element `ListItem`
09:47:43

@SBoudrias Can you post a narrowly-scoped example of the issue? Your error does not correspond with your code.
Trying to recreate your example, I also do not get an error:
import styled from 'styled-components'

declare var classnames: Object => string
declare var handler: void => void

const Comp = styled.div.attrs({
    classNames: props => classnames({ 'is-active': props.active }),
})`
    padding: 10px;
`;

<Comp active onClick={handler} />

If we can narrow it down, please add a test so we don't break it in the future. This what you're talking about?
import styled from 'styled-components'

const HasFoo = styled.div.attrs({
    foo: 'bar'
})`
    padding: 10px;
`;

declare var needsOnClickerReactElement: React$Element<{ foo: 'bar' }> => void

needsOnClickerReactElement(<HasFoo />)

declare var needsOnClickerReactElement: React$Element<{ foo: 'bar' }> => void
                                                      ^^^^^^^^^^^^^^ property `foo`. Property not found in
needsOnClickerReactElement(<HasFoo />)
                           ^^^^^^^^^^ props of React element `HasFoo`

@mwalkerwells hum, I haven't been able to write a reduced failing cases yet. Seems like the problem is more complex that I initially though. As soon as I updated to the latest type def from yesterday, it raised ~30 new errors in our code base. Replacing the typing with attrs: any force fixed the issue for now.
The error I see is always about native DOM element props that aren't always passed. For now I can see all the errors have this in common:

They're all component created with styled.x.attrs() or styled(x).attrs()
Errors are about native DOM element props; e.g. onMouseEnter, children, className
The component must be created multiple times with different set of property. e.g. , ,  (components used only once or always with the same signature aren't causing this issue)

I'll try to get a reduced test case, but I haven't figured it out yet.

For some reason, when I put all code into the same file, it stops working. But if it's in many files, then it fails. Check this one:
Error: components/Badge/test.js:8
  8:         expect(shallow(<Badge />)).toMatchSnapshot();
                            ^^^^^^^^^ React element `Badge`
  8:         expect(shallow(<Badge />)).toMatchSnapshot();
                            ^^^^^^^^^ props of React element `Badge`. This type is incompatible with
                   v------------------
  6: const Badge = styled.span.attrs({
  7:     style: props => ({
  8:         color: props.color || 'inherit',
  9:     }),
 10: })`
     -^ union: props of React element `Badge`(s). See: components/Badge/index.js:6
  Member 1:
   19: const BetaBadge = () => <Badge color={colors.brand.aaBlue}>beta</Badge>;
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ props of React element `Badge`. See: components/Badge/index.js:19
  Error:
   19: const BetaBadge = () => <Badge color={colors.brand.aaBlue}>beta</Badge>;
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `children`. Property not found in. See: components/Badge/index.js:19
    8:         expect(shallow(<Badge />)).toMatchSnapshot();
                              ^^^^^^^^^ props of React element `Badge`
  Member 2:
   17: const NewBadge = () => <Badge color={colors.brand.aaBlue}>new</Badge>;
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ props of React element `Badge`. See: components/Badge/index.js:17
  Error:
   17: const NewBadge = () => <Badge color={colors.brand.aaBlue}>new</Badge>;
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `children`. Property not found in. See: components/Badge/index.js:17
    8:         expect(shallow(<Badge />)).toMatchSnapshot();
                              ^^^^^^^^^ props of React element `Badge`
  Member 3:
   15: const PremiumBadge = () => <Badge color={colors.brand.persianGreen}>premium</Badge>;
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ props of React element `Badge`. See: components/Badge/index.js:15
  Error:
   15: const PremiumBadge = () => <Badge color={colors.brand.persianGreen}>premium</Badge>;
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ property `children`. Property not found in. See: components/Badge/index.js:15
    8:         expect(shallow(<Badge />)).toMatchSnapshot();
                              ^^^^^^^^^ props of React element `Badge`

The component:
// @flow
import React from 'react';
import styled from 'styled-components';
import * as colors from '../style/colors';

const Badge = styled.span.attrs({
    style: props => ({
        color: props.color || 'inherit',
    }),
})`
    font-size: 9px;
    text-transform: uppercase;
`;

const PremiumBadge = () => <Badge color={colors.brand.persianGreen}>premium</Badge>;

const NewBadge = () => <Badge color={colors.brand.aaBlue}>new</Badge>;

const BetaBadge = () => <Badge color={colors.brand.aaBlue}>beta</Badge>;

export default Badge;
export { PremiumBadge, NewBadge, BetaBadge };

The test:
// @flow
import React from 'react';
import { shallow } from 'enzyme';
import Badge, { PremiumBadge, BetaBadge, NewBadge } from '.';

describe('<Badge>', () => {
    it('render badge', () => {
        expect(shallow(<Badge />)).toMatchSnapshot();
        expect(shallow(<PremiumBadge />)).toMatchSnapshot();
        expect(shallow(<BetaBadge />)).toMatchSnapshot();
        expect(shallow(<NewBadge />)).toMatchSnapshot();
    });
});

It seems like it's aggregating the types from the different Badges type components and applying them to the base <Badge />; making children a required prop.

Modules behave differently across module boundaries. https://github.com/facebook/flow/issues/1278
There's a lot of code here & I think it comes down to the type of shallow.

Looks like shallow expects React$Element<any>, so that should not be the problem. I cannot reduce your repo down to anything that gives an error. Can you please reduce your example to include only the bare minimum?

Also, what version of flow are you using?

Using latest 0.52.0. I'll try to reduce and a clonable example.


[feature request] "create a module for selected items" code action

Use case
refactoring code: moving a self-contained piece of code into its own module.
Example
consider the following code
use third_party_crate::SomeType;

pub struct PublicStruct {
    field: PrivateField,
    // ..
}

impl PublicStruct {
    pub fn new() -> Self {
        Self { field: PrivateField::new(), /* .. */  }
    }
}

// start of selection
struct PrivateField {
    inner: SomeType,
}

impl PrivateField {
    fn new() -> Self { /* .. */ }
    /* .. */
}
// end of selection

the code action would move the PrivateField struct / API into its own module AND fix up references to the selected items.
after applying the code action you would get:
pub struct PublicStruct {
    field: modname::PrivateField, // NOTE became a path
    // ..
}

impl PublicStruct {
    pub fn new() -> Self {
        Self {
            field: modname::PrivateField::new(), // NOTE became a path
            // ..
        }
    }
}

mod modname {
    // or `use super::SomeType` I guess; whichever is easier to implement
    use third_party_crate::SomeType;

    pub(crate) struct PrivateField { // NOTE pub(crate)
        inner: SomeType,
    }

    impl PrivateField {
        pub(crate) fn new() -> Self { /* .. */ } // NOTE pub(crate)
        /* .. */
    }
}

Can I pick this up? I have gone through various handlers to understand working of assists.

I think someone already has their hands on this one as they were asking on zulip about it https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Doubts.20regarding.20adding.20a.20new.20module.20assist/near/245946848

Okay.

cc https://github.com/rust-analyzer/rust-analyzer/issues/2178


Remove html-webpack-plugin, close #45

Coverage remained the same at 100.0% when pulling 89f3ecfe986a2048430830b7f7d9c6f497c078c5 on feature/issue-45 into 1bc2c440697ad0dcbc4ab05b1003d81df0e2b4a3 on develop.


Android Edge Chromium needs to be a separate class "and_edge"

Currently seems to get lumped in as Edge.
Current Edge (edge-chromimium) on desktop is 90.
Current Edge Chromium on Android is 46.
This REALLY throws the version checking out. Need another browser defined - and_edge?
This would seem to follow the pattern for chrome, although the windows and android version both seem to be on v90 at present.

This repo is just for repack of caniuse-db.


chore(deps): update dependencies

:package: @hono/hono 4.5.10 → 4.6.3
:package: @std/assert 1.0.3 → 1.0.6
:package: @std/http 1.0.4 → 1.0.7
:package: @std/path 1.0.3 → 1.0.6

@coderabbitai review


Jacobian arithmetic

Brief
Currently, CryptID.native uses affine points which can lead to suboptimal performance in some cases. To speed up things, we should consider implementing other point representations.
Task
Implement arithmetic on points represented using Jacobian projective coordinates. This should be done for points with Complex coordinates too.

Checked the existing code. The main problem with it is that the GMP library does not have a well performing modular multiplication, so we are using multiply than modulo, which seems to be slow, Because of that the Jacobian functions have almost the same performance as the Affine functions,


feat(node-swc): Babel plugin

node:

[ ] Add babel plugin runner.

Does swc have the ability to run babel plugins? Or do plugins need to be written for swc specifically?


[main] SPECS-EXTENDED fixes and removals.

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/tools/cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

Bulky change in number of modified files but they can be broken down into these categories:

Spec removals, 60+ files.
19 specs with added BR on missing Perl modules.
Build fix for javapackages-tools-meta (removed missing file from %files).
Build fix for gstreamer1-plugins-base (removed BR on cdparanoia because we don't need it).
Build fix for hyphen-ia (fixed spec typo).

Change Log

Added missing Perl dependencies to 19 packages.
Removed specs for failing packages, which are not necessary for 2.0 Mariner.
Fixed javapackages-tools-meta build.
Fixed gstreamer1-plugins-base build.
Fixed hyphen-ia build.

Does this affect the toolchain?

No.
Test Methodology

Local package builds of modified specs.

Fixes look good, spec removals look good (only one that slightly concerns me is liblouis, since we've needed to add accessibility packages in the past, but I suppose we can add back as needed).

Good catch. I believe there's a separate effort underway, which will add it back, if needed. For now we've agreed it's OK to remove it.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 16:48:29 on 2023.05.31
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 23021
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=23021

Problem has been resolved in 3m 0s at 16:51:29 on 2023.05.31
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 23021


Update old yarn gpg key

Currently, when I build my image based on this image, it will generate this error
Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Get:5 https://deb.nodesource.com/node_8.x buster InRelease [4619 B]
Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [175 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB]
Err:4 https://dl.yarnpkg.com/debian stable InRelease
  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging<EMAIL_ADDRESS>Get:8 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B]
Get:9 https://deb.nodesource.com/node_8.x buster/main amd64 Packages [1008 B]
Reading package lists...
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging<EMAIL_ADDRESS>E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.

It seems the prebuilt image of this dcoker-python-nodejs contains the old gpg key. Could you please update those images with new GPG key?
Thanks
FYI: https://github.com/yarnpkg/yarn/issues/7866

Another FYI: I use nikolaik/python-nodejs:python3.6-nodejs8

Hmm, checked the version support. Seem nodev8 is out of support so that image will not longer be updated automatically.
Close this issue. Sorry for disturbing

You'll have to get whoever maintains the Docker image to update the GPG key.

I'm also seeing this on nikolaik/python-nodejs:python3.7-nodejs12. I'm not sure how the build process operates for these to know if the same root cause exists for both these versions.

I'm also seeing this on nikolaik/python-nodejs:python3.7-nodejs12. I'm not sure how the build process operates for these to know if the same root cause exists for both these versions.

Oops, I don't test it on new distribution. I think with the current build 2 times per day, the gpg key  should be updated.
Let re open it then.

You'll have to get whoever maintains the Docker image to update the GPG key.

I think I posted this issue of the maintainer's repo 🤔

I think I posted this issue of the maintainer's repo 🤔

Oops, sorry, I thought you posted this in the Yarn repo. Sorry! 😅

For those who want to follow any updates you can find it here:
https://github.com/yarnpkg/yarn/issues/7866

Are you still seeing this after the images have been rebuilt and using docker build --pull . ?

We use this image in a build process, and I had worked around this by adding curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - as a build step.
I've removed that and run a new build (which should pull new images)
I believe the issue is resolved.

Since apt-key was deprecated, this works for me:
ENV YARNKEY=yarn-keyring.gpg
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmour -o /usr/share/keyrings/$YARNKEY && \
echo "deb [signed-by=/usr/share/keyrings/$YARNKEY] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update

Source: https://tickets.dominodatalab.com/hc/en-us/articles/12830637385364-Yarn-Package-invalid-key


Mostly translation related patches

I know it's so messy.
Please review carefully. I tried many times to just build project.

Messy, but good. Thank you for your contribution!


Missing release : apache-livy-0.8.0-incubating-1.0_2.12-bin.zip

Hello,
I am raising this issue because I cannot found the version "apache-livy-0.8.0-incubating-1.0_2.12-bin.zip"
Thank you.

@rpignolet if you have the binary somewhere is it possible for you to upload it in a new release ? Thanks !

https://github.com/TOSIT-IO/incubator-livy-fork/releases/tag/0.8.0-incubating-1.0


Array slice JEP

This document proposes modifying the JMESPath grammar to support array slicing
for accessing specific portions of an array.

Merged via 47abb3a95dddd360dd14534a26cce779740803d9, with the changes mentioned in the comment above


Facing issue for removing current series from chart

I'm using the below code for removing the current series from the sample app
leftSeries.forEach(firstChartApi::removeSeries)
leftSeries.clear()
getting below error
Type inference failed: inline fun  Iterable.forEach(action: (T) -> Unit): Unit
cannot be applied to
receiver: MutableList  arguments: (KFunction2<@ParameterName SeriesApi, @ParameterName(name = "onSeriesDeleted") () -> Unit, Unit>)
Please suggest

Hi! Can you check the version of kotlin plugin for IDE?
Also please check the version of kotlin version using in the project.
I guess that might be the problem with method signature with default params. https://youtrack.jetbrains.com/issue/KT-8834

Hi! Can you check the version of kotlin plugin for IDE?
Also please check the version of kotlin version using in the project.
I guess that might be the problem with method signature with default params. https://youtrack.jetbrains.com/issue/KT-8834

hi team our current version is this ext.kotlin_version = '1.3.60'
due to some limitations, we are not able to update the kotlin version frequently
could you please provide the support for the clear functionally on the kotlin version(ext.kotlin_version = '1.3.60')

hi team our current version is this ext.kotlin_version = '1.3.60'
due to some limitations, we are not able to update the kotlin version frequently
could you please provide the support for the clear functionally on the kotlin version(ext.kotlin_version = '1.3.60')

leftSeries.forEach(firstChartApi::removeSeries)
leftSeries.clear()

In this statement you can see the method reference firstChartApi::removeSeries. That statement only possible in kotlin v1.4.
As I said this caused by limitation of method signature created by kotlin compiler.
If you want to avoid the compilation error you should use lambdas instead of method reference.
leftSeries.forEach {
    firstChartApi.removeSeries(it)
}
leftSeries.clear()

leftSeries.forEach(firstChartApi::removeSeries)
leftSeries.clear()

In this statement you can see the method reference firstChartApi::removeSeries. That statement only possible in kotlin v1.4.
As I said this caused by limitation of method signature created by kotlin compiler.
If you want to avoid the compilation error you should use lambdas instead of method reference.
leftSeries.forEach {
    firstChartApi.removeSeries(it)
}
leftSeries.clear()


How to measure cpu usage when cleanup is run ?

I am trying to use top but not really sure which process to look for

try pprof


centos fixes

Fixes for issue #2

install tesseract and imagemagick
Use variables for apache config dirs

@jonathangreen @dannylamb are we good with this one now?

@seth-shaw-unlv ugh you're right so we need https://github.com/Islandora-Devops/claw-playbook/pull/60 merged and then fcrepo-syn breaks because of https://github.com/Islandora-Devops/ansible-role-fcrepo-syn/issues/4 🤦♂
I'm gonna pull you in there to move this along.

@whikloj I thought Islandora-Devops/claw-playbook#60 resolves Islandora-Devops/ansible-role-fcrepo-syn#4 by overriding the fcrepo-syn defaults. We shouldn't need another PR to fix it. What happened when you tested Islandora-Devops/claw-playbook#60?

@seth-shaw-unlv ok, so I have got the new claw-playbook master with https://github.com/Islandora-Devops/claw-playbook/pull/60 merged, then I altered.
> git diff requirements.yml
diff --git a/requirements.yml b/requirements.yml
index 45922fb..4abc07d 100644
--- a/requirements.yml
+++ b/requirements.yml
@@ -57,9 +57,9 @@
   name: Islandora-Devops.cantaloupe
   version: 0.0.1

-- src: https://github.com/Islandora-Devops/ansible-role-crayfish
+- src: https://github.com/seth-shaw-unlv/ansible-role-crayfish
   name: Islandora-Devops.crayfish
-  version: 0.0.1
+  version: centos

 - src: https://github.com/Islandora-Devops/ansible-role-drupal-openseadragon
   name: Islandora-Devops.drupal-openseadragon
@@ -83,7 +83,7 @@

 - src: https://github.com/Islandora-Devops/ansible-role-grok
   name: Islandora-Devops.grok
-  version: 0.0.1
+  version: 0.0.2

 - src: https://github.com/Islandora-Devops/ansible-role-karaf
   name: Islandora-Devops.karaf

Ran
ISLANDORA_DISTRO="centos/7" vagrant up

Now I am getting to crayfish with centos but hitting this.
TASK [Islandora-Devops.crayfish : Install Gemini db schema (mysql)] ************
Friday 06 April 2018  13:57:44 -0500 (0:00:00.791)       0:31:23.974 **********
fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "ERROR 1709 (HY000) at line 1: Index column size too large. The maximum column size is 767 bytes.\n"}
	to retry, use: --limit @/sw/var/www/DAM2/claw-playbook/playbook.retry

In /vars/RedHat.yml can be added tesseract after ImageMagick to be installed
Epel repo is already there...
here is a version
[vagrant@claw ~]$ tesseract -v
tesseract 3.04.00
leptonica-1.72
libgif 4.1.6(?) : libjpeg 6b (libjpeg-turbo 1.2.90) : libpng 1.5.13 : libtiff 4.0.3 : zlib 1.2.7 : libwebp 0.3.0

@DigitLib I'm feeling foolish now. When I was looking around for information about tesseract and CentOS I saw mention that tesseract was only in epel-testing. I neglected to check the epel repo myself. Indeed, it has been in the main epel repo since 2016!

So, we've been using remi for PHP 7 in webserver.yml and we haven't been using EPEL (which makes me feel a bit better about not catching it). Do we want to start using EPEL for PHP 7 instead, so we get access to tesseract as well?

@seth-shaw-unlv I checked a EPEL repo package list and I didn't find a PHP 7 there http://mirror.airenetworks.es/epel/7/x86_64/Packages/p/ and check also with yum install php70 it is only in remi-safe. EPEL is installed during installation process (I don't know exactly when). Let's stay with remi for PHP 7...

Can we add new symlink as mentioned in httpd.cnf file:
"Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf"

name: Symlink crayfish httpd config file into action (RedHat)
file:
src: "{{httpd_conf_directory}}/conf-available/{{item}}.conf"
dest: "{{httpd_conf_directory}}/conf.d/{{item}}.conf"
owner: "{{ crayfish_user }}"
group: "{{ crayfish_user }}"
state: link
with_items: "{{ crayfish_services }}"
notify: restart apache
when: ansible_os_family == "RedHat"

Aftrer - name: Symlink crayfish httpd config file into action gruop?
In Ubuntu is defined as conf-enabled but in CentOS is conf.d?
Or to find a clenear solution?

@DigitLib, @ajs6f has tested this in https://github.com/Islandora-CLAW/CLAW/issues/831and it successfully works.  I'm inclined to bring this code in to prevent it from going stale.  Would you consider creating an additional issue (and possibly PR by the looks of it) for the symlink?

@dannylamb Working on symlink...


Error calling after install

after a quick test, no reactions by NPW, after that i saw some error in the console.
I disabled all other extensions, and restart, but i got the the same errors.
Error calling: ...\extensions\stable-diffusion-NPW\scripts\npw.py/ui
Traceback (most recent call last):
File "...\stable-diffusion-webui\modules\scripts.py", line 262, in wrap_call
res = func(*args, **kwargs)
File "...\stable-diffusion-webui\extensions\stable-diffusion-NPW\scripts\npw.py", line 39, in ui
weight_input_slider.release(None, weight_input_slider, weight_input, _js="(x) => x")
AttributeError: 'Slider' object has no attribute 'release'
Error calling: ...\stable-diffusion-webui\extensions\stable-diffusion-NPW\scripts\npw.py/ui
Traceback (most recent call last):
File "...\stable-diffusion-webui\modules\scripts.py", line 262, in wrap_call
res = func(*args, **kwargs)
File "...\stable-diffusion-webui\extensions\stable-diffusion-NPW\scripts\npw.py", line 39, in ui
weight_input_slider.release(None, weight_input_slider, weight_input, _js="(x) => x")
AttributeError: 'Slider' object has no attribute 'release'
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
Startup time: 1.5s (list extensions: 1.0s, load scripts: 0.2s, create ui: 0.2s).
Error running process: ...\stable-diffusion-webui\extensions\stable-diffusion-NPW\scripts\npw.py
Traceback (most recent call last):
File "...\stable-diffusion-webui\modules\scripts.py", line 409, in process
script.process(p, *script_args)
TypeError: Script.process() missing 1 required positional argument: 'weight'

You need to update your sd-webui to the latest version, but beware, as it might be a bit buggy.

@mpole if you decide you don't want to update yet, you can edit npw.py on line 39 and change release to change. Feedback might become a bit laggy, but should work.

line 39 change release to change. Feedback might become a bit laggy, but should work.

this work, thx! ... sd-webui updated if i have some more time ;)


add hover function + disclaimer css

this pr adds the hover functionality and disclaimer css to the existing faq component. this is because our detailsToggle component has a hover functionality and i think we should have consistent behavior for users.

hey @mirnawong1 ! i really like this and appreciate the consistency across the faqs.
for a little more polish 💅 , is it possible to have the text "Hover to view" not be underlined since that's not actually part of the faq content (it's just a helper note) ?

thanks @nghi-ly and that's a good suggestion! I'll look into to removing the underline so the distinction is clearer 🙌

update: i've removed the underline from the 'hover to view' for both the faq and detailsToggle component.

thanks so much for the review @JKarlavige!


Implement a baseline packing/layout conversion algorithm

As we start to add support for different RLWE packings to HEIR, we will need to implement packing layout conversion operations and lowerings.
Once we have an attribute for layout (cf. https://github.com/google/heir/issues/913), and have decided on what types to store the attribute, we will need:

A switch_packing op that changes the layout attribute. The simplest example of this is a single ciphertext whose data elements should be rearranged.
A lowering that implements layout conversion via the simplest possible approach: select elements with the same shift, mask and rotate, and then sum up all shifts done this way. (Sec 3.1 of https://eprint.iacr.org/2014/106 describes this as the naive algorithm)

Other issues will handle optimization passes at the switch_packing op level to reduce the cost of switching packings (this is what Fhelipe does in #800), and more advanced lowerings that create deeper shift networks (larger multiplicative depth) to allow for a smaller number of rotation groups.

While this is the issue for the baseline approach, I wanted to throw in that Vos et al., Efficient Circuits for Permuting and Mapping Packed Values Across Leveled Homomorphic Ciphertext, ESORICS'22 claims to outperform the HElib approach significantly (of course, never trust a benchmark you haven't cherrypicked yourself... 😉)


fix: bump to core 3, remove command dep

@W-10743876@
parking-orbit plugin-telemetry
requires https://github.com/forcedotcom/telemetry/pull/42
uses core3

requires:
https://github.com/oclif/core/pull/416
https://github.com/forcedotcom/telemetry/pull/42


Add No One Survived

Adds No One Survived dedicated server.
Notes:

All Game.ini settings added.
Requires Wine 8 on Linux.

Is this ready for testing?

Should be. Haven't done a final proofread yet, but I guess that's what testing is for :)
It can be installed from my dev branch

One thing I am particularly interested in is whether saves work as expected. Just starting and stopping the server doesn't generate a save file, but maybe it needs a client to connect before it does?

I'll check. I did notice one copy pasta error let me get the line.  262 is the same as 246. I think you meant it to be "Sets the zombie strength"
    {         "DisplayName":"Running Corpses Proportion",         "Category":"NOS Gameplay Settings",         "Description":"Sets the proportion of running corpses",         "Keywords":"zombie,corpse,running,percentage,runzombiepercent",         "FieldName":"RunZombiePercent",         "InputType":"number",         "MinValue":"0",         "MaxValue":"1",         "IsFlagArgument":false,         "ParamFieldName":"GameSettings.RunZombiePercent",         "IncludeInCommandLine":false,         "DefaultValue":"0.5",         "Placeholder":"0.5",         "EnumValues":{}     },     {         "DisplayName":"Zombie Strength",         "Category":"NOS Gameplay Settings",         "Description":"Sets the proportion of running corpses",         "Keywords":"zombie,strength,zombiestreng",         "FieldName":"ZombieStreng",         "InputType":"number",         "MinValue":"0",         "MaxValue":"3",         "IsFlagArgument":false,         "ParamFieldName":"GameSettings.ZombieStreng",         "IncludeInCommandLine":false,         "DefaultValue":"1",         "Placeholder":"1",         "EnumValues":{}     },

Here is the in game screenshot of a dedicated server.

Log lines for user joins/leaves/chats would be awesome too

It does save when players log out which is good. Chat doesn't get logged to the console unfortunately. Join messages show names but disconnects done.
Join.
[2023.04.08-06.31.40:677][489]LogNet: Join succeeded: Katala Swiftwind

Leave
[2023.04.08-06.35.39:717][584]LogNet: UChannel::ReceivedSequencedBunch: Bunch.bClose == true. ChIndex == 0. Calling ConditionalCleanUp.
[2023.04.08-06.35.39:718][584]LogNet: UChannel::CleanUp: ChIndex == 0. Closing connection. [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: <IP_ADDRESS>:47208, Name: IpConnection_2147478989, Driver: GameNetDriver IpNetDriver_2147482424, IsServer: YES, PC: HDCK_Player_Controller_C_2147478985, Owner: HDCK_Player_Controller_C_2147478985, UniqueId: STEAM:UNKNOWN [0x1100001056B6B94]
[2023.04.08-06.35.39:718][584]LogNet: UNetConnection::Close: [UNetConnection] RemoteAddr: <IP_ADDRESS>:47208, Name: IpConnection_2147478989, Driver: GameNetDriver IpNetDriver_2147482424, IsServer: YES, PC: HDCK_Player_Controller_C_2147478985, Owner: HDCK_Player_Controller_C_2147478985, UniqueId: STEAM:UNKNOWN [0x1100001056B6B94], Channels: 91, Time: 2023.04.08-06.35.39
[2023.04.08-06.35.39:718][584]LogNet: UNetConnection::SendCloseReason:
[2023.04.08-06.35.39:718][584]LogNet: - Result=ControlChannelClose, ErrorContext="ControlChannelClose"
[2023.04.08-06.35.39:718][584]LogNet: UChannel::Close: Sending CloseBunch. ChIndex == 0. Name: [UChannel] ChIndex: 0, Closing: 0 [UNetConnection] RemoteAddr: <IP_ADDRESS>:47208, Name: IpConnection_2147478989, Driver: GameNetDriver IpNetDriver_2147482424, IsServer: YES, PC: HDCK_Player_Controller_C_2147478985, Owner: HDCK_Player_Controller_C_2147478985, UniqueId: STEAM:UNKNOWN [0x1100001056B6B94]
24:35:45
[2023.04.08-06.35.39:775][585]LogBlueprintUserMessages: [HDCK_GameMode_C_2147482425] save character[2023.04.08-06.35.45:961][732]LogBlueprintUserMessages: [HDCK_GameMode_C_2147482425] SaveGame

So as of right now no way to track players online from what I can see.

Nothing else logged on join that could link the two (leaving AMP's bugs with tracking things like sessionid aside, ofc)?

Actually the [2023.04.08-06.39.36:307][636]LogNet: Login request: ?Name=Katala Swiftwind userId: STEAM:UNKNOWN [0x1100001056B6B94] platform: STEAM the hex in [ ] corresponds to the logoff of the same format.
[2023.04.08-06.39.36:242][634]LogNet: NotifyAcceptingConnection accepted from: <IP_ADDRESS>:58950
[2023.04.08-06.39.36:242][634]LogHandshake: SendConnectChallenge. Timestamp: 503.880551, Cookie:<PHONE_NUMBER>57146038136115106114059235036147089037011238136136
[2023.04.08-06.39.36:243][634]LogNet: NotifyAcceptingConnection accepted from: <IP_ADDRESS>:58950
[2023.04.08-06.39.36:243][634]LogHandshake: SendChallengeAck. InCookie:<PHONE_NUMBER>57146038136115106114059235036147089037011238136136
[2023.04.08-06.39.36:243][634]LogNet: Server accepting post-challenge connection from: <IP_ADDRESS>:58950
[2023.04.08-06.39.36:243][634]LogNet: IpConnection_2147477039 setting maximum channels to: 32767
[2023.04.08-06.39.36:244][634]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2023.04.08-06.39.36:244][634]LogNet: NotifyAcceptedConnection: Name: HDCKMap, TimeStamp: 04/08/23 06:39:36, [UNetConnection] RemoteAddr: <IP_ADDRESS>:58950, Name: IpConnection_2147477039, Driver: GameNetDriver IpNetDriver_2147482424, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2023.04.08-06.39.36:244][634]LogNet: AddClientConnection: Added client connection: [UNetConnection] RemoteAddr: <IP_ADDRESS>:58950, Name: IpConnection_2147477039, Driver: GameNetDriver IpNetDriver_2147482424, IsServer: YES, PC: NULL, Owner: NULL, UniqueId: INVALID
[2023.04.08-06.39.36:275][635]LogNet: NotifyAcceptingChannel Control 0 server World /Game/BattleRoyaleStarterKit/Maps/BattleRoyale_Map_a/HDCKMap.HDCKMap: Accepted
[2023.04.08-06.39.36:275][635]LogNet: Remote platform little endian=1
[2023.04.08-06.39.36:275][635]LogNet: This platform little endian=1
[2023.04.08-06.39.36:307][636]LogNet: Login request: ?Name=Katala Swiftwind userId: STEAM:UNKNOWN [0x1100001056B6B94] platform: STEAM
[2023.04.08-06.39.36:310][636]LogNet: Client netspeed is 100000
24:39:40
[2023.04.08-06.39.40:548][761]LogNet: Join request: /Game/BattleRoyaleStarterKit/Maps/BattleRoyale_Map_a/HDCKMap?Name=Katala Swiftwind?SplitscreenCount=1
[2023.04.08-06.39.40:560][761]LogActorComponent: RegisterComponentWithWorld: (/Game/BattleRoyaleStarterKit/Maps/BattleRoyale_Map_a/HDCKMap.HDCKMap:PersistentLevel.HDCK_CharacterBP_C_2147477018.ACFInteraction) Already registered. Aborting.
[2023.04.08-06.39.40:560][761]LogNet: Join succeeded: Katala Swiftwind

Other than those small things it runs like a dream on Linux. I can test on a windows box maybe here soon.

Any idea what Zombies Respawn in your screenshot above is about. Seems to be ZombieNum in the settings file.
I also can't see in your screenshot any equivalent for the NumOfZombieSpawn setting from the file.

Those two are not in the dedicated side.

So you are saying the setting is repeated? Zombie Wave Multiplier (AttackZombieNum) and Zombie Respawn (ZombieNum)?
Confusing.

Looking at it again on my server and in game.
AttackZombieNum=2 - This is Zombie Wave Multiplier
ZombieNum=2 - This Zombie Respawn
Like you said Confusing but yes. I think that is right.

Cool. But what does Zombie Respawn mean? The Steam forum post says something like "amount of lost generation on the map", which makes no sense to me.

I'm not 100% sure myself. I thought it was something to the effect of. You killed all 6 zombies in this area now since the multiplier is 2 then 12 will respawn in that area. Next time will be 24 etc until you hit the cap of zombies per player.

No problem, I will make the other changes in the meantime.

The hardest part right now is the translation / language barrier on the explanations of even how to set up the server officially.

Not sure I follow that comment?

Sorry, like I said tired....
The game is from what I can tell an Asian company, and they had a hard time explaining how to set up the dedicated server, no explanation of the settings etc. It ls most likely a language barrier or translation issues. Even some of the in game text is in another language.

Did a desktop review and everything seems in order. Unless you find anything else through testing it should be good to merge.

I'm making a bunch of changes with GKuba's great feedback.
The wiki for setting up the server is pretty average (so much out of sync with the game itself) but I've got to give these devs credit - they actually install all the required config files right off the bat

The regex now uses sessionid, but of course that is still not working in AMP

Just glad to help. We were about the same place and I finally had time to jump in.
I'll check the latest version now and see how it is.

 Getting a buddy on to test that with multiple people but Great Job!! Greelan
Thanks for helping with this one!

Just need to figure what NumOfZombieSpawn means. It's in the ServerSetting section of serversettings.xml so maybe that means it show in-game in another menu?

That is number of zombies per player its in the peer to peer settings. its probably set to 50 by default.

Thanks. Actually it was ZombieNum that you were going investigate further

I would word it as "Zombie Respawn Multiplier" until we get more info. I'm still trying to figure out what exactly it really is.

That wording sounds much better. I've had that template up since your last push, and it's running fine still.

I joined the NOS discord and did a search of the setting - this is the best I could glean from the various comments. Lots of people are confused by it; even the mod was a bit vague about what it meant.

Yeah, that is the best I could gleam with my testing as well.


facebook-conversions: map page & screen events to "ViewContent" events

Currently screen and page events are showing up in Meta as custom events, rather than their standard ViewContent event which is designed for pages.

Thank you!

@absorbb , has this been deployed to cloud?

@jspizziri not yet. It needs more testing

@jspizziri have to rollback it because it will affect all users already using facebook destination

@absorbb interesting. I suppose that makes sense, but it is strange that people would have to manually map this in order for it to show up correctly in FB. Is there a way to add a timestamp in the code like:
if (destination.created_at <= new Date('...')) {
  // use old mapping
} else {
  // use new mapping
}

Or a feature flag or something? At the very least, it's probably wise to document this somewhere.

@jspizziri
we may consider that. Also Segment use "PageView" event for page event by default.
So not sure what is the best default here


Remove conda default channel from YML

Make sure installation is not affected by removing the channel

Our solution was not enough. Conda automatically adds default channel.
Can we try:
conda config --remove channels defaults
next time we install PDBClean?
@gdkwxn

The red box contains the error message. The error message is due to me running the line
"conda config --remove channels defaults"
before hand. That error message confirms that it did what it had to do I believe.
Everything above the cyan line is just the environment being created. When i opened the environment.yml file before installation, it didn't contain the default channel. After completely installing PDBCleanV2, it still didn't contain the default channel.

This is great! Thanks for testing it. Before we close this issue, let's include this step in our installation instructions. Can you modify our README @gdkwxn ?


DirPaginate: Update pagination on change data array

Hey Michael,
Thanks a million for this directive it is amazing.
I'm using this directive in a custom table directive that I wrote. Items in the table can be deleted and new items could be added by the user. Now when I delete or add an items the pagination does NOT update by itself. I might be missing something but as far as I can see I can't refresh the pagination with the current options.
Down to the question: Is the currently a way to update the pagination once the data array changes?
For all clearity. In the following example 'items' would be what I mean with data array:

{{ item }}

Hi,
When you say "refresh", do you mean that the collection length has not changed, but the contents themselves have changed?
As far as I am aware (and I just tested it out in plunker (http://plnkr.co/edit/jcQ6jFq6oGOn1VlUnoYl?p=preview), if you change the collection, it should update automatically.
This of course assumes that any changes made are done within the Angular digest cycle. That is to say, if your collection is modified by some code external to Angular, then you might have to call a $scope.$apply(); to force Angular to check the changes.
If none of that helps, please get back to me with more specifics of what you are trying to do.

Thanks for the reply.
Sorry, 'refresh' might have caused misunderstanding.
Let's take deleting an item as an example. The fact is when you delete an item the length of the collection does change. But When I have 5 items per page and I delete one I am left with 4 items.
What I would like is that the whole pagination would update/refresh.

Hi,
The desired behaviour you describe is how the module behaves, or at least should behave. Do you have example code where it doesn't do this? Or even better, put it in a plunker so I can see it myself?

I have made a plunker and as you say it works very well.
http://plnkr.co/edit/McxUKO6l3qwcqt6SSIdq?p=preview
What i just realized when I was writing this code is that I work with a logical deletion in my project. So when you click delete. I have made a plunker of that here:
http://plnkr.co/edit/ix5aYpXVxtr7DpGvs5Se?p=preview
Is there a way you can say to the pagination to exclude items based on properties? In this example I would want the pagination to ignore the item when item.deleted = true. I understand this might be beyond the scope of this plugin but advice would be greatly appreciated. I am willing to contribute as well if this behoviour is desired in your plugin

Okay I see why you were getting that unexpected behaviour. You are correct in that this a an Angular-related issue rather than something specific to this module.
Here is how I would handle this: instead of an ng-if on the deleted property, you could add an additional filter using a custom predicate function:

    x     {{meal.value}}

// controller
$scope.deleteMe = function(item) {
    item.deleted = true;
}

$scope.deletedFilter = function(item) {
    return !item.deleted;
};

Demo: http://plnkr.co/edit/Pl3BHqhngjxftzzrkEbC?p=preview

Thanks for the idea. I completely agree with solving it outside of the plugin. Thanks for your time!

Hi,
I have a requirement to show entries as below
"showing 21 - 40 of 144 results"
could you please tell me how to do that?

"The three range values can be used to generate a label like "Displaying 16-20 of 53 items"."
https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination#writing-a-custom-pagination-controls-template


Reproducibility

Hi I tested your evaluation script but it seems that it is non-deterministic even if testing with the same exact checkpoint
Running the following command 3 times:
python examples/evaluate_policy.py --task_name=laptop --checkpoint_path assets/rl_checkpoints/laptop.zip --eval_per_instance 10
I obtain the following results

reward mean: 227 success rate: 0.57
reward mean: -0.12 success rate: 0.48
reward mean:  -0.053 success rate: 0.38
Is it normal that the evaluation changes across different evaluations? the policy is always the same.
Also the results for the laptop task don't match the results of the paper, am I doing something wrong?

Hi @paolotron . Thanks for using our benchmark. Yes, the evaluation is non-deterministic because we randomize position and orn in the evaluation scripts here. You can either change the logic to a deterministic one or increase the eval_per_instance param to get the success rate with lower variance. Also, since we still updated the metrics and simulation code after reporting the results in the paper. We can guarantee that the experiments in the paper are in the same training settings but we cannot guarantee the comparability of your experimental results and the values in the paper. Also, the values in the paper are averaged between three seeds of evaluations, so I recommend you train your policy and the baseline under the same configuation (also using the same random seeds) to get a fair comparision.

Hi @paolotron. To ensure the reproducibility of benchmark. We are planning to release all the checkpoints for customized evaluation. Maybe in a few weeks, too much random stuff to organize. :)

Hi @paolotron . I update the evaluate.py to a deterministic one and report the results of bucket in reproducibility.md with an increased eval_per_instance of 100 per instance per seed. You can download the checkpoint of bucket here. I think the results will remain the same on different machines. You are welcome to cross-check it on your own machine. The results of other tasks will also be released soon.

Hi @paolotron . We have updated all the checkpoints in assets.zip. You can check the results in Main Results.


remove reference to non-existing user method from course views

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Bug fix

Please check if the PR fulfills these requirements

[ ] E2E Tests for the changes have been added  via Cypress
[ ] Meaningful rspec tests have been added
[ ] Docs have been added / updated

What is the current behavior? (You can also link to an open issue here)

In #189 we removed the course/user join table. Unfortunately we overlooked to references to to course#users in the views.

What is the new behavior (if this is a feature change)?

References to to course#users are remoced from the views.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Since the point when we introduced the new start page it is no longer possible to subscribe to courses (only to lectures), so there is no generic subscribers count for a course any longer. Of course, we could add a substitute method like this in course.rb:
def users
  User.where(id: LectureUserJoin.where(lecture: lectures).pluck(user_id).uniq)
end

which returns all users that have subscribed a lecture that belongs to this course.


[Snyk] Fix for 12 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

jobs/pacman-data-shipper/pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

569/1000  Why? Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094942
ch.qos.logback:logback-classic:  1.3.5 -> 1.3.14
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Denial of Service (DoS) SNYK-JAVA-CHQOSLOGBACK-6094943
ch.qos.logback:logback-classic:  1.3.5 -> 1.3.14  ch.qos.logback:logback-core:  1.3.5 -> 1.3.14
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-CHQOSLOGBACK-6097492
ch.qos.logback:logback-classic:  1.3.5 -> 1.3.14
No
No Known Exploit

569/1000  Why? Has a fix available, CVSS 7.1
Uncontrolled Resource Consumption ('Resource Exhaustion') SNYK-JAVA-CHQOSLOGBACK-6097493
ch.qos.logback:logback-classic:  1.3.5 -> 1.3.14  ch.qos.logback:logback-core:  1.3.5 -> 1.3.14
No
No Known Exploit

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038424
com.amazonaws:aws-java-sdk-s3:  1.12.261 -> 1.12.683  com.fasterxml.jackson.core:jackson-databind:  <IP_ADDRESS> -> <IP_ADDRESS>
No
Proof of Concept

616/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-3038426
com.amazonaws:aws-java-sdk-s3:  1.12.261 -> 1.12.683  com.fasterxml.jackson.core:jackson-databind:  <IP_ADDRESS> -> <IP_ADDRESS>
No
Proof of Concept

486/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 3.3
Information Disclosure SNYK-JAVA-COMGOOGLEGUAVA-1015415
com.google.guava:guava:  12.0 -> 32.0.0-android
No
Proof of Concept

509/1000  Why? Has a fix available, CVSS 5.9
Deserialization of Untrusted Data SNYK-JAVA-COMGOOGLEGUAVA-32236
com.google.guava:guava:  12.0 -> 32.0.0-android
No
No Known Exploit

379/1000  Why? Has a fix available, CVSS 3.3
Creation of Temporary File in Directory with Insecure Permissions SNYK-JAVA-COMGOOGLEGUAVA-5710356
com.google.guava:guava:  12.0 -> 32.0.0-android
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-2331703
mysql:mysql-connector-java:  8.0.28 -> 8.0.31
No
No Known Exploit

499/1000  Why? Has a fix available, CVSS 5.7
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-3040284
mysql:mysql-connector-java:  8.0.28 -> 8.0.31
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMGOOGLEPROTOBUF-3167772
mysql:mysql-connector-java:  8.0.28 -> 8.0.31
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

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
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Denial of Service (DoS)
🦉 Creation of Temporary File in Directory with Insecure Permissions

Checkmarx One – Scan Summary & Details – 97fe1d6c-24c7-4ee3-9af3-e90e2da92196
New Issues

Severity
Issue
Source File / Package
Checkmarx Insight

CVE-2023-22102
Maven-com.mysql:mysql-connector-j-8.0.31
Vulnerable Package

CVE-2024-22243
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2024-22257
Maven-org.springframework.security:spring-security-core-5.0.7.RELEASE
Vulnerable Package

CVE-2024-22259
Maven-org.springframework:spring-web-5.0.8.RELEASE
Vulnerable Package

CVE-2023-21971
Maven-com.mysql:mysql-connector-j-8.0.31
Vulnerable Package


[DDW-703] Undelegate a wallet

This PR CHANGES.
The undelegation feature is partially completed. It is currently disabled since we needed to cover pending delegation statuses after a wallet is undelegated.
Important to understand: When wallet is undelegated, rewards address is deregistered so rewards cannot be collected. Even though a wallet will be earning rewards for two epochs after it was undelegated, the rewards will go to the Cardano treasury.
Todos

[ ] Reenable the feature
[ ] Update unedelgation wizard to display deposits that will be returned
[ ] Update UI copy
[ ] Update delegation center to display pending delegation preferences for a case when wallet is delegated in an epoch but rewards are going to the treasury.

Screenshots
Testing Checklist

Review Checklist
Basics

[ ] PR has been assigned and has appropriate labels (feature/bug/chore, release-x.x.x)
[ ] PR is updated to the most recent version of the target branch (and there are no conflicts)
[ ] PR has a good description that summarizes all changes
[ ] PR has default-sized Daedalus window screenshots or animated GIFs of important UI changes:

[ ] In English
[ ] In Japanese

[ ] CHANGELOG entry has been added to the top of the appropriate section (Features, Fixes, Chores) and is linked to the correct PR on GitHub
[ ] Automated tests: All acceptance and unit tests are passing (yarn test)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in development build (yarn dev)
[ ] Manual tests (minimum tests should cover newly added feature/fix): App works correctly in production build (yarn package / CI builds)
[ ] There are no flow errors or warnings (yarn flow:test)
[ ] There are no lint errors or warnings (yarn lint)
[ ] There are no prettier errors or warnings (yarn prettier:check)
[ ] There are no missing translations (running yarn manage:translations produces no changes)
[ ] Text changes are proofread and approved (Jane Wild / Amy Reeve)
[ ] Japanese text changes are proofread and approved (Junko Oda)
[ ] UI changes look good in all themes (Alexander Rukin)
[ ] Storybook works and no stories are broken (yarn storybook)
[ ] In case of dependency changes yarn.lock file is updated

Code Quality

[ ] Important parts of the code are properly commented and documented
[ ] Code is properly typed with flow
[ ] React components are split-up enough to avoid unnecessary re-renderings
[ ] Any code that only works in main process is neatly separated from components

Testing

[ ] New feature/change is covered by acceptance tests
[ ] New feature/change is manually tested and approved by QA team
[ ] All existing acceptance tests are still up-to-date
[ ] New feature/change is covered by Daedalus Testing scenario
[ ] All existing Daedalus Testing scenarios are still up-to-date

After Review

[ ] Merge the PR
[ ] Delete the source branch
[ ] Move the ticket to done column on the YouTrack board
[ ] Update Slack QA thread by marking it with a green checkmark

This PR is blocked by https://jira.iohk.io/browse/ADP-1067

This PR is blocked by https://input-output.atlassian.net/browse/ADP-1067

Hi @danielmain - this link is not accessible to those outside of IOHK, can you please give us an update on this critical missing feature?  Thanks.

This PR is blocked by input-output.atlassian.net/browse/ADP-1067

Hi @danielmain - this link is not accessible to the public, can you please give us an update on this critical missing feature? Thanks.
Hi @jonathancross

This is the PR behind: https://github.com/input-output-hk/cardano-wallet/pull/3119
We need to clarify with the cardano-wallet Team how to integrate it now in Daedalus. By the way, I don't personally see this as a critical feature. You can still re-delegate your wallet to a different pool anytime.

I don't personally see this as a critical feature. You can still re-delegate your wallet to a different pool anytime.

Delegating locks your coins, there needs to be a way to unlock them so that they can be transferred.
My client for example has them in a hot wallet and would like to transfer them to cold storage hardware wallet.
Thanks.

Hi @danielmain any updates here?
User's ADA is being locked without warning (cannot be transferred out) via this one-way delegation.
Thanks.

I just learned that delegated ADA can still be transferred!?
This was unexpected, but at least I now know delegated coins are not "locked" and un-delegating is not as urgent as I had previously thought.  Sorry for the noise I created around this misunderstanding.


Make the management and data plane test pipelines separate by default

Today we need to do extra work in the service directory to split the 2 pipelines. It would be beneficial to make it as a default.
@weshaggard - we spoke offline about it.

I will take a look and see what we can do. I will work with @hallipr if it requires a larger amount of changes.

@weshaggard, @hallipr is there any recommendation for the SDKs where we have a combined test pipelines? I would ideally like to preemptively split them to ensure health and easy tracking but wanted to check if there are any side affects of this approach.
Also, is this process going to be manual or are there ways to make it more efficient?

For now I think creating a tests.mgmt.yml similar to the ci.mgmt.yml with a service.project in the directory is the best option for now. I will definitely take a closer look at both ci and tests once I get some time to do some prototyping here.

This came up again w.r.t. snippets. I wonder if we could make use of what we already have by default. As with the recent perf discussions about not wanting to add yet more files e.g., service.project, I think we could solve this similar to samples, stress, perf, tests, etc.
eng/Directory.Common.Build.props
<PropertyGroup>
    <IsClientLibrary Condition="'$(IsClientLibrary)' == '' and $(MSBuildProjectName.StartsWith('Azure.'))">true</IsClientLibrary>
+   <IsManagementLibrary Condition="'$(IsClientLibrary)' == '' and $(MSBuildProjectName.StartsWith('Azure.ResourceManager'))">true</IsClientLibrary>
</PropertyGroup>

eng/service.proj
<PropertyGroup>
    <IncludeTests Condition="'$(IncludeTests)' == ''">true</IncludeTests>
+   <IncludeMgmt Condition="'$(IncludeMgmt)' == ''">true</IncludeTests>
</PropertyGroup>

<ItemGroup>
    <ProjectReference Include="@(TestProjects)" Exclude="@(MgmtExcludePaths)" Condition="'$(IncludeTests)' == 'true'" />
+   <ProjectReference Include="@(MgmtProjects)" Condition="'$(IncludeMgmt)' == 'true'" />
</ItemGroup>

(In this case, most of these exclude mgmt projects already, so maybe we can make those exclusions conditional with an intermediate item group.)
sdk/*/ci.mgmt.yml
extends:
  template: /eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: keyvault
+   IncludeMgmt: true

eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
  - name: Artifacts
    type: object
    default: []
+ - name: IncludeMgmt
+   type: boolean
+   default: false

Then when we call dotnet build or dotnet test, etc., we pass the parameter through like we do for samples, etc.
Just a thought. Names certainly subject to change.


JavaScript

JavaScript
User story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

added initial JS.
For now it shows in console, what I should study first (random choice).


Question: tile context menu when attached to token not accessible.

Hi there.
Thank you for the compatibility update for 0.8.x
I'm a new user of token attacher , and I can't figure out how access the right-click context menu of a tile, when it is attached to a token, such that I can hide the tile from players.
Is this expected behaviour?

that's expected behaviour. See the readme "Attached elements can no longer be selected via the rectangle selection tool of each layer, unless the attach ui of the base token is open or you use the unlock feature. "


build-dir.cmd seems to be obsolete.  Delete?

This script might be obsolete.  Delete?
https://github.com/microsoft/Windows-driver-samples/blob/main/build-dir.cmd

Resolved!


Wrap widget doesn't wrap its children on overlap

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Create an app with the code provided below (it is an app body).
Start debugging on Windows.
Resize the app window to the point where an overflow should occur.

Expected results
When a window is resized to the point of overflowing, Wrap widget should move its children to the new row so overflow doesn't occur.
Actual results
I get the overflow error and Wrap widget and its children remain unchanged.
Code sample
Code sample
Column(
        children: [
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Column(
                children: [
                  ElevatedButton(

                    onPressed: (){},
                    child: const Text('Meteor Showers'),
                  ),
                  Wrap(
                    direction: Axis.horizontal,
                    spacing: 4,
                    children: <Widget>[
    Chip(
      avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('AH')),
      label: const Text('Hamilton'),
    ),
    Chip(
      avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('ML')),
      label: const Text('Lafayette'),
    ),
    Chip(
      avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('HM')),
      label: const Text('Mulligan'),
    ),
    Chip(
      avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('JL')),
      label: const Text('Laurens'),
    ),
  ],
                  ),
                ],
              ),
            ],
          ),])

Screenshots or Video

Screenshots / Video demonstration
App screenshot during overflow

Logs
Logs
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 1.00 pixels on the right.

The relevant error-causing widget was:
  Row Row:file:///D:/Informatika/Flutter/meteorlog/lib/main.dart:629:11

To inspect this widget in Flutter DevTools, visit:
http://<IP_ADDRESS>:9100/#/inspector?uri=http%3A%2F%2F<IP_ADDRESS>%3A60935%2FHJklKc5AaPo%3D%2F&inspectorRef=inspector-56

The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#1ab01 relayoutBoundary=up18 OVERFLOWING:
  needs compositing
  creator: Row ← Column ← _FormScope ← WillPopScope ← Form-[LabeledGlobalKey<FormState>#d9adf] ←
    MyCustomForm ← Column ← _SingleChildViewport ← IgnorePointer-[GlobalKey#7f42a] ← Semantics ←
    Listener ← _GestureSemantics ← ⋯
  parentData: offset=Offset(0.0, 0.0); flex=null; fit=null (can use size)
  constraints: BoxConstraints(0.0<=w<=417.0, 0.0<=h<=Infinity)
  size: Size(417.0, 56.0)
  direction: horizontal
  mainAxisAlignment: center
  mainAxisSize: max
  crossAxisAlignment: center
  textDirection: ltr
  verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.13.2, on Microsoft Windows [Version 10.0.19045.3393], locale hr-HR)
    • Flutter version 3.13.2 on channel stable at D:\dev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ff5b5b5fa6 (3 weeks ago), 2023-08-24 08:12:28 -0500
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Dino\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.7.34024.191
    • Windows 10 SDK version 10.0.20348.0

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.82.0)
    • VS Code at C:\Users\Dino\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.72.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3393]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 116.0.5845.182
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 116.0.1938.76

[√] Network resources
    • All expected network resources are available.

• No issues found!

I found out that removing the Row widget which was an indirect parent of the Wrap widget fixed the issue. Although I'm not sure why.

Hi @9helix
Taking a look at Inspector, we can see the Row children are taking up too much space than Row had:

A potential fix is to wrap Row child (Column widget) by Expanded widget and the overflow will be gone.

Complete sample code
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const NewWidget(),
    ),
  );
}

class NewWidget extends StatelessWidget {
  const NewWidget({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(mainAxisAlignment: MainAxisAlignment.center, children: [
        Row(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Expanded(
              child: Column(
                children: [
                  ElevatedButton(
                    onPressed: () {},
                    child: const Text('Meteor Showers'),
                  ),
                  Wrap(
                    direction: Axis.horizontal,
                    spacing: 4,
                    children: <Widget>[
                      Chip(
                        avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('AH')),
                        label: const Text('Hamilton'),
                      ),
                      Chip(
                        avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('ML')),
                        label: const Text('Lafayette'),
                      ),
                      Chip(
                        avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('HM')),
                        label: const Text('Mulligan'),
                      ),
                      Chip(
                        avatar: CircleAvatar(backgroundColor: Colors.blue.shade900, child: const Text('JL')),
                        label: const Text('Laurens'),
                      ),
                    ],
                  ),
                ],
              ),
            ),
          ],
        ),
      ]),
    );
  }
}

Closing this as solved.


Add wait argument to fire_hook method to escape current transacti…

…on context

 Escape the atomic context with schedule_hook


time_series config and tutorial + bug fixes

Add time series config

added possibility to change additional parameters for AutoTS class (e.g., algorithms used)
this is possible both in the form of providing parameters while the class initialisation, as well as in the form of changing the .yml config file

Add time series tutorial

added a tutorial showing the possibilities of using lightautoml for time series prediction tasks

Fix bug with text preset

Job fails on windows python 3.7 because of issue in joblib


Is there a way to convert it to a TTF font?

Loved those emojis! Is there a way to convert them to a ttf font file to be used outside minecraft?

You can use ttf_cbdt_mc_create.py to create TTF font.
I have created the TTF file here:
Font.ttf.zip


docker image have some problem

when i run stage 7 of librispeech
tools/fst/compile_lexicon_token_fst.sh
data/local/dict data/local/tmp data/local/lang
i got a issue
WARNING: Logging before InitGoogleLogging() is written to STDERR
E1204 10:23:27.297933  9036 mutable-fst.h:119] MutableFst::Read: Unknown FST type "vector" (arc type = "standard"): standard input
how can i solve this problem ?

I solve this issue
if you installed kaldi, you have to mount kaldi root in your docker
and then set your path.sh script parameter
OPENFST_BIN=$KALDI_ROOT/tools/openfst/bin


question/refactor: Simplify MaxMessageSize?

See https://github.com/duesee/imap-codec/pull/540#discussion_r1676798782

In imap-next we use u32 for limits and 0 does mean 0. If you want no limit, then u32::MAX is the best you can get. I did it because IMAP defines the length of a literal as 4-byte integer. So using u32 as the literal limit felt like an obvious decision. The other limits are u32 for consistency reasons.
I mention it because it would be nice if we would use the same representation in imap-codec and imap-next.

Yeah. I don't like 0 as "unlimited" tbh. It seems like a hack for me and we have a better Option<u32> :-)

@duesee: Closed?


babies dont instantly heal up when they become adults

new scale by age stuff should be able to do wonders to this


i18n(zh-cn): Update sst.mdx

Description (required)
Update sst.mdx
Related issues & labels (optional)

#9475
Suggested label: i18n

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

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

Tracked Files

Locale
File
Note

zh-cn
guides/deploy/sst.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

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


Enable pending cops up to RuboCop v1.63

I enabled the pending cops up until RuboCop v1.63, and fixed most offenses. We want to keep the NewCops: disable settings, so PRs are not blocked by newly added cops forcing changes to the entire code base. But we should update once in a while, even if it means everyone needs to bundle update. Or we could add rubocop to Gemfile with a version restriction?
I am fixing Performance/MethodObjectAsBlock in two commits, which should be squashed before merging:

Fix Performance/MethodObjectAsBlock using numbered parameters:
I really dislike the foo(&method(:bar)) style, and in my opinion Performance/MethodObjectAsBlock might as well have been a Style cop. I tried fixing the offenses using numbered parameters (_1) but I‘m not a fan of that syntax either, to be honest.
Fix Performance/MethodObjectAsBlock using block arguments:
I think the plain old block arguments are much easier to read than numbered parameters – except maybe in a few cases. E.g. is { |n| let?(n) } really better to read than { let?(_1) }?

The Lint/ToEnumArguments offense listed in the todo file is due to a bug: rubocop/rubocop#12885

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] ~Added tests.~
[ ] ~Updated documentation.~
[ ] ~Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.~
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

cc @pirj I would like your opinion on this PR too.

I’d rather keep it as is, and run our the code in specs with the latest released (or latest cached by bundler?) RuboCop version rather than inspected our code with it.

I am not sure I understand this part of your response.
I think the three conflicting goals here are:

We want to use new cops pretty soon after they are released,
we don’t want to require an unnecessarily recent version of RuboCop in our gemspec, and
we don’t want pull requests to fail CI because of a new RuboCop version (so no using edge version on CI).

There is one thing we might be missing - it’s to test our code against our minimum specified rubocop version.
Imagine, we have 1.40 in our min, 1.41 introduced some nice helper, 1.42 added an internal investigation cop to enforce the use of this helper, we started using it (because our goal is to inspect our code with the latest rubocop), and our code breaks for our users who updated rubocop-rspec, but stick to rubocop 1.40.

Please correct me, but it feels that 1 is not easy together with 3.
If we have a few PRs open and enable pending cops, this has a good chance of either:

break prs if they are rebases
break master if prs are merged without being rebased (with offensive code that wasn’t offensive without new cops)

I don’t have a good solution to this, and think it’s inevitable. If we don’t enable new cops too often -it’s not a big burden.

Yeah, you’re probably right. We should not enable new cops very often.
And we should start running CI with the minimum allowed RuboCop version.

There is one thing we might be missing - it’s to test our code against our minimum specified rubocop version.

See #1882.

Rebased. Are you ok with merging @pirj ?

Yes, please proceed with the merge. All perfect. Thank you!


[Suggestion]: Hosting docs for older Qiskit versions

Suggestion for Doc Improvements
Is it possible for Qiskit to host docs for older versions of the Qiskit packages? Downstream packages can't always keep up to date with the ~ monthly release cycle of Qiskit, so it's very useful for end-users to have the older versions documented. ReadTheDocs supports hosting different versions, so I was wondering if the Qiskit team would be able to enable this feature.
Examples of other projects that host multiple documentation versions:

Scipy
Numpy
matplotlib

Note: I recognize that end-users can generate documentation themselves, but it's not in as convenient of a format as the meta-documentation provided at https://qiskit.org/documentation/ currently.
Does existing documentation need to be updated with new content?
No new content needs written. However, this update would likely break currently-bookmarked URLs.

There is a PR for starting to do this here: https://github.com/Qiskit/qiskit/pull/574 but it's currently blocked by the theme. There isn't a way for the theme to discover the old versions currently. Once that is implemented we can merge that which will build out the old versions of the docs as they were published for each metapackage tag.

Also as this was implemented in #574 wouldn't break bookmarks because the old versions would be at https://qiskit.org/documentation/stable/0.12/index.html but the current master of Qiskit/qiskit  (which is the docs for the current release of each element and any metapackage doc changes since the last release as opposed to master for everything) would still be https://qiskit.org/documentation/index.html

@mtreinish thanks, I didn't check for this in PRs, just issues.

It is also a bit more complicated with the tutorials in the docs and the (future) links to the interactive versions in the iqx. That transition now needs to be synced as well.

Closing in favor of #574


fix iso dates in smashorpass.ts

notes for later: #3 will likely require a rewrite of the /boom command

other notes:
could probably add getEmoji() to CommandAndControl; Promote option in the command & control center that gives someone access to the opmenu


To push the current branch and set the remote as upstream, use

    git push --set-upstream origin some_branch

Obviously, require_confirmation should be false in this case.
Anything else you think is relevant:
If I switch to zsh, all works well. The problem is only with fish. My guess is that for some reason, the --yeah argument is not passed to fuck, hence require_confirmation is True.
Thank you!

Thanks for reporting, @muli! Support to -y/--yeah for Fish Shell is on its way.
Fish Shell is a bit behind Bash (and ZSH). I'll be changing that as time allows.

Awesome, thanks for the quick response! Looking forward to the new version :)

It's worth mentioning that in order to make it work, you should re-run thefuck --alias and copy the result into the config.fish file (or into the auto-loaded function file you created, e.g., fuck.fish), since this is essentially the fix.
Cheers!


Add --check option for cargo doc

This is a reopening of https://github.com/rust-lang/cargo/pull/8859.
The goal is to allow to run rustdoc --check directly from cargo (which was implemented in rust-lang/rust#78984). And the end goal would be to have rustdoc --check to be run when we use cargo check. For now, it only supports cargo doc --check.
Tracking issue: https://github.com/rust-lang/cargo/issues/10025

r? @Eh2406
(rust-highfive has picked a reviewer for you, use r? to override)

I'm not sure to understand the error. Anyone has an idea what's wrong?

r? @joshtriplett

There is an issue with openssl 3 (#10013) which will hopefully be fixed soon.

:umbrella: The latest upstream changes (presumably #10037) made this pull request unmergeable. Please resolve the merge conflicts.

I think this should be check --doc, not doc --check. That allows it to be extended to check --doctests and check --all-targets in the future.

There would be a little inconsistency between cargo test --doc and cargo check --doc if the latter checks the docs but not the doc-examples.

(and for now this can already be used on nightly via cargo rustdoc -- --check -Z unstable-options)

Sure - maybe it makes sense to hold off on this altogether until we implement https://github.com/rust-lang/rust/issues/41574 ?

I agree with @jyn514 that I would lean towards having cargo check --doc instead of making this part of the doc command. That would be more consistent with the rest of cargo (there isn't a cargo build --check for example).

Just checking in to see what the status is here, it's not clear to me if this is waiting on any questions.

I'm not sure either. I think we need to have a discussion before moving forward.

Closing due to inactivity.  I think there is some design work that should probably be agreed upon before continuing here.


DS - Design Tokens: Create semantic tokens list based on VADS

As a member of the DS team, I want to understand all of our semantic tokens and how they align with VADS, so that we can make informed decisions on token implementation.
As part of this story, we want to:

[x] Add our current tokens to the spreadsheet

[x] Loading indicator
[x] Alert
[x] Link
[x] Button
[x] Segmented control

[x] Create list of missing tokens in variables.json file

[ ] Add missing tokens to VADS' variables.json file (Narin)

This ticket is waiting on a response from VADS (message sent on Tuesday 4/9).


fix issue #661 for Advanced aggregations

fix issue #661 for Advanced aggregations.
this changes adds extra options for aggregation based on first ReRouteKeys.
Proposed Changes
example ocelot config:
"Aggregates": [
{
  "ReRouteKeys": [
    "comments",
    "userDetails",
    "postDetails"
  ],
  "ReRouteKeysConfig": [
    {
      "ReRouteKey": "userDetails",
      "Parameter": "userId",
      "JsonPath": "$[*].writerId"
    },
    {
      "ReRouteKey": "postDetails",
      "Parameter": "postId",
      "JsonPath": "$[*].postId"
    }
  ],
  "UpstreamPathTemplate": "/v1/lastComments/"
}
]

@TomPallister
are you check my code?

I have no idea for test cases.
please help if you can and have time

If you look at AggregateTests.cs, you'll see that there are already some tests that fake "downstream" services that return results together. You should be able to extend this by creating new tests that take the result from the first fake service and send it to the second fake service. You'll need to extend the fake services so that it can verify they received requests with the expected data.

@margaale English is not my native language. and i cant write doc unfortunately

Do we have any documentation on this now ?


fix: remove notification permission prompt

NOTE: This is a draft, so it doesn't yet have a change file and updated docs.
Highlighted a point below which could be important for 1.0 API compatibility.
Unresolved:

Approval of this whole approach :)
Whether this is ok w.r.t Apple guidelines. (See older MacOS versions below)
Whether to remove or deprecate the requestPermission and isPermissionGranted APIs.

Platform specifics:

Windows and Linux: permission prompts are not required nor common.
MacOS 10.15+: A first-use prompt is provided by the OS.
MacOS older versions: Notifications can be turned off in system settings.

Details:

removed the permission dialog entirely
removed the settings module, which only stored the notification preference:
the settings module used bincode, which makes no compatibility guarantees
across rust versions, struct changes etc
removed the bincode dep
the public API is unchanged, but permission related endpoints return
static responses instead.

closes #4244
closes #1252

What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Docs
[ ] New Binding issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change?

[ ] Yes, and the changes were approved in issue #___
[x] No

Checklist

[x] When resolving issues, they are referenced in the PR's title (e.g fix: remove a typo, closes #___, #___)
[ ] A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.
[ ] I have added a convincing reason for adding this feature, if necessary

Other information

Don't remove or deprecate the requestPermission() and isPermissionGranted(), those are important for a developer to know the appropriate action to take. I think what is returned from those needs to be adapted (same with sendNotification()), but that's for another discussion.

Deprecation is probably not even a thing pre-1.0, I don't know why I even said that :)
Removing OTOH may, counter-intuitively, be a really good idea. It would leave a blank slate for precisely those API changes you're proposing. They would be easy to add later, but hard to change if they're already there. I doubt we have time to get those changes in pre-1.0. Heck, I'm even doubting we can get this PR in, even if people agree would agree with this approach.
In either case, leaving this PR as-is for now to solicit more feedback.

To sum up what you currently have in this PR if I'm understanding correctly:

Remove tauri::settings, this was only used as part of notifications to date and the implementation wasn't solid
Remove logic that reads/writes from tauri::settings for notifications
Remove dialog/request to grant notification permission
Remove is_permission_granted()

For point 4, this is the only one we shouldn't remove. Right now it directly reads from settings, but I would temporarily just hard code this to return True until we can implement a proper OS-level check.
Keeping in mind that tauri::settings has only been used in this area so far, @lucasfernog what do you think of the code change contents? Do you think this is something we could merge prior to 1.0 mainly to resolve point 3 above?

I agree with you @lorenzolewis

Btw @betamos with that many amazing contributions you should look into setting up commit signing :)

you should look into setting up commit signing :)

"I have it setup already, what are you talking about?"
Wait, no, why?
Ok, I only set it up on my laptop, and I made these commits on my desktop.

Thanks for the reminder. Done now :)
And thanks for attending to this PR. Glad to have this in before 1.0.


Merge v5.1.1 tag

This only brings in the safe-publish-latest and changelog changes.
I need a PR review approval before I can directly push it to master.
From #283.

Coverage remained the same at 99.57% when pulling 0745af376cdc8686d85a361ce36952b1fb1ccf6e on ljharb:tag_merge into d5a442a7288ae38228963975014cf9846b9d0a78 on evcohen:master.


select with merge(regex) doesn't work with continuous queries

It seems the merge function somehow gets dropped when the into clause is present:
select * from merge(/raw.data/) into daily.data
Error: Failed to parse continuous query: select * from  into daily.data

Listing the series does work:
select * from merge("raw.data.1", "raw.data.2", "raw.data.3") into daily.data

+1
If there is a way to cache these series data and apply the aggregation function to template summary series ?


OnLongPress?

Hi, thanks for this amazing library but can i request for a feature where the Draggable Component will only take effect after a long OnPress? Also add vibration to tell the user that the draggable component is ready to be drag within app's screen

That sounds like an interesting feature. I don't think I'll have enough time to implement it for now, but PRs are always welcome!
Haptic feedbacks on the other hand would require some native code which would add unnecessary complications. However, you should still be able to achieve that by using react-native-haptic-feedback in onEnter event for Droppable


Fix the NATS Hyperlink in the NATS Basic Client BBE

Purpose
This is to fix the NATS docs Hyperlink in the BBE[1].
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/17794.
[1] https://v1-0-0-alpha.ballerina.io/learn/by-example/nats-basic-client.html
Fixes #
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #17867   +/-   ##
=======================================
  Coverage   15.14%   15.14%
=======================================
  Files          46       46
  Lines        1208     1208
  Branches      189      189
=======================================
  Hits          183      183
  Misses       1011     1011
  Partials       14       14

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 967a904...9a01300. Read the comment docs.


Add checkra1n jailbreak option in iOS 14

I want to jailbreak iOS 14 with cheackra1n but i am not able to jailbreak with checkra1n after downgrading because device doesn't boot. So, I request you to add checkra1n option for jailbreak or tell me any other way to jailbreak with checkra1n after booting iOS 14 or before booting either one is ok for me.
please reply as soon as possible

Why do you have to use checkra1n? dualra1n includes a jailbreak in it, if you are just trying to use pongo os go back to iOS 15 and use palera1n-c

I want to jailbreak iOS 14 with cheackra1n but i am not able to jailbreak with checkra1n after downgrading because device doesn't boot. So, I request you to add checkra1n option for jailbreak or tell me any other way to jailbreak with checkra1n after booting iOS 14 or before booting either one is ok for me.
please reply as soon as possible

lmao, checkra1n doesn't work with dualra1n sadly


Load fixed phrases from language definition files

https://nextjs.org/docs/pages/building-your-application/routing/internationalization


Add data-v-different validation

I have a standard password change form. It has the following fields: Current Password, New Password and Confirm New Password.
I added data-v-equal="#new_password" to the Confirm Password field so typing in either of the two fields will trigger the not equal error when the two fields do not match. This works as it should.
I would like to have the opposite type of validation for the New Password field. An error should be triggered when it matches the Current Password field. I can do this with the following code but the error is triggered only by typing in the New Password field.
if ( $('[name=new_password]').val() === $('[name=current_password]').val() )
I'd like the error to be triggered when typing in either the Current Password or the New Password fields.
Hence my new feature request for data-v-different validation. How can I implement this functionality on my form if you do not feel this feature is necessary?

You can use it by trigger the current password field. Check "event.originalEvent" to avoid recursion.
validator.validator.different = function (el, event) {

            if ($(el).is('[name=new_password]') && $(el).val() === $('[name=current_password]').val()){
                return 'match error';
            }
            if ($(el).is('[name=current_password]') && event.originalEvent) {
                $('[name=new_password]').trigger('input');
            }
            return '';
        }


US_2.44: Profile/User-Settings

As
user
I want
only one page to edit my profile and change my password
In order to
to be able to edit things easier and have an awesome time
Dependencies:
Estimate: 8
Acceptance Criteria:

[ ] should look like this:

[ ] "Einstellungen"-Page should be removed

[ ] password and profile should be edited and saved independently

[ ] "Account löschen" should delete Account

[ ] profile data fields should be filled out with according data

[ ] extra box for changing mail

Sorry for closing thiss.