Redline Box and Mark as Single Object

As an IAO User
I want to be able to delete my redaction in a single action
so that I don't have to duplicate my efforts when removing redactions.

Assumptions & Scope
This story is from our prioritization and feedback sessions with IAO Super Users.
Users found it difficult to remove redactions, this is because the annotation and the mark for the redline are drawn as two separate objects. This also clutters the redaction/annotation panel, as every redline will include two objects - the box itself, and the annotation.
To address this - we believe the annotation should be embedded into the redline object itself - this could be achieved by creating the annotation as a 'reply' to the redline/mark for redaction as that contains everything to a single object.
What is IN scope?
Creating redlines using the box/selection tool
Creating redlines for full page redactions
Creating redlines for the find and redact feature from the redaction panel
What is NOT in scope?
Acceptance Criteria
Scenario 1: Mark for Redaction - box/selection tool

GIVEN a user is on the document reviewer
WHEN they draw a box for redaction
OR use the select text for redaction feature
AND they select an appropriate FOIPPA section(s)
THEN the selection will have a red box
AND will be annotated with the section(s) number as a reply to the redaction mark

Scenario 2: Mark for Redaction - Full Page

GIVEN a user is on the redact by page feature
AND they have selected page(S)
WHEN they click on mark for redaction
AND they select an appropriate FOIPPA section(s)
THEN the selected pages will be marked for full redaction
AND will be annotated with the section(s) number as a reply to the redaction mark

Scenario 3: xxxxxx

GIVEN a user has completed a search on the redaction panel
AND they have selected object(s)
WHEN they click on mark for redaction (or redline)
AND they select an appropriate FOIPPA section(s)
THEN the selected objects will be marked for redaction
AND will be annotated with the section(s) number as a reply to the redaction mark

Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
@xxx - please link the Design here
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

Assumption - there is no need for me to write a bug ticket around being able to delete a redaction box and annotation in a single click. This user story should eliminate that bug. Thoughts welcome @lmullane @liseandtea @KyEggleston

It's a 'one or the other', so makes sense


fix: export notification components

Forgot to export InfoBox and Toast components in packages/index.ts 😳

😅

:tada: This PR is included in version 1.16.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


K8SPS-205: Update user passwords properly

CHANGE DESCRIPTION
Problem:
Users' password updates could be problematic since we first discarded old passwords and then updated internal secrets. If updating internalSecrets failed clients couldn't connect. With this update, we do it the other way around, first ensuring internalSecrets are updated with new passwords, and only then we discard the old ones.
Besides that, updating replication user with GR was failing. The reason for this was that since we bootstrap GR with mysql shell, we actually don't use this user at all since mysql shell creates internal users like mysql_innodb_cluster_64690420 for each member. Their passwords are not readable to users. This is fixed by not creating replication user for GR at all, only for async replication.
We also now create system users with a PASSWORD EXPIRE NEVER policy.
CHECKLIST
Jira

[x] Is the Jira ticket created and referenced properly?
[x] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[x] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[x] Is an E2E test/test case added for the new feature/change?
[x] Are unit tests added where appropriate?

Config/Logging/Testability

[x] Are all needed new/changed options added to default YAML files?
[x] Are the manifests (crd/bundle) regenerated if needed?
[x] Did we add proper logging messages for operator actions?
[x] Did we ensure compatibility with the previous version or cluster upgrade process?
[x] Does the change support oldest and newest supported PS version?
[x] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

async-ignore-annotations
failure

auto-config
failure

config
failure

config-router
passed

demand-backup
failure

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
failure

init-deploy
failure

limits
passed

monitoring
failure

one-pod
passed

scaling
failure

service-per-pod
failure

sidecars
failure

tls-cert-manager
failure

users
failure

version-service
failure

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/18ce892fb85067b122ca1396c63effdd5bdc144f
image: perconalab/percona-server-mysql-operator:PR-407-18ce892

Test name
Status

async-ignore-annotations
failure

auto-config
failure

config
failure

config-router
passed

demand-backup
failure

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
failure

init-deploy
failure

limits
passed

monitoring
failure

one-pod
passed

scaling
failure

service-per-pod
failure

sidecars
failure

tls-cert-manager
failure

users
failure

version-service
failure

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/87d1c5cde4f0e79a14796aedd5abfb705fbf0954
image: perconalab/percona-server-mysql-operator:PR-407-87d1c5c

Test name
Status

async-ignore-annotations
failure

auto-config
failure

config
failure

config-router
passed

demand-backup
failure

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
failure

init-deploy
failure

limits
passed

monitoring
failure

one-pod
passed

scaling
failure

service-per-pod
failure

sidecars
failure

tls-cert-manager
failure

users
failure

version-service
failure

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/b21a476ae440b34f7854957f66d0f60e0940ba85
image: perconalab/percona-server-mysql-operator:PR-407-b21a476

Test name
Status

async-ignore-annotations
passed

auto-config
failure

config
failure

config-router
passed

demand-backup
failure

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
failure

init-deploy
failure

limits
passed

monitoring
failure

one-pod
passed

scaling
failure

service-per-pod
failure

sidecars
failure

tls-cert-manager
failure

users
failure

version-service
failure

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/5535df998077425f876c48067a55d639d62fd26f
image: perconalab/percona-server-mysql-operator:PR-407-5535df9

Test name
Status

async-ignore-annotations
failure

auto-config
failure

config
failure

config-router
passed

demand-backup
failure

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
failure

init-deploy
failure

limits
passed

monitoring
failure

one-pod
passed

scaling
failure

service-per-pod
failure

sidecars
failure

tls-cert-manager
failure

users
failure

version-service
failure

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/1b3fee143582208112cfeee19a9f5ff816883231
image: perconalab/percona-server-mysql-operator:PR-407-1b3fee1

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/748872a185e590c6794c9b1012990e47ff473cdd
image: perconalab/percona-server-mysql-operator:PR-407-748872a

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/748872a185e590c6794c9b1012990e47ff473cdd
image: perconalab/percona-server-mysql-operator:PR-407-748872a

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 24 out of 24

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/3533c04cc5a2bb3f1fbc43a14f9f144e5b38cce3
image: perconalab/percona-server-mysql-operator:PR-407-3533c04

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

gr-users
failure

version-service
passed

We run 25 out of 25

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/1774e4466435a8ea3fa3aca7080d4b1ccfac7d39
image: perconalab/percona-server-mysql-operator:PR-407-1774e44

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

gr-users
failure

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 25 out of 25

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/1bfaceb7ce7405142363cbb2918a5e03f2eefc97
image: perconalab/percona-server-mysql-operator:PR-407-1bfaceb

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

gr-users
failure

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 25 out of 25

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/c3fc6e981f129363e24447ef4196fc8c44f11c19
image: perconalab/percona-server-mysql-operator:PR-407-c3fc6e9

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
failure

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

gr-users
failure

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 25 out of 25

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/b9c8513db7378a1406b0ed4516dbc3db50b2ddd8
image: perconalab/percona-server-mysql-operator:PR-407-b9c8513

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-bootstrap
passed

gr-demand-backup
passed

gr-haproxy
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

gr-users
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 25 out of 25

commit: https://github.com/percona/percona-server-mysql-operator/pull/407/commits/1834782b1e738741ee7b37053c84335845989e7f
image: perconalab/percona-server-mysql-operator:PR-407-1834782


Modify value access in reduction buckets on upper freemap coalesce

Depends on #3139
Title.

Don't merge yet.  Something is weird…


tray: send tray icon position as payload onclick OSX

Related #1500
Linux doesnt seem to use onclick notifier, so havnt implement it there. But will this help fix the problem ?

We can simply ignore it on Linux, it would be a hell to support all implementations, I'm not sure even it is possible for app indicators. We can still implement it for Windows though.

Made the changes, dont have a windows setup to test though.

Thanks!


Use default Bundler version in Travis

Currently we get this issue in Travis:
$ export HOMEBREW_NO_AUTO_UPDATE=1
rvm
64.18s$ rvm use 2.2.2 --install --binary --fuzzy
$ ruby --version
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
$ rvm --version
rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ bundle --version
Bundler version 1.16.0
announce
$ xcodebuild -version -sdk
$ pod --version
/Users/travis/.travis/job_stages: line 57: pod: command not found
2.01s$ rvm @global do gem uninstall bundler --all --executables
ERROR:  While executing gem ... (Gem::InstallError)
    gem "bundler" cannot be uninstalled because it is a default gem

See https://travis-ci.org/snowplow/snowplow-objc-tracker/jobs/301644396
This seems to be the problem: https://github.com/travis-ci/travis-ci/issues/8717 (oh hai @BenFradet !).
Given Travis is deploying Bundler version 1.16.0 and we are asking for 1.11.2, I am going to remove this piece altogether and see if things work with the newer Bundler.

Seems to be linked to https://github.com/travis-ci/travis-ci/issues/8717


Add conffile define

With it you can create postfix config files. It is a file, but it also reload postfix.

Could you add tests/doc please?

Thank you. I see failures related to this addition in the Travis CI runs (granted, there are other failures, too).

I think that CI checks failed because of errors not directly with these commits. For example, in job 346.9 that made the test on ubuntu 12.04 fails start at line 773 and it is because puppet command can't be found in the path. This is the same error starting at line 794.

E.g. in https://travis-ci.org/camptocamp/puppet-postfix/jobs/144119298, all the errors are linked to conffile.

That is much nicer already :smile:


Test on IdeaPad 5 15ALC05

I've just tested your tool on my laptop and everything works just great, thank you! I had problems with Lenovo Vantage but now I don't need to use it anymore :D

OS - Windows 11


Allow ? in (short) option name

Hello,
I was trying to mimick a parser built with glibc's argp. argp's built in help option can be invoked with either the -? or the --help option.
When I write the following, I get an exception ("Invalid option format '?,help'")
options.add_options("")("?,help", "Print this help")
Would it be possible to allow the ? character, at least for short option names?
Regards
Thomas

That should be pretty straight forward. I can't see why that can't be a valid character.

That should be pretty straight forward. I can't see why that can't be a valid character.


Trying to publish with auth not working even follow all the step!

Maybe it is would be the silly question to open the issue but i try to publish the live with auth by follow all the guides unfortunately it is unauthorized.
My simple reproduce
const config = {
  rtmp: {
    port: 1935,
    chunk_size: 10000,
    gop_cache: true,
    ping: 30,
    ping_timeout: 60,
  },
  http: {
    port: 8000,
    allow_origin: "*",
    mediaroot: "media",
  },
  auth: {
    play: true,
    publish: true,
    secret: "keykeykey",
  },
};

const md5 = require("md5");

const generateTimestamp = (date) => {
  const datum = Date.parse(date);
  return datum / 1000;
};
const time = generateTimestamp("02/22/2025 23:31:30");
//1740241890

const hasValue = md5(`/live/stream-${time}-keykeykey`);
//b701fbf5800981f523a06095ea400492

// i use this to publish with obs
// rtmp://ip:1935/live/stream?sign=1740241890-b701fbf5800981f523a06095ea400492

// log from server

I am having the same issue. NMS doesn't appear able to pull the query params off the url

i am having the exact same issue


Update AMA to include .NET MAUI more

@adrianhall

Hi @jamesmontemagno - as a Microsoft FTE with access to the private repos, you should use them for content updates. Can you resubmit your PR in 'azure-dev-docs-pr' ? thanks.


date and time formatting?

It would be nice if this page mentioned that you can do date and time formatting.
https://serverfault.com/questions/16706/current-date-in-the-file-name

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

ID: ff097c0e-ea9f-9d7c-7900-d8c0be602d5d
Version Independent ID: 8b17895a-ddd8-1737-9e7d-8deaa69d5b0f
Content: copy
Content Source: WindowsServerDocs/administration/windows-commands/copy.md
Product: windows-server
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Actually guess that's kinda obvious if you have experience with windows CMD and not really directly related to COPY.
Unfortunately I can't delete my own comment.... >_<

If you are certain that this issue is resolved (or not an issue after all), we can ask for it to be closed by the MS Docs team maintainers.


Update generic IModule interface

Please update IModule interface, so it will be possible to set Action type, e.g.
export interface IModule<State, Action = AnyAction> {
/**
* Id of the module
/
id: string;
/*
* Reducers for the module
/
reducerMap?: ReducersMapObject<State, Action >;
/*
* Middlewares to add to the store
/
middlewares?: Middleware[];
/*
* These actions are dispatched immediately after adding the module in the store
/
initialActions?: Action[];
/*
* These actions are dispatched immediatly before removing the module from the store
/
finalActions?: Action[];
/*
* Specifies if the module is retained forever in the store
*/
retained?: boolean;
}

Question: what shape are your actions such that they aren't compatible with redux's AnyAction interface?  The AnyAction interface only requires a type field and lets any other assigned field be any.

I am using 'flux-standard-action' library typings: FSAAuto and ErrorFSAAuto. Link to typings file https://github.com/redux-utilities/flux-standard-action/blob/master/src/index.d.ts.
I have a reducer
export function appReducer(state: AppState = initialAppState, action: AppActions): AppState {...}
Where AppActions is
export type AppActions = FSAAuto<AppActionTypes.REQUEST_APP_METADATA, AppMetadataPayload> | FSAAuto<AppActionTypes.REQUEST_APP_METADATA_SUCCEED, App> | ErrorFSAAuto<AppActionTypes.REQUEST_APP_METADATA_FAILED>
In my module
export const AppModule: ISagaModule<AppAwareState> = { 	id: 'appModule', 	reducerMap: { 		appModule: appReducer, 	}, // TODO: fix typing issue 	sagas: [rootSaga], };
I see a TS error:
(property) IModule.reducerMap?: ReducersMapObject<AppAwareState, AnyAction> | undefined
Reducers for the module
Type '{ appModule: (state: AppState | undefined, action: AppActions) => AppState; }' is not assignable to type 'ReducersMapObject<AppAwareState, AnyAction>'.
Types of property 'appModule' are incompatible.
Type '(state: AppState | undefined, action: AppActions) => AppState' is not assignable to type 'Reducer<AppState, AnyAction>'.
Types of parameters 'action' and 'action' are incompatible.
Type 'AnyAction' is not assignable to type 'AppActions'.
Type 'AnyAction' is not assignable to type 'ErrorFluxStandardActionWithPayload<AppActionTypes.REQUEST_APP_METADATA_FAILED, Error, undefined>'.
Property 'error' is missing in type 'AnyAction' but required in type 'ErrorFluxStandardAction<AppActionTypes.REQUEST_APP_METADATA_FAILED, Error, undefined>'.ts(2322)
index.d.ts(47, 3): 'error' is declared here.
Contracts.d.ts(13, 5): The expected type comes from property 'reducerMap' which is declared here on type 'ISagaModule'
Thus it would be nice to have possibility to set own action types. By default it can be set to AnyAction

@kazamov did you figure this out?  If you have a repo I can access, that may better help me understand your problem.

I am encountering the same problem. I am trying to use connected-react-router and getting the following error:

TypeScript error in /myapp/src/app/store/module.ts(13,3):
Type '{ router: Reducer<RouterState<History.PoorMansUnknown>, LocationChangeAction<History.PoorMansUnknown>>; }' is not assignable to type 'ReducersMapObject<AppModuleState, AnyAction>'.
Types of property 'router' are incompatible.
Type 'Reducer<RouterState, LocationChangeAction>' is not assignable to type 'Reducer<RouterState, AnyAction>'.
Types of parameters 'action' and 'action' are incompatible.
Type 'AnyAction' is not assignable to type 'LocationChangeAction'.  TS2322

Here is my code:
import {ISagaModule} from 'redux-dynamic-modules-saga'
import {connectRouter, routerMiddleware, RouterState} from 'connected-react-router'
import history from 'utils/history'

const routerReducer = connectRouter(history)

interface AppModuleState {
  router: RouterState,
}

const AppModule: ISagaModule<AppModuleState> = {
  id: 'app',
  reducerMap: {
    router: routerReducer,
  },
  middlewares: [
    routerMiddleware(history),
  ],
  sagas: [],
}

export default AppModule

I believe this might be because of strict contravariance and the way that RouterState is defined by connected-react-router. I was able to workaround it by adding the following assertion:
import {Reducer} from 'redux'
.
.
.
const routerReducer = connectRouter(history) as Reducer<RouterState>

I don't know if the best way to handle this is to change the signature of IModule to accept a generic action type, or to just assign manually as I've done above. Just thought this might be helpful to anyone else who encounters this issue.

Hi @bloomdido.
I have found a workaround for this issue. If cast the type of "reducerMap" property to ReducersMapObject<YOUR_REDUCER_MAP_TYPE>, everything is fine. E.g.
export const RoleModule: ISagaModule<RoleAwareState> = { 	id: 'roleModule', 	reducerMap: { 		roleModule: roleReducer, 	} as **ReducersMapObject<RoleAwareState>**, 	sagas: [rootSaga], };

@kazamov Yeah, I think both of our solutions are about getting around Typescript's strict contravariance for callbacks.
From what I understand, the issue is that any action can always be an AnyAction, but an AnyAction cannot always be any action.

From what I understand, the issue is that any action can always be an AnyAction, but an AnyAction cannot always be any action.

@bloomdido , This seems to be the same issue I am now encountering with putting a ThunkAction in the initialActions part of the module. Any suggestions on resolving this? I have not been able to find a way to eliminate this problem.
export const fetchToplineData = (): ThunkAction<any, any, any, AnyAction> => {
    return (dispatch, getState) => {
        const mockData = [{ a: 1, b: 2, c: 3, s: getState() }];
        dispatch(toplineDataAvailable(mockData));
    };
};

export function getToplineModule(): IModule<any> {
    return {
        // Unique id of the module
        id: "topline",
        // Maps the Store key to the reducer
        reducerMap: {
            topline: toplineReducer,
        },
        initialActions: [fetchToplineData()], // this line errors
        finalActions: [],
    };
}

Error Produced
TS2741: Property 'type' is missing in type 'ThunkAction<any, any, any, AnyAction>' but required in type 'AnyAction'.

From what I understand, the issue is that any action can always be an AnyAction, but an AnyAction cannot always be any action.

@bloomdido , This seems to be the same issue I am now encountering with putting a ThunkAction in the initialActions part of the module. Any suggestions on resolving this? I have not been able to find a way to eliminate this problem.
export const fetchToplineData = (): ThunkAction<any, any, any, AnyAction> => {
    return (dispatch, getState) => {
        const mockData = [{ a: 1, b: 2, c: 3, s: getState() }];
        dispatch(toplineDataAvailable(mockData));
    };
};

export function getToplineModule(): IModule<any> {
    return {
        // Unique id of the module
        id: "topline",
        // Maps the Store key to the reducer
        reducerMap: {
            topline: toplineReducer,
        },
        initialActions: [fetchToplineData()], // this line errors
        finalActions: [],
    };
}

Error Produced
TS2741: Property 'type' is missing in type 'ThunkAction<any, any, any, AnyAction>' but required in type 'AnyAction'.

Hi, I described the workaround above, you should cast 'reducerMap' to proper type

Hi @kazamov , this is an issue with initialActions not the reducerMap. I had already tried your example above casting to as ReducersMapObject<any> and ReducersMapObject<any, any> and still have this error before posting here.


Use "second" precision for InfluxDB writes

Using second precision for InfluxDB writes will help enormously with compression

:+1:


Missing space for timesince separator (es_MX)

This fixes times to read as: "1 hora, 38 minutos" instead of "1 hora,38 minutos"

Translations are handled at Transifex. See https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations.


[BUG] - CropRect has mixed up width / height ⚠ ⚠

Using a Pixel 6 XL.

Click on sample of customactivity
Select Camera as the source
Take a portrait! picture
Have a breakpoint in onSetImageUriComplete: https://github.com/CanHub/Android-Image-Cropper/blob/85c98bbda8ec2024b9572518baaa894ac7ea55d5/cropper/src/main/java/com/canhub/cropper/CropImageActivity.kt#L274

Expected behavior: view.cropRect should have the correct dimensions (height > width)
Actual behavior: view.cropRect mixed up height with width (I get width of 3226 & height of 1814)

If you look at the image: BitmapFactory.decodeStream(view.context.contentResolver.openInputStream(uri)) - you can also see that the orientation is messed up:

Hey welcome 👋 to the library and thanks for the Issue.
Can you please follow the template we have for issues? 🙏
There are many points on the template that will help me to help you.
I will close 🔴  this issue so you can reopen following the template
Is important to remember that my work here is a volunteer and to save time and have better answer help me that people use the templates.

Yeah, man, to be fair, if I see an issue without the template, I already send this automated message without reading it.
I spent too much time doing free volunteer work here and dealing with many people who don't read documentation or FAQ or don't know how to raise an issue.
It is for my time management and sanity that I put this type of template to help, sadly I have a limited amount of time. No other people so far have joined me to support this 200k monthly download library, so yeah, sorry that was so abrupt.
I don't use this library in any of my projects today, and I support to help the community. I ask just for people to follow the setup I put in place so I can be more effective... as you can see, we have an open PR that I didn't have the time yet to check, and no one else did and probably won't since no one never did before.
Indeed your issue is good, just missing the library version, but as a previous contributor, please use the templates and or already drop a PR with a fix.

Thanks for reopening! Library version is latest, I tried this out on the main branch at https://github.com/CanHub/Android-Image-Cropper/commit/85c98bbda8ec2024b9572518baaa894ac7ea55d5

This will not be closed by https://github.com/CanHub/Android-Image-Cropper/pull/440


Msodbcsql18 manifest

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Looks like the https://github.com/microsoft/winget-pkgs/labels/Validation-Shell-Execute is due to missing dependencies:

MSI (s) (A8:9C) [15:21:20:626]: Product: Microsoft ODBC Driver 18 for SQL Server -- Error 1723. Please install the Visual C++ 2017 Redistributable from https://aka.ms/vs/15/release/vc_redist.x64.exe before running this installer. Action IsPendingRebootKey, entry: IsPendingReboot, library: C:\Windows\Installer\MSIBF68.tmp

@Trenly Is having the vcredist as a dependency supported yet?

Automatic Validation ended with:

2024-06-12 16:29:24.587 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.40.33807.0
2024-06-12 15:49:14.027 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.38.33135.0

(Automated response - build 885.)

Automatic Validation ended with:

2024-06-12 16:29:24.587 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.40.33807.0
2024-06-12 15:49:14.027 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.38.33135.0

(Automated response - build 885.)

https://github.com/microsoft/winget-pkgs/issues/152555

Automatic Validation ended with:

2024-06-13 12:51:29.872 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.40.33807.0
2024-06-13 12:51:41.323 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.38.33135.0

(Automated response - build 885.)

@Trenly @stephengillie These install fine on a clean machine for both the dependencies and the actual intended package itself using winget. Is there something else to check to see why validation isn't being passed?

The issue is that VCRedist only has Scope: machine installers, so when the pipelines attempt to validate that this submission can install with the Scope: user you specified they detect that there are no VCRedist installers that can satisfy the requirement

Automatic Validation ended with:

2024-06-18 16:55:04.050 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.40.33807.0
2024-06-18 16:54:41.979 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x86 with version 14.38.33135.0

(Automated response - build 886.)

The package and its dependencies install and validate properly in testing on a clean machine using winget. Seems like an issue in the validation pipeline as linked in comments above is what we need to wait on.

Hi @v-ancha,
Sorry for the delayed reply. I believe that these might be far enough along in the pipeline for me to manually complete.

@wingetbot waivers Add Validation-Installation-Error

Verify:
(Stitched image, please excuse the duplicated buttons and tabs.)


allow a colon directly after @ts-check/nocheck

Fixes #54859
// @ts-ignore and  // @ts-expect-error allow any characters after the pragma, which has encouraged people to use a colon between the pragma and any additional text. See the original issue #54859 for some examples.
For consistency, this PR makes // @ts-check and  // @ts-nocheck also allow a colon immediately after the pragma.

Thank you @k-yle <3


About released files

Hi @justinmanley,
We are cdnjs team and want to host this library.
There are some problems:

The js file has a minified release, but the css file doesn't, so that we need to manually minify it, the most common naming policy is name.ext -> name.min.ext, so we'll minify leaflet.toolbar.css to leaflet.toolbar.min.css, so the js file and css file will have different naming policy,
We want to apply auto-update on all the libs, so that once you release a new version, we'll get it very soon, but the auto-update process can not recognize the mixed naming schem, so that it can not automatically minify and publish the new versions, which means we can not use auto-update on it.

I'll respectfully suggest you consider to also provide the minified css file, no matter what's the naming schem, since there is already minified file, so that we don't need to manually minify the project, then the naming isn't that important, another way is to change the filename of leaflet.toolbar.js, name the source file leaflet.toolbar.js and the minified file leaflet.toolbar.min.js, so the naming will be consistent, the automatically minify process can easily handle it.
Thanks.
https://github.com/cdnjs/cdnjs/pull/7857
https://github.com/cdnjs/cdnjs/issues/7779

Added a minified CSS file (leaflet.toolbar.css) and renamed the unminified version to leaflet.toolbar-src.css.


InvalidImageName

## My Environment

ArangoDB Version:        3.12.0, Kube arango version: 1.2.41
Deployment Mode:       Cluster
Deployment Strategy:   Kubernetes
Configuration:               Kubernetes 1.28
Infrastructure:               Oci
Operating System:        Linux
Total RAM in your machine:        Nearly 2 GB 50 machines
Disks in use:
Used Package:              Docker

Component, Query & Data
Affected feature:
Installation
AQL query (if applicable):

AQL explain and/or profile (if applicable):

Dataset:

Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only):

Steps to reproduce

Normally deploy Arango db on Kubernetes using Kube arango operator with configuration above on Kubernetes 1.28 using instructions below for installation using Kubernetes:
https://github.com/arangodb/kube-arangodb/blob/master/docs/using-the-operator.md

Problem:
Arango coordinator (crdn) Pods are not formed properly and don't start. They have a 64 byte hexadecimal strings in image name and blank image id
Pod status: Init:InvalidImageName
Expected result:

Any update on this ticket, we are still facing this issue

Hi,
It seems that the ArangoDB operator is not yet compatible with a newer OCI version.
If you use an older version of the OCI it should work.


I use greenplum and the greenplum use postgres8.3,Can pg_chameleon suport greenplum?

I use greenplum it use postgres8.3,Can pg_chameleon suport greenplum?

hi unfortunately no.
the minimum supported version for postgresql is 9.5 as the upsert is necessary for certaint operations.


Added ability to work with --fix

I added the missing --fix functionality.
Using --fix requires indent from ESLint for it to make sure indentation is correct after fixing.
Apparently the other newline fixes in ESLint have the same issue of requiring indent to properly reformat on fix.

14 of the PARENS tests are failing, as indicated here:
https://travis-ci.org/getify/eslint-plugin-proper-ternary/jobs/656153042
Can you check to see why?

@getify Took me a while, but I figured it out. No fix yet.
This is adding parens only to sub-expressions in ternaries:
"ConditionalExpression": function enter(node) {
  for (let clause of [node.test,node.consequent,node.alternate,]) {
    let exprType =
      (clause.type == "ConditionalExpression") ? "ternary" :
      (clause.type == "BinaryExpression" && ["==","===","!=","!==","<",">","<=",">=","in","instanceof",].includes(clause.operator)) ? "comparison" :
      (clause.type == "LogicalExpression") ? "logical" :
      (clause.type == "UnaryExpression" && clause.operator == "!") ? "logical" :
      (["CallExpression","NewExpression",].includes(clause.type)) ? "call" :
      (["ArrayExpression","ObjectExpression",].includes(clause.type)) ? "object" :
      (["Identifier","MemberExpression","Literal","TemplateLiteral",].includes(clause.type)) ? "simple" :
      "complex";
`

For whatever reason, my fixes have an assumption these sub-expressions are only `ConditionalExpression`; therefore, it sometimes tries to grab `sourceCode.getTokenBefore(clause.test)` which only works if this is a ternary.

To pass all tests, this could be modified like so:
```js
const tokenBefore = sourceCode.getTokenBefore(clause)
const tokenAfter = sourceCode.getTokenAfter(clause)

Yep, that's the fix.

I added the ability to keep it single-line with addParensOnSameLine and added another one (func) allowing you to disable parens for nested functions.

Thanks for getting the existing tests to pass.
Definitely want to get the new tests in, so we can validate that it's doing what's expected in all the various cases. After that, we can document it.
If you're able to add new tests, that's appreciated. I haven't been able to circle back to this and work on it, regrettably.


[Paper] Fix color inheritance issue using nested themes

Continue #15100

[x] I have followed (at least) the PR section of the contributing guide.

@mustafahlvc Well done!


fix issue #41: Automatically scroll active sidebar element into view

Implemented logic to automatically scroll the active element within a sidebar into view whenever the startContent changes.
Utilized useRef hook to reference the sidebar DOM element and useEffect to trigger the scroll behavior.
The active element is identified using the .border-primary class selector.
Used scrollIntoView method with options for instant behavior and centered alignment to ensure the active element is prominently visible in the viewport upon update.

@eshward95 you have done great work.

Thanks @danishzayan!


Add a test for loading gltf with external textures

🎉 New feature
Summary
This PR is a followup of https://github.com/gazebosim/gz-common/pull/393 and as discussed in https://github.com/gazebosim/gz-common/pull/393#discussion_r934320258 it adds a test to make sure loading GLTF meshes with external textures works as well.
Test it
It's a new unit test so it will be handled by CI.
Checklist

[x] Signed all commits for DCO
[x] Added tests
[ ] Added example and/or tutorial
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[x] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

A small nit, but if we are including an image, can it be the gazebo logo?


Feature request: temporary pinning (with do block) ?

pinthreads  is able to stabilize benchmark runs inside Pluto too, thanks !
It seems to play well with the new Pluto/Malt combination.
Yet it would be nice to encapsulate a block (e.g. a benchmark) inside pinthreads,
leaving the rest of the notebook running normally.
For instance, defining
# `with_pinthreads` instead of just `pinthreads` to avoid piracy
function with_pinthreads(f::Function, args...; kwargs...)
	pinthreads(args...; kwargs...)
	result = f()
	unpinthreads()
	result
end

allows
with_pinthreads([0]) do
	@benchmark sin.(x) setup=(x = rand(10))
end

Would that be in the ThreadPinning package scope ?
Of course it would be better to store/restore the previous thread pinning (unpinned, :core, ...)
instead of just unpinthreads(), but I fail to see how to do that.

I think that such a feature would be a nice addition.

Of course it would be better to store/restore the previous thread pinning (unpinned, :core, ...)
instead of just unpinthreads(), but I fail to see how to do that.

That's doable. We can simply query and store the affinity mask of each thread at the beginning and then to restore it at the end. (see ThreadPinning.get_affinity_mask / ThreadPinning.uv_thread_getaffinity)

Added in https://github.com/carstenbauer/ThreadPinning.jl/pull/82. Please try it out!

#82 works perfectly, tested with Pluto v0.19.32,
tried in particular
unpinthreads()  # outer setup unpinned
with_pinthreads([10]) do
	# runs on the 11th CPU, as expected
	@benchmark sin.(x) setup=(x = rand(10))
end
# runs on a random CPU (tested several times), as expected
@benchmark sin.(x) setup=(x = rand(10))

pinthreads([0])  # outer setup pinned to the first CPU
with_pinthreads([10]) do
	# runs on the 11th CPU, as expected
	@benchmark sin.(x) setup=(x = rand(10))
end
# runs on the first CPU, as expected
@benchmark sin.(x) setup=(x = rand(10))

Thanks !

Great, I'll tag a new release.

BTW, @ederag, if you care about ThreadPinning.jl in Pluto, I always wanted to have nicer support for threadinfo in Pluto. I'm thinking of

native output (not in the terminal look)
interactively updating (when one changes the pinning with pinthreads)

Maybe you want to give that a try? :)

Sorry, I'd like to help but I'm not good enough at HTML display stuff.
And I do not see how to get Pluto reactive updates for mutations (see https://github.com/fonsp/Pluto.jl/issues/564).
Actually the operating system might be allowed to move threads, so a periodic polling seems adequate ?
Here is a Pluto notebook (start the clock to get periodic updates).

Pluto people on zulip or discourse do amazing things and would probably be more helpful.


Hardening role must not obliterate ssh banner

🗣 Description
This pull request modifies the harden.yml Ansible playbook to:

Download the issue and motd files from cisagov/ansible-role-banner.
Modify the configuration of cisagov/ansible-role-hardening-2 to use the downloaded files when setting the sshd banner.

💭 Motivation and context
Resolves #98.
🧪 Testing
All automated tests pass.  I also created and tested a new OpenVPN AMI with these changes for our COOL staging environment and found that it functions as expected.
✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[x] Build and test a staging AMI with these changes.
[ ] Finalize version.

✅ Post-merge checklist

[ ] Create a release.

LGTM 👍
Can /tmp/issue and /tmp/motd be safely deleted after the hardening role has run?

Yes, but they are non-sensitive files saved to the Ansible controller's /tmp directory so I didn't bother.  If you really want me to then I can delete them.

LGTM 👍
Can /tmp/issue and /tmp/motd be safely deleted after the hardening role has run?

Yes, but they are non-sensitive files saved to the Ansible controller's /tmp directory so I didn't bother. If you really want me to then I can delete them.

It's not a huge deal, but we are usually good about cleaning up temp files after we are done with them.  If it isn't too much work, I say we should do that here as well.


Make it possible to "end to end" download binaries in debug mode

For this use case https://github.com/prisma/prisma2/issues/783
Manually setting up debug binaries is very tedious for this. It would be awesome if we can with an environment variable configure CLI to download debug binaries instead of production binaries.

with an environment variable configure CLI

Could you clarify that?

Internal note: Discuss with Dom and bring up in sprint planning meeting.

internal note: Drop for this sprint. Doubles the number of binaries.

We won't do this. It does not add the benefit you're looking for. This will be achieved by better error handling and error communication, as defined by the errors spec, for example.


Match shebang to automatically detect language-r package

Right now only shebang is matched, but vim modelines could be added as well (ripped form the language-ruby package)

This package is no longer maintained. All issues and PRs have been and will be closed. This is remaining published in the Atom package repository so that people can find it to fork it and create their own version. Hopefully one of them will create a new maintained version.


WTR-LAB ID

Source name
WTR-LAB ID
Source link
https://wtr-lab.com/id
Language
Indonesian
Other details
please add this source brother.
I hope you are always healthy
Acknowledgements

[ ] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

#686 English but #714 Indonesian

WTR - ID can not in lnreader?


Banded Rows for Editing UI in KBM

add banded rows to both the windows

@saahmedm as discussed I think we move this to v1 since it requires #2170

@arjunbalgovind
I think this one can be done without #2170. We can set the required background to StackPanels that are inside of Grid.
Are there any other reasons why should we do #2170 first?

@mykhailopylyp not sure how exactly that would work since all the items in the row are not wrapped in a single StackPanel. Some of the items like the arrow icon, delete button and Target app textbox are directly children of the Grid.

@arjunbalgovind
I am proposing a workaround for that as we will migrate to xaml. We can wrap the arrow icon and the delete button into Border component and set background for them.

Shipped with 0.27 release. https://github.com/microsoft/PowerToys/releases/tag/v0.27.0


Update FreeBSD installation

Some minor changes. We have ltr and stable.  Also some clarification for FreeBSD ports.

@lbartoletti sorry for late pull, Thanks!


Yahoo options failing again in the docs

See http://pandas-docs.github.io/pandas-docs-travis/remote_data.html#yahoo-finance-options and http://pandas-docs.github.io/pandas-docs-travis/whatsnew.html#whatsnew-0151-api
@dstephens99

I think this is fixed. If its not pls reopen.


Update schema files in OPTIMADE main repository before releasing v1.0.0-rc.2

All PRs that we said to merge before release of v1.0.0-rc.2 have now been merged, and I am ready to make that release.
However, just now I realize that some of the changes we've made should have affected the schema files:

schemas/index_openapi_schema.json
schemas/openapi_schema.json
which, as far as I know, are not yet updated?

Do we not need to update them before we can release?

Pinging @CasperWA, @ml-evs who I know are active in the optimade-python-tools that presently is used to generate the schemas.

Pinging @CasperWA, @ml-evs who I know are active in the optimade-python-tools that presently is used to generate the schemas.

We have a few open issues in optimade-python-tools for the models to be updated; I'll assign myself and start chipping away at them tomorrow, with some help it shouldn't take long. Would you be against releasing v1.0.0-rc2 now and then moving the tag back once we've caught up?

Would you be against releasing v1.0.0-rc2 now and then moving the tag back once we've caught up?

I am against making a release with incorrect schemas for that release since that is a bad look..., but I realize this may further put off -rc.2 for some time. (But I am not sure what "moving the tag back" means? Altering the git tag for the release after the release? That we shouldn't do.)
While we are on the topic of schemas and the v1.0.0 release, I notice that both #25 (Adoption of json schemas and continous integration) and #37 (API response should include reference to schema, to be completed first) are still open and have been marked for milestone v1.0.

I've proposed to close #25, because I think it is done.
For #37, I suppose we do not presently link schemas from our default JSON API-based response? Should we quick-fix that before v1.0.0? At least an optional way to link schemas may be appreciated for v1.0.0 and isn't a big change to the spec.

I am against making a release with incorrect schemas for that release since that is a bad look..., but I realize this may further put off -rc.2 for some time. (But I am not sure what "moving the tag back" means? Altering the git tag for the release after the release? That we shouldn't do.)

Yes, it would be a bit cheeky, and relies on the fact that providers probably aren't using the generated OpenAPI spec at the moment. I guess the problem is that all other PRs would need to be put on hold until the schemas are merged.
We can certainly try our best to expedite the process in optimade-python-tools!

* For #37, I suppose we do not presently link schemas from our default JSON API-based response? Should we quick-fix that before v1.0.0? At least an optional way to link schemas may be appreciated for v1.0.0 and isn't a big change to the spec.

This sounds good to me, I would like to be able to link to my extended OpenAPI OPTIMADE schema that includes the extra fields for my implementation (which itself will link to the OPTIMADE schema).

@ml-evs, @CasperWA
I see you actively working on it in optimade-python-tools, how much more work is left? Are there clear work tasks others can help you with to get this completed?

@ml-evs, @CasperWA
I see you actively working on it in optimade-python-tools, how much more work is left? Are there clear work tasks others can help you with to get this completed?

Hi @rartino, just one more PR to be reviewed at our end, https://github.com/Materials-Consortia/optimade-python-tools/pull/351,  unfortunately its a tedious one as it is just the update of all our descriptions to match the spec (and also converted to markdown so our docs work). As soon as this is merged, I can prepare the PR for adding the generated OpenAPI spec to this repo.

Closed by #291.


Update CLKParametricAnimations.podspec

add tvOS support

Nice one @matteocrippa

Unfortunately I no longer have write permissions to this repo, as Clinkle has died as a company and I no longer work there...
Feel free to fork, rename and upload to cocoapods under a different name

@matteocrippa I've abandoned this project and updated the new version here with this change.
See https://github.com/calm/CalmParametricAnimations/commit/89f50632641af27b95e27d8cd007e8df0ad9feee
I'll update KenBurns to use this instead


OpenAIAgent callback_manager bug

Description
Started seeing the following error when using OpenAIAgent constructed with OpenAIAgent.from_tools:
  File ".../llama_index/indices/query/base.py", line 23, in query
    with self.callback_manager.as_trace("query"):
         ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'OpenAIAgent' object has no attribute 'callback_manager'

Turns out the super constructor for the BaseQueryEngine class wasn't being called. Adding a explicit call to the super constructor with the callback_manager attribute so the attribute is set.
Fixes # (issue)
Type of Change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

[x] I stared at the code and made sure it makes sense

Suggested Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

@sourabhdesai huh, good find. Were you using an agent as a query engine somewhere?

huh, good find. Were you using an agent as a query engine somewhere?

@logan-markewich yup! I was using it as a sub-query engine within a SubQuestionQueryEngine


Behavior change between Jena 3.0.1 and 3.16.0-SNAPSHOT

After long overdue upgrade from Jena 3.0.1 to 3.16.0-SNAPSHOT, some SPIN constraint validation-based tests started failing. Where 3.0.1 produced no violations, 3.16.0-SNAPSHOT produces violations like Attribute spin:body : [0,1] not only for user data, but also for instances from the internal SPIN vocabulary, such as spin:ConstructTemplates.
I have managed to isolate a standalone example: https://github.com/namedgraph/spinrdf-test
Toggle SPINRDF versions in the POM (which depend on Jena 3.16.0-SNAPSHOT and  3.0.1 respectively) and the test will either fail or succeed:
https://github.com/namedgraph/spinrdf-test/blob/08da50a593a8bfb01a7768227dbb04ba0333bb37/pom.xml#L28
The test uses the following query:
SELECT  ?this ?predicate ?objCount ?minCount ?maxCount
WHERE
  { ?this  a                     ?TYPE_CLASS
      { BIND(<http://spinrdf.org/spl#objectCount>(?this, ?predicate)
AS ?objCount)
        FILTER ( bound(?minCount) && ( ?objCount < ?minCount ) )
      }
    UNION
      { BIND(<http://spinrdf.org/spl#objectCount>(?this, ?predicate)
AS ?objCount)
        FILTER ( bound(?maxCount) && ( ?objCount > ?maxCount ) )
      }
    UNION
      { FILTER bound(?valueType)
        ?this  ?predicate  ?value
        FILTER ( ! <http://spinrdf.org/spl#instanceOf>(?value, ?valueType) )
      }
  }

and binding: ( ?predicate, spin:body )( ?comment, "the body of the Template" )( ?minCount, 0 )( ?TYPE_CLASS, spin:Template )( ?maxCount, 1 )
I'd like to understand why there's a difference in evaluation and how to fix it (assuming 3.0.1 behavior is correct). Since SPINRDF code hasn't changed (there are commits in between but they do not touch any code), this leads me to believe it's because of a change in Jena. Might have to do with the evaluation of SPIN "functions" spl:objectCount() and spl:instanceOf(). Help pinning this down would be appreciated.

The version that we bundle with TopBraid (which uses a recent Jena version) has this body for spl:Attribute
CONSTRUCT {
    _:b0 a spin:ConstraintViolation .
    _:b0 spin:violationRoot ?this .
    _:b0 spin:violationPath ?predicate .
}
WHERE {
    FILTER (((bound(?minCount) && (spl:objectCount(?this, ?predicate) < ?minCount)) || (bound(?maxCount) && (spl:objectCount(?this, ?predicate) > ?maxCount))) || EXISTS {
        {
            FILTER bound(?valueType) .
        } .
        ?this ?predicate ?value .
        FILTER (!spl:instanceOf(?value, ?valueType)) .
    }) .
}

Thank you Holger.
Would it be possible to get an update of all the vocabularies? As long as there were no incompatible changes. That would be great help.

I'll email them to you. No idea what might break etc.

@HolgerKnublauch what about a spl:Attribute query which does not use any SPIN functions? Would that improve the Jena/SPARQL compatibility and/or break some things on your end?
From what I could reconstruct by expanding the functions such as spl:instanceOf, I got this query:
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
ASK
WHERE
  {   { FILTER bound(?minCount)
        { SELECT  (count(*) AS ?cardinality)
          WHERE
            { ?this  ?predicate  ?object }
          HAVING ( ?cardinality < ?minCount )
        }
      }
    UNION
      { FILTER bound(?maxCount)
        { SELECT  (count(*) AS ?cardinality)
          WHERE
            { ?this  ?predicate  ?object }
          HAVING ( ?cardinality > ?maxCount )
        }
      }
    UNION
          {
            ?this  ?predicate  ?object
            FILTER ( isURI(?object) || isBlank(?object) )
            FILTER bound(?valueType)
            FILTER NOT EXISTS {
                ?object a ?class .
                ?class (rdfs:subClassOf)* ?valueType
            }
        UNION
          {
            ?this  ?predicate  ?object
            FILTER isLiteral(?object)
            FILTER bound(?valueType)
            BIND(datatype(?object) AS ?datatype)
            FILTER ( ! ( ?datatype IN (?valueType, rdfs:Literal) || ( ( ! bound(?datatype) || ?datatype = rdf:langString ) && ?valueType = xsd:string ) ) )
          }
      }
  }

If it produces equivalent results, then in principle it could be used? It passes my very rudimentary test suite:
https://github.com/AtomGraph/spinrdf/blob/sparql-based/src/test/java/org/spinrdf/constraints/ConstraintTest.java
/cc @afs

I believe I had to rely on functions here because that would give me control over the execution order. I think it would otherwise first evaluation the inner SELECTs before the FILTER.
In any case, you can make changes to your local copy.

Well that is to be expected given SPARQL's inside-out evaluation?
But what is the problem with evaluating SELECTs first if the end results are the same? Performance?

yes absolutely, performance is a show stopper because these queries are run thousands of times.

@HolgerKnublauch which filters do you mean exactly? I've now pushed FILTER bound(?minCount)/FILTER bound(?maxCount) down into the SELECTS and I'm still getting the same results:
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

ASK
WHERE
  {   { SELECT  (count(*) AS ?cardinality)
        WHERE
          { ?this  ?predicate  ?object
            FILTER bound(?minCount)
          }
        HAVING ( ?cardinality < ?minCount )
      }
    UNION
      { { SELECT  (count(*) AS ?cardinality)
          WHERE
            { ?this  ?predicate  ?object
              FILTER bound(?maxCount)
            }
          HAVING ( ?cardinality > ?maxCount )
        }
      }
    UNION
      { ?this  ?predicate  ?object
        FILTER ( isURI(?object) || isBlank(?object) )
        FILTER bound(?valueType)
        FILTER NOT EXISTS { ?object  rdf:type  ?class .
                            ?class (rdfs:subClassOf)* ?valueType
                          }
      }
    UNION
      { ?this  ?predicate  ?object
        FILTER isLiteral(?object)
        FILTER bound(?valueType)
        BIND(datatype(?object) AS ?datatype)
        FILTER ( ! ( ( ?datatype IN (?valueType, rdfs:Literal) ) || ( ( ( ! bound(?datatype) ) || ( ?datatype = rdf:langString ) ) && ( ?valueType = xsd:string ) ) ) )
      }
  }

I guess this query might further be optimized, but I don't think by much.
SPIN function invocation must incur some overhead too?

I don't know what you are trying to solve here but this is likely to have much worse performance than the helper function, as there is no need to iterate through the SPOs if min/maxCount are not bound. And that's what the original solution prevents.

I am trying to refactor the constraint validation using plain SPARQL so that Jena upgrades should not be a problem anymore.
As for performance, the only way to tell is to measure, right? I'll see if I can get that done.

Another issue is that the SPIN model breaks when inference is enabled.

@HolgerKnublauch what is the query for spl:Argument?
I've decoded it to something like this, but would like to double-check:
PREFIX  rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX  spin: <http://spinrdf.org/spin#>
PREFIX  xsd:  <http://www.w3.org/2001/XMLSchema#>
PREFIX  afn:  <http://jena.apache.org/ARQ/function#>
PREFIX  rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX  spl:  <http://spinrdf.org/spl#>

CONSTRUCT
  {
    _:c0 rdf:type spin:ConstraintViolation .
    _:c0 spin:violationRoot ?this .
    _:c0 spin:violationPath ?predicate .
    _:c0 rdfs:label ?label .
  }
WHERE
  { FILTER isIRI(?this)
      { FILTER ( ( ! bound(?optional) ) || ( ?optional = false ) )
        FILTER NOT EXISTS { ?this  ?predicate  ?value }
        FILTER NOT EXISTS { ?this  rdf:type  ?template
                            FILTER spl:instanceOf(?template, spl:UnionTemplate)
                          }
        BIND(concat("Missing value for argument ", afn:localname(?predicate)) AS ?label)
      }
    UNION
      { FILTER bound(?valueType)
        ?this  ?predicate  ?value
        FILTER ( ( ! spl:instanceOf(?value, ?valueType) ) && ( ( ?valueType != rdfs:Resource ) || isLiteral(?value) ) )
        BIND(concat("Incorrect type of argument ", afn:localname(?predicate), " (expected: ", afn:localname(?valueType), ")") AS ?label)
      }
  }

Looks semantically correct although probably less efficient because depending on execution settings it may push the FILTER bound(?valueType) to after the BGP and thus do unnecessary work. In my version that's
CONSTRUCT {     _:b0 a spin:ConstraintViolation .     _:b0 spin:violationRoot ?this .     _:b0 spin:violationPath ?predicate .     _:b0 rdfs:label ?label . } WHERE {     {         FILTER isIRI(?this) .     } .     {         {             {                 FILTER ((!bound(?optional)) || (?optional = false)) .             } .             FILTER NOT EXISTS {                 ?this ?predicate ?value .             } .             FILTER NOT EXISTS {                 ?this a ?template .                 FILTER spl:instanceOf(?template, spl:UnionTemplate) .             } .         } .         BIND (CONCAT("Missing value for argument ", afn:localname(?predicate)) AS ?label) .     }     UNION     {         {             {                 FILTER bound(?valueType) .             } .             ?this ?predicate ?value .             FILTER ((!spl:instanceOf(?value, ?valueType)) && ((?valueType != rdfs:Resource) || isLiteral(?value))) .         } .         BIND (CONCAT("Incorrect type of argument ", afn:localname(?predicate), " (expected: ", afn:localname(?valueType), ")") AS ?label) .     } . }


feat: Solana relayer (fee payer) key importer, encryption and decryption

Description
The goals of this PR:

remove hardcoded E2E solana private key from zetaclient code and use config file localnet.yml to inject solana test keys.
introduce relayer key importing process that allows TSS signers to bring their own Solana keys to sign Solana outbound transactions.

The changes of this PR:

[x] Utils for encryption/decryption; Utils for creating/reading relayer key files.
[x] CLI command import-relayer-key to import and encrypt relayer private key
[x] CLI command relayer-address to decrypt and show imported relayer address
[x] E2E test adjustment using above utils and CLIs.
[x] Use above utils and CLIs to replace current relayer key handling.
[ ] Add relayer key related metrics.

Closes: https://github.com/zeta-chain/node/issues/2614
Closes: https://github.com/zeta-chain/node/issues/2606
How Has This Been Tested?

[x] Tested CCTX in localnet
[ ] Tested in development environment
[x] Go unit tests
[ ] Go integration tests
[ ] Tested via GitHub Actions

Summary by CodeRabbit

New Features

Introduced new CLI commands for importing and managing relayer private keys.
Added functionality to handle Solana relayer accounts in various scripts and configurations.
Implemented AES-256-GCM encryption methods for secure data handling.

Bug Fixes

Enhanced error handling during encryption processes.

Refactor

Improved the management of key paths and streamlined the initialization process.
Updated the Signer methods to reflect changes in the key management approach.

Tests

Added unit tests for new encryption functionalities and existing methods to ensure reliability.

Documentation

Updated comments and documentation to reflect recent changes in functionality and key management.

Did a first review round. Can you add a description with the context & purpose of these changes?

I updated the description of the PR. The goal is to formalize the usage of relayer key.


Updated NR1_addData and NR1_sys keywords

Ticket: https://new-relic.atlassian.net/browse/NR-261501
Description: Updated NR1_addData and NR1_sys keywords
Summary
A concise description of the changes being introduced. Please review the pre-merge checklist section to validate this pull request is ready for review and merge. If it is not ready, please mark the pull request as a draft.
The owners of this repo are not experts in the subject matter of the quickstarts. We review for the quickstart to be functional and for security risks. If you are seeking feedback on the content of the quickstart, please seek out a subject matter expert. If you are not an internal NR contributor, we can do our best to connect you with a content reviewer.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you include a Data source and Documentation reference?
[ ] Are all documentation links publicly accessible?
[ ] Did you check your descriptive content for voice and tone?
[ ] Did you check your descriptive content for spelling and grammar errors?
[ ] Did you review your content with a subject matter expert? (e.g. a Browser agent quickstart is reviewed with a member of the Browser Agent team)

Dashboards

[ ] Does the PR contain a screenshot for each of your dashboards?
[ ] Do your screenshots show data?
[ ] Has the sanitization script been run on each dashboard?

Alerts

[ ] Did you check that your alerts actually work?

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: RamanaReddy8801:x: mickeyryan42You have signed the CLA already but the status is still pending? Let us recheck it.


Visiting a /${guid} results in ERR_NAME_NOT_RESOLVED

Package version
"@japa/browser-client": "^2.0.3",

Describe the bug
For example
await visit(`/` + guid);

errors with ERR_NAME_NOT_RESOLVED,
but:
let page = await visit(`/${guid.replaceAll('-', '')}`);

works (tho a server may expect a guid).
This also hits the server:
let page = await visit(`/${guid.slice(0, -1)}`);

Reproduction repo
https://github.com/NullVoxPopuli/url-shortener/pull/7
This isn't minimal, and I get this error on non-GUID paths, so.. this bug report might be a mistake

disregard -- I found the problem


bug: java.util.concurrent.ExecutionException: java.lang.Exception: Failed to start Cody agent

Plugin version: 5.3.27
IDE version: PY-233.13763.11
Stacktrace:
java.util.concurrent.ExecutionException: java.lang.Exception: Failed to start Cody agent
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
	at com.sourcegraph.cody.agent.CodyAgentService$Companion.withAgent$lambda$0(CodyAgentService.kt:122)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.lang.Exception: Failed to start Cody agent
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$3(CodyAgentService.kt:82)
	at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:249)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
	at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:32)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
	... 7 more
Caused by: java.util.concurrent.TimeoutException
	at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1960)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2095)
	at com.sourcegraph.cody.agent.CodyAgentService.startAgent$lambda$3(CodyAgentService.kt:69)
	... 12 more

Self resolve

Hey @hambone01  , would it be possible for you to provide us a full idea.log so we can investigate this issue more effectively?
It resolves itself after some re-tries but I would like to fix it for good.


Add flag to deploy with overlapping CIDRs

Add flag to expose Armada's support for deploying clusters with
overlapping CIDRs.
Closes: #412
Signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

If required, we can have some flag supported in armada (something like --overlap=true). The point I'm trying to make is - shall we hide this overlap_cidrs during KIND deployment and reuse globalnet (while internally mapping it to overlap_cidrs/any-other-flag-that-armada-uses)? Your thoughts?

That makes sense to me.

The point I'm trying to make is - shall we hide this overlap_cidrs during KIND deployment and reuse globalnet (while internally mapping it to overlap_cidrs/any-other-flag-that-armada-uses)? Your thoughts?

Yeah, we can do that, makes sense.

Per discussions with @tpantelis, @mkolesnik and many others - we decided not to move in the Go-based Armada direction. Overlapping CIDR support was added to the Bash path in different patches.


how to modify workbench font family

Issue Type: Feature Request
how to modify workbench font family
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin x64 21.2.0
Restricted Mode: No

Workbench font family? Consider the extension Customize UI:
https://github.com/iocave/customize-ui
May it helps you.

/duplicate of #519
See that thread for suggestions, but it's mostly about extension recommended by @septsea above.


Update README

📓 Documentation Update
Update README by replacing icevision references by icedata ones.

I believe this can be closed,
the only thing left to update is the link to the forum


chore(main): release 1.1.63

:robot: I have created a release beep boop
1.1.63 (2024-09-17)
Features

route.ts: refactor OpenAI integration to use @ai-sdk/openai for improved functionality and maintainability (41fc5d5)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v1.1.63
:sunflower:


libcifpp: 5.1.2 -> 5.2.1

Diff: https://github.com/PDB-REDO/libcifpp/compare/refs/tags/v5.1.2...v5.2.1
Changelog: https://github.com/PDB-REDO/libcifpp/releases/tag/refs/tags/v5.2.1
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 257796 run on aarch64-darwin 1

2 packages built:

dssp
libcifpp

Result of nixpkgs-review pr 257796 run on x86_64-linux 1

2 packages built:

dssp
libcifpp


Why is prepareInitialRender async?

First of all, thanks for the amazing work 👍
I'm trying to integrate this project with next.js, but I'm struggling with rehydrating in the client. Unfortunately in next.js the render funciton is sync (just like in React). There is an async fn called getInitialProps to collect data, but that is only called server-side or on page transition.
So I looked into rehydrating Relay in the render fn (https://github.com/Gregoor/next.js-relay-example/blob/9ee954a8f6449d1891ae546799c1bc0e564d55aa/pages/index.js#L62), but since prepareInitialRender is async, that won't really work. So I was wondering what the reason behind it is, since theoretically all the data is already there, right? Is it that there is simply no Relay API to get the initial render props synchronously?

prepareInitialRender have to be async because it checks that the data is really available in the cache, and if it is not, it fetches the missing data. But if you are brave you can skip calling prepareInitialRender and pass a fake initialReadyState to <IsomorphicRelay.Renderer>.
But I think a more correct solution is to fix the design of next.js, and make getInitialProps be called on the client-side initial render also.

thanks for the swift helpful response!
I'll go with brevity, as MobX and redux got along synchronously, I'll have to make it work with the same API.
To my surprise the data from getInitialProps is available in the client, without me doing anything, so this seems pretty much solved now. What I struggle with now is that the environment on the client side, is not of the Environment interface, but rather just a simple data object. I tried instantiating a new environment and simply assigning these data properties (namely _storeData), but that just leads to the relay component being rendered with the viewer being null.
Here is how I assign it:
const environment = Object.assign(new Relay.Environment(), environmentData /* == {_storeData: something} */);

Do you have some pointer on how to properly initialize an environment? I looked through the Relay source, though didn't find anything useful.


Disable the public role

On startup, the regent should remove all capabilities of the public role.

Closed by PR https://github.com/putnam120/postgRegent/pull/15


Is there any "OR" condition in Lucid ?

const users = yield User.query()       .where('name','tony')       .whereHas('userTokens', (builder) => {builder.where('jti','abc')})       .fetch()
Those statements below will produce SQL like this:
select * from users where name = 'tony' and user_tokens.jti = 'abc'
Which will result no data if user's name = 'tony' but he doesn't have any token with jti = 'abc'.
How do i select users which name = 'tony' OR have token with jti = 'abc' ?

Try orWhereHas?

There is no .orWhereHas and .orHas syntax, here is the error:
"message": "User.query(...).where(...).orWhere(...).orWhereHas is not a function"

Ohh you seems to be using older version of AdonisJs, is there any specific reason to stick to 3.x and not use 4.0?

hi, i just follow the installation manual from the official site using this command:
adonis new yardstick and then
npm install
those give me 3.x version, how do i upgrade to 4.x?
by the way, i tried to install adonis-lucid using this command:
npm i —save<EMAIL_ADDRESS>and it said can’t find the adonis-lucid with those version.
thank you friend

How you installed adonis-cli. Here are the docs for 4.0 http://dev.adonisjs.com/

Ah i i think maybe because i still use node version 6 and that adonis v4 requires version 8 or greater, so i can’t install the lates adonis version.
I will try it soon, thank you so much friend for the help.

Sure 👍


Getting an Error

Hi John, While Importing this Node-RED-covid19-dashboard.json flow and covid19-api-test.json flow getting the same error attached?

Hi Priya - Did you register for a TWC Api key? You need to enter it into the diease tracker node.  The missing pwsapi node is the hidden config node that stores the api key.

In my v0.1.0 implementation, the node-red-contrib-twc-weather and node-red-contrib-twc-covid19-tracker share the hidden pwsapikey configuration node so that you can share the TWC api key and only enter it once.  This seems to cause all sorts of problems (works on my development system because I have both packages installed).  Overall, this was a bad idea.  Node-RED packages should not share configuration nodes.
I have a v0.2.0 fix that splits out the TWC api key (which might be entitled to both Weather API and the Covid-19 API) into separate hidden pwsapikey and covapikey configuration nodes.  You can certainly use the same API key for both weather and covid BUT you'll need enter it separately into the distinct nodes.

But....  I'm trying to figure out how to deploy this fix.
I have staged a bunch of new work for v0.2.0 in anticipation of adding a new node to the node-red-contrib-twc-covid19-tracker - (There's a Country Reports API coming tomorrow),  it has new screenshots, new example flows, I swapped from request to got for network requests.
If folks don't mind waiting 1 day for the critical fix, it will be a clean deployment.
In the interrim today, 04-27-2020, you can
npm install node-red-contrib-twc-weather

My test system ALSO had both packages installed even though I was testing in separate Node-RED project flows.  Annoyed that I missed this in my test suite.  It seemed like a brilliant idea. v0.2.0 should repair it.

node-red-contrib-twc-covid19-tracker v0.2.0 has been posted to npm.
The fix for this problem report is included in v0.2.0
Closing issue.


Add support for CockroachDB

I would like to request support for CockroachDB as a distributed database solution in Permify. CockroachDB offers advanced features such as automatic sharding, fault tolerance, and consistency across multiple data centers, which can enhance scalability, availability, and performance for permify users.

You can track the issue from #605.


Improve negative testing

This is a meta-issue to track possible improvements for negative testing. At the moment, I see at least two areas where it can be improved.
Data variety & examples quality

[ ] Get negate_schema back. It adds some complexity, but it seems like it can increase the variety

[ ] Select nodes to mutate upfront instead of selecting while traversing. The current approach increases the chances of mutating nodes closer to the root.

[ ] Swarm testing

Arrays: items as an object - filter mutations
Arrays: items as an array - filter mutations
Arrays: items as an array - filter item indices
Locations - apply mutations only to certain locations

Performance & correctness

[x] Check upfront if it is possible to mutate at all (e.g., headers that can't be mutated)
[ ] Prevent generating invalid combinations - (removing required properties vs. change properties)
[ ] Custom header formats for minLength / maxLength keywords.
[ ] Take mutation depth into account to avoid extra actions

Recently my tests started to fail because  of Hypothesis FailedHealthCheck exception when running test with the negative data generation. I don't know what stated it because it didn't do that before.
______________ test_schemathesis_negative (verbose_name='GET /sources/{source_key}/') ______________
test_source.py:114: in test_schemathesis_negative
    @schema_negatif.parametrize(endpoint=endpoint)
E   hypothesis.errors.FailedHealthCheck: It looks like your strategy is filtering out a lot of data. Health check found 50 filtered examples but only 4 good ones. This will make your tests much slower, and also will probably distort the data generation quite a lot. You should adapt your strategy to filter less. This can also be caused by a low max_leaves parameter in recursive() calls
E   See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.filter_too_much to the suppress_health_check settings for this test.

19 failed, 38 passed in 1758.80s (0:29:18)

For reference I am testing 7 endpoints with just 250 examples per endpoint. It took 29min 18s for positive + negative testing. Now that I removed the negative testing it went down to 8min 14s.
30 minutes is way to long for the test to be used often. Is it normal performance or am I doing something wrong?
This is my test:
schema_positif = st.from_pytest_fixture("app_schema", data_generation_methods=[st.DataGenerationMethod.positive])
schema_negatif = st.from_pytest_fixture("app_schema", data_generation_methods=[st.DataGenerationMethod.negative])

@schema_positif.parametrize(endpoint=endpoint)
@settings(max_examples=250)
def test_schemathesis_positive(case, admin_header):
  case.headers = admin_header
  response = case.call_wsgi()
  case.validate_response(response)

@schema_negatif.parametrize(endpoint=endpoint)
@settings(max_examples=250)
def test_schemathesis_negative(case, admin_header):
  case.headers = admin_header
  response = case.call_wsgi()
  case.validate_response(response)

I needed I can also post the OpenAPI schema.


We should not use yaml: annotations

The yaml field tags are not used by sigs.k8s.io/yaml, and using anything other than that library gives unexpected results when working with apimachinery types.  We should get rid of the yaml field tags, and ensure that we are not using any other yaml libraries (at least not with kube objects)

This was fixed in https://github.com/GoogleContainerTools/kpt/pull/3643


Ping device tracker now respects interval_seconds

Description:
Related issue (if applicable): fixes #11148
Example entry for configuration.yaml (if applicable):
- platform: ping
  interval_seconds: 300
  hosts:
    device1: <IP_ADDRESS>

Checklist:
If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Thanks! :star2:

Is it possible to make it respect consider_home ?


Lua 5.3/5.4 support

Currently Lua-CSharp provides a Lua 5.2 implementation. Should this be changed to Lua 5.3/5.4?

Think this would be great


Documentation: Fix python code tab switcher

Hi,
it looks that since b99d4ac and a8ce4e0 nobody is calling the necessary code for the language chooser tabs that was removed when removing old api.js file:
//////////// api.js:66 /////////////
$(function () {
  var $selectedAuthentication = $('#selected-authentication')
  var $authControl = $('#auth-control')
  var $authTokenModal = $('#auth_token_modal')
  var $authBasicModal = $('#auth_basic_modal')
  var $authSessionModal = $('#auth_session_modal')

 ////// ----> REMOVED code for `language-control` navs
  // Language Control
  $('#language-control li').click(function (event) {
    event.preventDefault()
    var $languageMenuItem = $(this).find('a')
    var $languageControls = $(this).closest('ul').find('li')
    var $languageControlLinks = $languageControls.find('a')
    var language = $languageMenuItem.data('language')

    $languageControlLinks.not('[data-language="' + language + '"]').removeClass('active')
    $languageControlLinks.filter('[data-language="' + language + '"]').addClass('active')

    $('#selected-language').text(language)

    var $codeBlocks = $('pre.highlight')
    $codeBlocks.not('[data-language="' + language + '"]').addClass('d-none')
    $codeBlocks.filter('[data-language="' + language + '"]').removeClass('d-none')
  })
////// <----- REMOVED code for `language-control` navs

So somewhat the language picker is now only showing up Javascript, Python samples were dead forever 😅
This PR adds only the code necessary in the index.html file embedded, if for any case you do not want an small piece of JS in the body, it can easily be restored into an api.js and just point to it. For now it's so small the code that is not very verbose.

Nice. Just installed for the first time and couldn't figure out why that button wasn't working.

Thanks. Fixed in #624.


GMR-1036: Real MTU fix

Action: UPDATE
Description: Defines.py does nothing to change the MTU. The fix was in
the client/coap.py file.
Testing: Able to get /.well-known/core without truncation.

@EngineerRandyN ,
If the other change does nothing, shouldn't we back it out so we can stay closer to upstream?


ScrollView doesnt work in modal?

It seems like the ScrollView component doesn't do anything in this modal, however the same code works fine with the native modal: https://snack.expo.io/@jamesweblondon/lonely-candies
<Modal visible={modalOpen}>
    <View>
        <ScrollView>
          {new Array(50).fill("").map((_, index) => {
            return <Text key={index}>Blah {index}</Text>;
          })}
        </ScrollView>
    </View>
  </Modal>

Im a little confused by the docs, they seem to have a scroll version but tell you to install this package:
https://github.com/Dekoruma/react-native-web-modal
However the example code doesn't work for me:
https://snack.expo.io/@jamesweblondon/courageous-donuts
  _renderModalContent = () => (
    <View>
      <Text>Hello!</Text>
      {new Array(50).fill("").map((_, index) => {
        return <Text key={index}>Blah {index}</Text>;
      })}
      {this._renderButton("Close", () =>
        this.setState({ visibleModal: false })
      )}
    </View>
  );

modal is now supported in react native web.
https://github.com/necolas/react-native-web/releases/tag/0.14.0
Thank you for using this library!


rclone/sftp: Improve handling of ErrDot errors

What does this PR change? What problem does it solve?
Restic now yields a more informative error message when exec.ErrDot occurs, informing the user of what they can do if they truly want to run the executable that was found in the current directory.
Was the change previously discussed in an issue or on the forum?
Closes #3932.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[x] I have added documentation for relevant changes (in the manual).
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[x] I'm done! This pull request is ready for review.

You can check for ErrDot error right after exec.Command:
	cmd := exec.Command(command, args...)
	if errors.Is(cmd.Err, exec.ErrDot) {

Maybe worth adding something like this:
	if filepath.Base(command) == command {
		file, err := os.Executable()
		if err == nil {
			dir := filepath.Dir(file)
			file, err = exec.LookPath(filepath.Join(dir, command))
			if err == nil || errors.Is(err, exec.ErrDot) {
				command = file
			}
		}
	}

before exec.Command. This will help to auto solve a common situation where restic and rclone located in the same directory.

You can check for ErrDot error right after exec.Command

Thank you, I've changed that to your suggestion!

.. auto solve a common situation where restic and rclone located in the same directory

Yeah, we discussed that and decided to err on the side of caution even in this case, and to not work around an active security measure in Go.

before exec.Command. This will help to auto solve a common situation where restic and rclone located in the same directory.

For documentation purposes, a simpler variant of that code snippet is given in the golang documentation: https://pkg.go.dev/os/exec#hdr-Executables_in_the_current_directory


[SCB-1646] Add "forward" prefix to @Compensable property retries and timeout

Rename @Compensable property retries and timeout with the "forward" prefix

Coverage decreased (-0.09%) to 79.983% when pulling 485ec0d9254c3814395e74792afe0fc1c5719581 on coolbeevip:SCB-1646 into 41504a11c51deb34a6c2c60e80ac5669b92bc695 on apache:master.


SD card formatter using deprecated option

The file
meta-beagleboard/contrib/bone-flash-tool/mkcard.sh
Calls sfdisk with -D, but -D has been deprecated.
sfdisk: invalid option -- 'D'

@lsangild sorry this Angstrom project has been un-maintained since 2013..


Fix decoding of high-color sixel images when the palette changes.

This request fixes an issue where sixel2img fails to handle high-color sixel where the palette changes. This is the cause of issue #61

Coverage remained the same at 0.0% when pulling 790d6166906e0502e44d727edf47623bcf765627 on auppal:highcolor-decode into 6a5be8b72d84037b83a5ea838e17bcf372ab1d5f on saitoha:master.


Update README.md - add repository map

Adding a link to the high-level diagrams including module, library dependency and others (https://sourcespy.com/github/gwtbootintrogwtbootspringboot/). Built directly from source and updated on schedule. Intended to simplify developer's introduction to the project.
In the spirit of transparency - I am the author of the diagrams. Hope you find it useful.

Nice idea, is SourceSpy something new?
I’ll merge.


Fix minor issue in BlocksByRange slot check

PR Description
Really minor fix here, but BlocksByRange shouldn't allow the startSlot + count slot.

Requests beacon blocks in the slot range [start_slot, start_slot + count), leading up to the current head block as selected by fork choice. For example, requesting blocks starting at start_slot=2 and count=4 would return the blocks at slots [2, 3, 4, 5].

https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/p2p-interface.md#beaconblocksbyrange
Also, remove old comments about end slot being 9. I think it's from when step was 2.
Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

Thank you, nice find!
I've added also minor cleanup after it #7657


RangeError: Maximum call stack size exceeded when doing an AMQP publish

In version 5.10.3 I can do an AMQP publish without any issue, updating to 6.0.0 crashes vscode and also the cli.

143cabb25a18d3edbc6057a485ff5dc641c32be0  is the commit where the bug gets introduced.
4adbb5dc81a828d7776ec2107035d7098c1cbf50 can publish AMQP messages without any issue.

Example http block:
AMQP amqp://guest:guest@localhost
amqp_method: publish
amqp_exchange: test
amqp_routing_key: test.test.test

{
    "Hello": "World!"
}

A resumed version of the error I am getting is:
RangeError: Maximum call stack size exceeded
Exception in PromiseRejectCallback:
C:\code\Temp\httpyac-source\dist\index.js:116
[...]nHook,ParseHook,ParseMetaDataHook,ProtoDefinition,ProvideEnvironmentsHook,ProvideVariablesHook,RepeatOrder,ReplaceVariableHook,ResponseLoggingHook,VariableType,cli,createEmptyProcessorContext,getEnvironments,getVariables,io,send,store,testSymbols,utils});

RangeError: Maximum call stack size exceeded
Exception in PromiseRejectCallback:
C:\code\Temp\httpyac-source\node_modules\@cloudamqp\amqp-client\lib\cjs\amqp-channel.js:764
        return Promise.reject(new amqp_error_js_1.AMQPError("Channel is closed", this.connection));

@LuisSanchez-Dev

https://github.com/AnWeber/httpyac/commit/143cabb25a18d3edbc6057a485ff5dc641c32be0 is the commit where the bug gets introduced.

Have you already debugged this? I am always happy about PullRequest. If you have already understood the error, just change it. Alternatively I look at it the next few days.
I had already feared that my change to a uniform interface for all RequestClients (amqp, grpc, websocket and http uses same interface) would not go completely silently, but it is still annoying. Sorry

Ok, I was afraid not to be able to reproduce the error. Click on send and BANG. Instant Crash. That was a good one. I fixed it. Thanks for reporting. Is fixed with the next version.

Thanks for fixing it! Sorry for not replying earlier, I was busy too.
I did some debugging but I was not able to find the loop in the little time I had available to debug.
Great work! 🎉


Issues sending mail with Postal

Discussed in https://github.com/postalserver/postal/discussions/1959

Originally posted by Larkings April 19, 2022
I am having this issue
I have set up an SMTP server and installed Postal
When I send a test email / my email says "Pending"
smtper.net I receive this error:
SMTP send error
Failure sending mail.
Unable to read data from the transport connection: The connection was closed.
Gmail responded:
530 Authentication required
When I run Postal Status:
root@mail:~# postal status
Name Command State Ports
postal_cron_1 /docker-entrypoint.sh post ... Up
postal_requeuer_1 /docker-entrypoint.sh post ... Exit 1
postal_smtp_1 /docker-entrypoint.sh post ... Up
postal_web_1 /docker-entrypoint.sh post ... Up
postal_worker_1 /docker-entrypoint.sh post ... Exit 1
How do I get all of these to say "up" ??
Please help..

Please don't duplicate discussions into issues

Please don't duplicate discussions into issues

Hey @willpower232 Im also facing the same issue. can u pls help me to resolve it?


Pop out player / minimize videos instead of exiting when back button pressed

The Issue
Mimicking The Youtube android APP, pressing back button while playing video should minimize the current playing video and continues to play, instead of exiting the video entirely. The video should be shown in pop out mode.
Steps to reproduce

Open any videos
Press back button
The videos are exiting

Expected behavior
The user should able to browsing another videos/content while the current videos that currently they watching are not exiting.
Actual behavior
The videos exited.
System Configuration

Device: Mi A1
Android version: 8.1

Anything Else
Reference: https://codedaily.io/tutorials/10/Create-a-Youtube-Video-Page-with-Animated-Video-Drag-to-Corner-in-React-Native
Screenshots
https://i.imgur.com/9Xg58r4.gif
Acceptance Criteria

Definition of Done

[ ]  Tested against acceptance criteria
[ ] Tested against the assumptions of the user story
[ ] The project builds without errors
[ ] Unit tests are written and passing
[ ] Tests on devices/browsers listed in the issue have passed
[ ] QA performed & issues resolved
[ ] Refactoring completed
[ ] Any configuration or build changes documented
[ ] Documentation updated
[ ] Peer Code Review performed

Done!


CompactConversionProfile model supports "imports" section

For now we can deal with classpath only.

Subtask of #71


Add the 'Add manually' button for resources

Adds a "Add manually" button which creates a form with required fields for a new resource.
The user can switch between "Add manually" form and viewing the details of an already uploaded and selected resource on the right side of the page.
Currently it doesn't actually add the new resource. This functionality and tests will be added in the next PR, as I also want to try some UI changes for this page in general.

I've also reorganized the resources page, and changed from the "Add manually" button to keeping all forms of adding a resource together (file upload, URL, create in the editor). I've attached the video for reference.
@marcenacp  PTAL and let me know what you think of this approach. Thanks!
Croissant_resources.webm

@aidazolic Looks great! Do you want to submit as is and implement adding a new resource in another PR?

@aidazolic Looks great! Do you want to submit as is and implement adding a new resource in another PR?

I think yes, it would be too large to do everything in one PR.


cherry-pick fix test: use InertRenderer in test

Uses the InertRenderer in unit test that instantiates a component
Cherry-picks one of the commits from #326

Hmm, looks like the InertRenderer fails in 2.8. I will close this for now and keep the DummyRenderer as is.