chore: version packages

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

#1241 afbb430 Thanks @gwansikk! - feat(jotai): add jsdoc to jotai component

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS><EMAIL_ADDRESS>

<EMAIL_ADDRESS>Patch Changes

Updated dependencies []:

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>

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

Project coverage is 70.57%. Comparing base (afbb430) to head (4533ac1).
Report is 1 commits behind head on main.

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1242   +/-   ##
=======================================
  Coverage   70.57%   70.57%
=======================================
  Files          70       70
  Lines         656      656
  Branches      131      131
=======================================
  Hits          463      463
  Misses        171      171
  Partials       22       22

Components
Coverage Δ

@suspensive/utils
47.16% <ø> (ø)

@suspensive/react
100.00% <ø> (ø)

@suspensive/react-dom
100.00% <ø> (ø)

@suspensive/react-native
100.00% <ø> (ø)

@suspensive/react-query
72.09% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/react-query-next-experimental
∅ <ø> (∅)

@suspensive/react-query-next-experimental-4
6.15% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)

@suspensive/cache
98.01% <ø> (ø)

@suspensive/react-image
80.39% <ø> (ø)


[WIP] chore/linter

Related issue

eslint-plugin-vue doesnt support our component split stratedy:
<!-- component.vue -->
<template src="./template.html"></template>
<style src="./style.scss"></style>
<script src="./index.js"></script>

issue1 issue2
Scope of work

! merge after #470

[x] just add eslint to packages/vue and use extends: ["plugin:vue/essential", "plugin:vue/strongly-recommended", "plugin:vue/recommended"]
[x] remove prettier, they broaken Multi-attribute elements rules :(

Screenshots of visual changes
Checklist

[ ] I followed composition rules for my component
[ ] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)

I will open this isssue after docs changes

how did you fix the vue template issue?

We can't do that :(  You can't lint html with vue eslin rules :(

okay. Thanks anyways!


feat: building report with objects

CAUTION: breaking change, by default RubyReports treat query as Object
storage
This feature introduces Storages. You can specify what storage you are
using in query. For now two options available:

Ruby::Reports::Storages::HASH, report treats each row as Hash, each
column reads as key from it.
Ruby::Reports::Storages::OBJECT, report treats each row as Ruby
Object, each column reads as public method call on it.

CAUTION: breaking change, by default RubyReports treat query as Object
storage

@artofhuman
@isqad88

ok

ok


Authorisation UI interface depends on the mobile phone language

Hello. I would like to inquire if it is possible to set a language of authentication UI? We are going to release our app in various countries, however, for now, our app is supposed to be only in English as it is international language. However, Firebase authentication UI adapts to the language of the user mobile phone, and if that language is not English, then the app is in two different languages. Is it possible to set Firebase authentication UI to English so that the text on the buttons would be in English as well as the dialog after clicking a button?
I will be looking forward for your answer.
Thank you :)

@NeringaB you can change your build.gradle to drop all non-English resources from your build, which will achieve what you want:
defaultConfig {
    // ...

    // Only English resources
    resConfigs "en"
}

Thank you for your answer :) I added this to my code, the text on buttons in the Firebase UI changed to English and when I click on "Sign in with Google", it is written "Loading" in English, however, when the dialog to choose Google account is showed everything is written in the language of the user mobile phone. Is it possible to change this dialog to English, too?

@NeringaB that's not possible as far as I know, and it's outside of FirebaseUI.  That comes from the Google Sign In SDK.  Sorry!

Okay. Thank you for information :)


hog descriptor calculated by ACL different from opencv HOG descriptor

when I compute hog descriptor use ACL,  the result seems different from the result calculated by opencv.
whether  the hog descriptor  calculated by ACL is same with the result calculated by opencv?  Thanks a lot
In order to make it sample,  setting:  winSize=blockSize; winStride=blockStride.
opencv hog descriptors:   size=7 * 3 * 32:
                    0.104599, 0.0939107, 0.0738626, 0.0413416, ........
                    0.349142, 0.0257534, 0.00183144, 0.000329274, ........
                    ..............................
                    0.346539, 0.0944479, 0.0304494, 0.0101547,........

ACL NEHOGDescriptors:  size=7 *3 * 32 :
                    0.270506, 0.304823, 0.114578, 0.119113, ........
                    0.314935, 0.314935, 0.0158787, 0.0539849, ........
                    ..............................
                    0.0998959, 0.278487, 0.127762, 0.0461565, ........

whether the hog descriptor calculated by arm computeLibrary is same with the result calculated by opencv?
Is there any difference between the two methods, Thanks a lot

The params used in hog is the same.
I also change the HOG configure paramaters, but the result still different from opencv hog.
       NEHOGDescriptor HOGDescriptors;
       HOGDescriptors.configure(&input, &output, hog, REPLICATE   );   //REPLICATE   CONSTANT    UNDEFINED

Hi @sunzk2017
ACL has shifted the focus to ML and all HOG functions were deprecated and removed from ACL in 21.05, see: https://arm-software.github.io/ComputeLibrary/latest/versions_changelogs.xhtml#S2_2_changelog
You could see some examples on how to use these functions in the validation fixtures:

https://github.com/ARM-software/ComputeLibrary/blob/7dcb9fadb98cad05fca72de3273311d570d98b4e/tests/validation/fixtures/HOGDescriptorFixture.h
https://github.com/ARM-software/ComputeLibrary/blob/7dcb9fadb98cad05fca72de3273311d570d98b4e/tests/validation/fixtures/HOGDetectorFixture.h
https://github.com/ARM-software/ComputeLibrary/blob/7dcb9fadb98cad05fca72de3273311d570d98b4e/tests/validation/fixtures/HOGMultiDetectionFixture.h

21.05 is no longer maintained I would advice using a different library like OpenCV for this.
Hope this helps.


Nested mutable types in accounts

If you define an account type that has a mutable type as a field (like another class), it might not work. Since all mutable types get converted to a custom Mutable<T> type (which is just a wrapper around Rc<RefCell<T>> that allows some impls), an account can't store the Mutable<T>.
This is specialized for arrays, though - a class should be able to store an array type, and it will get converted to a Mutable<[...]> when the account gets loaded, then the raw data will be extracted and stored in the account when it gets stored back on the chain (at the end of the instruction).
A similar process could be performed for any other mutable type, but orchestrating everything is tricky because of nesting. If an account has a field, which is a class that has a field, which is a mutable type, then the account will need to store:
struct Account { field: Class }
struct Class { field: Type }

...but at runtime, we need to have something like:
struct LoadedAccount { field: Mutable<LoadedClass> }
struct LoadedClass { field: Mutable<Type> }

Right now, this is accomplished pretty well for accounts without nested mutable fields, but in the future this needs to work for anything imaginable.

does this derive AnchorSerialize and AnchorDeserialize on the structs that are to be nested?

It doesn't currently, but I've been able to compile this:
// generate/mod.rs
            impl<T: AnchorSerialize> AnchorSerialize for Mutable<T> {
                fn serialize<W: std::io::Write>(
                    &self,
                    writer: &mut W,
                ) -> core::result::Result<(), std::io::Error> {
                    T::serialize(&self.0.borrow(), writer)
                }
            }

            impl<T: AnchorDeserialize> AnchorDeserialize for Mutable<T> {
                fn deserialize(buf: &mut &[u8]) -> core::result::Result<Self, std::io::Error> {
                    T::deserialize(buf).map(|obj| Mutable::new(obj))
                }
            }


Adds mocked test helper for jest.mock typings

inlined doc:
The mocked test helper provides typings on your mocked modules and even their deep methods, based on the typing of its source. It make use of the latest TypeScript features so you even have argument types completion in the IDE (as opposed to jest.MockInstance).
Note: while it needs to be a function so that input type is changed, the helper itself does nothing else than returning the given input value.
Example
// foo.ts
export const foo = {
  a : {
    b: {
      c: {
        hello: (name: string) => `Hello, ${name}`,
      },
    },
  },
  name: () => 'foo',
}

// foo.spec.ts
import { mocked } from 'ts-jest'
import { foo } from './foo'
jest.mock('./foo')

// here the whole foo var is mocked deeply
const mockedFoo = mocked(foo, true)

test('deep', () => {
  // there will be no TS error here, and you'll have completion in modern IDEs
  mockedFoo.a.b.c.hello('me')
  // same here
  expect(mockedFoo.a.b.c.hello.mock.calls).toHaveLength(1)
})

test('direct', () => {
  foo.name()
  // here only foo.name is mocked (or its methods if it's an object)
  expect(mocked(foo.name).mock.calls).toHaveLength(1)
})

Closes #576

Pull Request Test Coverage Report for Build 1932

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 91.458%

Totals

Change from base Build 1929:
-0.03%

Covered Lines:
1029

Relevant Lines:
1076

💛  - Coveralls


Dynamically generate DbContext

Codecov Report

Merging #73 (77d1c0a) into main (a60528f) will decrease coverage by 4.59%.
The diff coverage is 0.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   38.65%   34.06%   -4.59%
==========================================
  Files          30       31       +1
  Lines         282      320      +38
==========================================
  Hits          109      109
- Misses        173      211      +38

Impacted Files
Coverage Δ

.../IncrementalGenerators/SqliteDbContextGenerator.cs
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Adds ftp and http hooks to transmission tasks

Http hook not working. Per mypy:
libsys_airflow/plugins/data_exports/transmission_tasks.py:43: error: Argument "data" to "run" of "HttpHook" has incompatible type
"bytes"; expected "dict[str, Any] | str | None"  [arg-type]
                hook.run(headers=connection.extra_dejson, data=marc_data)

So weirdly, when running this DAG, the mypy error with HttpHook.run did not occur:
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:36} INFO - Begin reading file /opt/***/data-export-files/pod/marc-files/2024030614.mrc for transmission
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:41} INFO - Start transmission of data from file /opt/***/data-export-files/pod/marc-files/2024030614.mrc
[2024-03-18, 21:51:50 UTC] {base.py:73} INFO - Using connection ID 'pod' for task execution.
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:45} INFO - End transmission of data from file /opt/***/data-export-files/pod/marc-files/2024030614.mrc
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:36} INFO - Begin reading file /opt/***/data-export-files/pod/marc-files/2024030712.mrc for transmission
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:41} INFO - Start transmission of data from file /opt/***/data-export-files/pod/marc-files/2024030712.mrc
[2024-03-18, 21:51:50 UTC] {base.py:73} INFO - Using connection ID 'pod' for task execution.
[2024-03-18, 21:51:50 UTC] {transmission_tasks.py:45} INFO - End transmission of data from file /opt/***/data-export-files/pod/marc-files/2024030712.mrc
[2024-03-18, 21:51:50 UTC] {python.py:183} INFO - Done. Returned value was: {'success': ['/opt/***/data-export-files/pod/marc-files/2024030614.mrc', '/opt/***/data-export-files/pod/marc-files/2024030712.mrc'], 'failures': []}


feat(ffe-radio-button-react): Allow node as label for RadioButtonInpu…

…tGroup
Fixes #522

Coverage remained the same at 81.121% when pulling b82c84300363aa2315544df023fcbe6d7bfaf2ad on ivarni:set-my-labels-free into 0a817913be6bb6d8e69455e01e612e9549c5aed6 on SpareBank1:develop.


Module 3 Week 2: Math Magicians testing

In this pull request following tasks were implemented

Jest testing for calculator and operator files.
Created unit tests for all React components.
Linters Fixed

Hello.
We have implemented the usage of Jest snapshots for testing all the components.


deleted text is stored in PRIMARY even when clipboard=unnamedplus

I would like to configure vim to only store the yanked/deleted text in CLIPBOARD and never touch PRIMARY, unless maybe via modeless selection. I would expect that "set clipboard=unnamedplus" or "set clipboard=unnamedplus,autoselectml" would provide the desired configuration, since neither "unnamed" nor "autoselect" are included in the option. However, this does not work as vim modifies both registers '*' and '+' when I delete text using d, x, s, c, etc.
A probably related issue is that deletion still modifies both registers when I set clipboard=unnamed,unnamedplus. This contradicts the documentation for "clipboard-unnamedplus" which says the following: «When "unnamed" is also included to the option, yank operations (but not delete, change or put) will additionally copy the text into register '*'.»
This is observed in Vim 8.0.322 as distributed in Debian's vim-gtk (huge version).

Possibly related? https://github.com/vim/vim/issues/264

Reason?  I'm afraid it has nothing to do with #264.

@nuko8 My fault!

I just stumbled across this issue. It's still reproducible in Vim 8.2.2560. It gets triggered when the a (autoselect) option is removed from 'guioptions':
good: Both yanks and deletes only affect the clipboard, but not the primary selection.
vim -g --clean --cmd 'set clipboard=unnamedplus' -c 'let @*="" | let @+="" | call append(0, [1, 2])'
:1yank
:reg *+
Type Name Content
  c  "*
  l  "+   1^J
:2delete
Type Name Content
  c  "*
  l  "+   2^J

bad: Yanks still only affect the clipboard, but the primary selection is updated on deletes or changes.
vim -g --clean --cmd 'set clipboard=unnamedplus,guioptions-=a' -c 'let @*="" | let @+="" | call append(0, [1, 2])'
:1yank
:reg *+
Type Name Content
  c  "*
  l  "+   1^J
:2delete
Type Name Content
  l  "*   2^J
  l  "+   2^J

So, after :set guioptions-=a, the documented behavior of :set clipboard=unnamedplus is broken. Likewise, with :set clipboard=unnamed,unnamedplus, the following is violated:

When "unnamed" is also included to the option, yank operations (but not delete, change or put) will additionally copy the text into register '*'.


📖 Manage database access within the AP UI

User Story
As a AP UI user
I need/want/expect to manage access to my databases
So that I can grant access to other users
Value / Purpose
No response
Useful Contacts
No response
User Types
No response
Hypothesis
If we... [do a thing]
Then... [this will happen]
Proposal
No response
Additional Information
No response
Definition of Done
Example - [ ] Documentation has been written / updated

[ ] README has been updated
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

This work is already being tracked in https://github.com/ministryofjustice/analytical-platform/issues/4748


[WIP] Modify PR validation tests to run in a container on openshift

NOTE: This pull request should not be merged until we are ready to stop using ci.openshift.redhat.com and have moved to using our own jenkins environment running on an openshift instance.
The three tests previously run to validate a pull request have been merged into a single test - pr_validation.py.
A Dockerfile has been added, as well as a buildConfig and a pod json. The image built will sleep forever when run, waiting for commands to be run on the container itself. A single environment variable is provided, TOOLS_PULL_ID, that is used by the pr_validation.py test. The test will reach out to github and pull all details for the pull request with the matching ID.
The container was designed to be created for a specific pull request, have something run pr_validation.py and consume the output, then have the container deleted. Specifically, this should be used alongside https://github.com/tiwillia/jenkins-test-pull-requests

Tests are expected to fail, since the current tests use scripts that will no longer exist with this PR


Add Support for Reading JSON Lines File

Description
The same way I parse json I would like to be able to parse jsonl. I understand that this might be quite niche, but I think it would be useful.
Use Case
We have log files at work that are .jsonl.  Those files are parsed and output to several different usecases. It would be cool to be able to generate pdfs from aswell using typst.

This seems to be like something that should be handled by a package.

I guess you are right. Now that I think about it I can probably just use the read function and split the string on each line and then parse it to json using json.decode.

Sounds good, then I'll close this.


Fixed minimum size broken due to changes in alpha11

Hey there!
This is a small fix for the dock not showing up properly in alpha11.
This is due to a property change in Control nodes, from minimum_size to custom_minimum_size.
Tested in Godot 4 alpha 11.

Thanks for noticing this. I made a few more small tweaks to some other UI elements that were broken for the same reason.


Ensure previous keywords can still be used to extract high time resolution footprints

PR #968 updated the default keyword for co2 footprints to be time_resolved rather than the previous high_time_resolution. All object stores created after this update will include the new keyword.
However, as this changes was incorporated after the breaking 0.8.0 release, we need to ensure backwards compatibility so that for any object stores created prior to this change, it is still possible to extract footprints labelled within high_time_resolution rather than time_resolved.

To accommodate this change, need to be able to make the search look for high_time_resolution="true" OR time_resolved="true" in the metadata.
For this one approach would be to allow and interpret a dictionary input which can be used to perform an OR search. For example pass:
option_time_resolved = {"time_resolved": "true", "high_time_resolution": "true"}
And use this to create multiple searches:
{"time_resolved": "true", ...}
{"high_time_resolution": "true", ...}
Would prefer being able to use a data class for this (see example below) but don't want to set this up so the user has to pass the dataclass to get the OR functionality described above:
@dataclasses.dataclass
class KeyOptions():
    data: Union[dict, list]

    def clean(self):
        if isinstance(self.data, dict):
            self.data = {k: clean_string(v) for k, v in self.data.items()}
        elif isinstance(self.data, list):
            self.data = [clean_string(v) for v in self.data]

        return self.data


docs: fix link to Fastify's inject

Checklist

[ ] run npm run test and npm run benchmark
[ ] tests and/or benchmarks are included
[X] documentation is changed or added
[X] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

thx


Reset Event

Hi,
I was wondering if it is possible to emit the "on-reset" event on the "CalendarDialog" as event in the DatePicker component so that whoever uses the DatePicker component can perform some additional actions on the reset event?
The 'on-reset' event is emitted from the CalendarDialog
    onClickButtonReset() {       this.selectedStartDate = null;       this.selectedEndDate = null;       this.isAllDay = false;       this.$emit('on-reset');     },
But once the "onReset" method of the DatePicker that listens to this event isn't emitting the event to the outside:
    onReset() {       this.selectedStartDate = null;       this.selectedEndDate = null;     }
I am using version 1.x as the VueJS version of my project is 2.x

hhhmm, a small change. i'll work on it maybe on weekend

Release on v1.6.0


Consider making a box model control

Consolidating the box model (margin, border, padding, width, height, etc) might make sense so all the controls related to a box are found in one place. having separate controls for each would require a long list of individual buttons and toggles.

i believe this is related to #97, but what i like about your request is putting things under the umbrella of the box model. do you think 97 covers what you're asking for in this issue? or is this issue more specifically about being able to toggle between border-box and content-box models?

I'm wondering whether this could be extended to include z-index to allow for easier stacking order changes.

hmmm, z-index would work nicely as part of the position tool? it hardly has any keyboard controls at the moment. want to log a separate bug about z-index? also.. lol, it's really only helpful to people who dont use values like 9999... that's be a loooot of keyboard pressing.

i could see a box model control just like chrome has today being part of the 'design tab' or '2nd screen experience' panels that #205 is trying to do? maybe i mistook the original intent of this issue earlier, and what it really wanted was the box model visual and feedback that you get from the devtools today. i do believe designers have found that useful.


1.2.0

This change is

Reviewed 143 of 143 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


DD/MM/YYYY Format dring Account Creation Accessed By Some via dosomething.org

Three users in ZenDesk have reported problems entering their birthday.
Two were accessing the site on iPhone:
one user: "The birthday i was putting in is 21/12/1999 it said to put day/month/year."
second user: "im using my iphone. my birthday is october 9 2001 and its telling me to use two letter for the month but im not sure what letters to use. i texted the number and when i said i couldnt send pictures from my phone it sent me to the website and when i ran into the issue, it told me to email you."
We've asked these two users where they are from and where their phones are from.
a third user sent in this screenshot of dosomething.org, but you see the date format is DD/MM/YYYY -- and the text around the DS site is in French.

confirmed that this is working on production. it was because #5262 wasn't deployed on production. it is now.


[Snapshot Interop][Bug Fix] Ensure lock file gets deleted if snapshot …

...shard md upload fails during snapshot creation.

Description

While working on another change, realized that in the following code, everything below snapshotRemoteStoreIndexShard call was not getting executed:
https://github.com/opensearch-project/OpenSearch/blob/829215c4a4660ee65026c40a0a01ebe100b3ee2c/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L427-L462

that was causing an issue where if shard md upload to snapshot repository fails, it will not release the lock file from S3.

as part of this PR, making sure those lines of code get executed even if shard md upload fails and adding IT to cover that scenario.

Also, Adding a log line to print the time taken in flush operation during snapshot creation and another minor change to filter lock files based on lock suffix while fetching lock files from lock directory.

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Test org.opensearch.search.sort.FieldSortIT.testSimpleSorts {p0={"search.concurrent_segment_search.enabled":"true"}} is failing which is flaky and being tracked as part of #11875 .

org.opensearch.cluster.coordination.AwarenessAttributeDecommissionIT.testConcurrentDecommissionAction is flaky: https://github.com/opensearch-project/OpenSearch/issues/12197

https://github.com/opensearch-project/OpenSearch/issues/13600
org.opensearch.indices.IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode {p0={"search.concurrent_segment_search.enabled":"false"}},
org.opensearch.indices.IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode {p0={"opensearch.experimental.feature.pluggable.caching.enabled":"true"}},
org.opensearch.indices.IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode {p0={"search.concurrent_segment_search.enabled":"true"}},
org.opensearch.indices.IndicesRequestCacheIT.testDeleteAndCreateSameIndexShardOnSameNode {p0={"opensearch.experimental.feature.pluggable.caching.enabled":"false"}}
https://github.com/opensearch-project/OpenSearch/issues/13939
org.opensearch.remotemigration.RemoteMigrationIndexMetadataUpdateIT.testRemoteIndexPathFileExistsAfterMigration:

org.opensearch.action.admin.indices.create.RemoteCloneIndexIT.testCreateCloneIndexFailure: https://github.com/opensearch-project/OpenSearch/issues/13476
org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock: https://github.com/opensearch-project/OpenSearch/issues/10006
org.opensearch.indices.IndicesRequestCacheIT.testStaleKeysCleanupWithMultipleIndices {p0={"opensearch.experimental.feature.pluggable.caching.enabled":"false"}}
org.opensearch.indices.IndicesRequestCacheIT.classMethod: https://github.com/opensearch-project/OpenSearch/issues/13437

org.opensearch.action.admin.indices.create.RemoteCloneIndexIT.testCreateCloneIndexFailure: https://github.com/opensearch-project/OpenSearch/issues/13476
org.opensearch.indices.IndicesRequestCacheIT.testCacheCleanupWithDefaultSettings {p0={"opensearch.experimental.feature.pluggable.caching.enabled":"true"}}
org.opensearch.indices.IndicesRequestCacheIT.classMethod: https://github.com/opensearch-project/OpenSearch/issues/13711

"that was causing an issue where if shard md upload to snapshot repository fails, it will not release the lock file from S3." - How is that happening ? https://github.com/opensearch-project/OpenSearch/blob/829215c4a4660ee65026c40a0a01ebe100b3ee2c/server/src/main/java/org/opensearch/snapshots/SnapshotShardsService.java#L438-L462
The above block is doing exactly that

The above block is doing exactly that

not really, the problem was that caller method snapshotRemoteStoreIndexShard was catching the exception and passing it with listener.onFailure() method. so the catch block where we were releasing lock will never get executed. just moved that code to onFailure() method. so that it will get executed.


Enable EventMesh Backend

Enable EventMesh backend for Eventing Manager. We'll have one controller in Eventing Manager.
Backend switching is excluded as it'll be implemented in separate issues. The prerequisite is implementation of subscription in nats mode https://github.com/kyma-project/eventing-manager/issues/8
Steps:

Create EPP for EventMesh Mode (logic is copied into eventing-manager, probably needs to be improved)
Start Subscriber for EventMesh Mode (EC package is imported and called)

Acceptance Criteria

[ ] Eventing Manager should work in EventMesh mode

Please demo it!


bug(cdkTextareaAutosize): not showing the text in textarea until I wrote in it

Is this a regression?

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

The previous version in which this bug was not present was
12.2.13
Description
When I open a textarea with some text in it I don't show the text until I write something in the textarea
        <mat-form-field fxFlex>           <mat-label i18n>Commentaire</mat-label>           <textarea matInput cdkTextareaAutosize formControlName="Commentaire" autocomplete="off" maxlength="200"></textarea>         </mat-form-field>
Reproduction
Steps to reproduce:

Save some text in textarea and close the form
Open in edit and cannot read the text until I wrote something

Expected Behavior
We need to see the text
Actual Behavior
Nothing
Environment

Angular: 13.3.3
CDK/Material: 13.3.3
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows

Can you add a StackBlitz with your example?

I can't because Angular on stackblitz is not on the last version

I can't because Angular on stackblitz is not on the last version

It's difficult to investigate without a repro. You can fork this Stackblitz which is at the latest version https://stackblitz.com/edit/angular-vfnn6m?file=package.json.

Same for me

Closing this issue due to no recent activity, if this is still an issue please create a new issue with a reproduction.


Encoding libraries bindings

Besides already implemented libopusfile/libvorbisfile there is libopusenc and libvorbisenc (vorbisenc.c/vorbisenc.h) which are high-level helper libraries for encoding opus/vorbis streams.
Is this possible to add bindings for them too?

It should now be possible to use both, however I couldn't try them out, so please let me know if there are any issues.
It might crash upon loading libopusenc, because some of the methods are not present in the library.


"Changes to trip pattern stops must be made one at a time" when importing from TransitWand

I'm experimenting with TransitWand + GTFS-editor right now and I can get it all running, but when I bring in a pattern from TransitWand (id 104204) I get this Exception.
The geometry and stop locations show up correctly, but when I try to add them to the route then I continually get this exception and none of the travel and dwell times seem to save.

Stacktrace if it helps:
java.lang.IllegalStateException: Changes to trip pattern stops must be made one at a time
	at models.transit.TripPattern.reconcilePatternStops(TripPattern.java:446)
	at controllers.Api.updateTripPattern(Api.java:557)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:557)
	at play.mvc.ActionInvoker.invoke(ActionInvoker.java:508)
	at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:484)
	at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:479)
	at play.mvc.ActionInvoker.invoke(ActionInvoker.java:161)
	at play.server.PlayHandler$NettyInvocation.execute(PlayHandler.java:251)
	at play.Invoker$Invocation.run(Invoker.java:278)
	at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:229)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

This message occurs when the controller can't figure out how stops have been moved around. I'm not that familiar with transitwand import; looks like what's happening is that it creates a trippattern and then tries to put stops into it. I need to rewrite this code as part of #166, so I'll add a check for this situation.

I think this should be fixed with latest master, which does not use Postgres at all. Note that there currently isn't a migration tool other than exporting and reimporting GTFS (or just reimporting the GTFS you started with). Feel free to reopen if it isn't.


CLI Documentation

We need to create and build some sort of documentation regarding the CLI and its basic and advances usage.
Ideally something that can used on the CLI but also in the online form in Markdown.

For many command-line users, one of the most used documentation, is the software's manpage, we can use a library like go-md2man, to convert our markdown documentations to man format.

We can use cobra/doc to automate docs generation in markdown and man for cli.


rfc-vibe:0.1.0

I am submitting

[ ] a new package
[x] an update for a package

Description: I'm so sorry about the churn.. forgot to include the updated thumbnail in the last update.

No worries, thanks for the update :)


Typescript 1.8.4 / 1.8.6 installation issues for VS 2015 Update 2

I'm having trouble installing TypeScript 1.8.4 or 1.8.6 for VS 2015 Update 2. I tried following the steps on this issue without any luck: https://github.com/Microsoft/TypeScript/issues/7519
I have installed:

TypeScript Tools for Microsoft Visual Studio 2015 <IP_ADDRESS>
then
TypeScript Tools for Microsoft Visual Studio 2015 <IP_ADDRESS>

Windows shows that it installed:

My VS 2015 doesn't show TypeScript as being installed:

As a result, TS syntax highlighting doesn't work:

Also, Text Editor options doesn't detect TypeScript at all:

Installer logs:
installer logs.zip

Noticed that this folder doesn't contain a TypeScript folder: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft

TypeScript is already bundled with VS 2015 Update 2. you should get TS 1.8.30 out of the box. TS 1.8.4 and TS 1.8.6 are not compatible with VS 2015 Update 2. If you want to downgrade, you need to uninstall Update 2.
what is the reason for downgrading, if i may ask?

The missing folder in my last comment was the issue in the end. I tried using Update 3 RC with TS 1.8.6. Due to bugs (compile on save for example)  I tried downgrading to Update 2, which proved disastrous. The fresh install did not install TS 1.8.3 correctly, which I assume ships with Update 2. All in all, I got it working in the end.


How to update a custom duration for segmentedprogress and to update progress as well?

I am also getting same issue
i have a multiple story and each story have a video. each video have a different time duration.

I am also getting same issue
i have a multiple story and each story have a video. each video have a different time duration.

https://github.com/sashabaranov/SegmentedProgressBar/commit/6542b5feeea916a35af760e350114acaecc70545

https://github.com/sashabaranov/SegmentedProgressBar/commit/6542b5feeea916a35af760e350114acaecc70545

@shrykg  can we update time ruration run time  for example, when user come to the second story at that time update that index time duration

@ubrainrepo yes you can. For that in next() function in SegmentedProgressBar move line :
self.delegate?.segmentedProgressBarChangedIndex(index: newIndex)above self.animate(animationIndex: newIndex).
Then in your delegate method : func segmentedProgressBarChangedIndex(index: Int) change the desired index in durations array. Like : segmentBar?.durations[index] = videoDuration


ubuntu-14.04 - Update Node.js to Latest Version

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-an-ubuntu-14-04-server

Actually, these instructions for older distributions need to be used: https://github.com/nodesource/distributions


(java): added 'strictfp' to storage modifiers

fixes #36

I retrieved latest java tmLanguage from https://github.com/microsoft/vscode/blob/master/extensions/java/syntaxes/java.tmLanguage.json and it includes strictfp. Still, thanks a lot 🙏


Add cairo-test plugin to Scarb.toml manifest on new

@THenry14
If you create a new package and run scarb test inside, it will try to run tests with cairo-test. As of now it will also fail to do so, as there is no cairo_test dependency in a newly created package.


badges and icons

@williamdlees brought up a good idea at AIRR meeting, to create some badges for software tools and website to show. This naturally led into discussion about an icon for the AIRR community, @matsen suggested the one at B-T.CR, which as a nice mix of TCR and BCR. Marie-Paul suggested the icon should reflect the "AI" (adaptive immunity) in AIRR. Anybody interested in making them? Other ideas?

Just wanted to confirm that iReceptor is no longer using the B-cell logo (the Y logo) that is on the AIRR website and the github pages. You may recall that iReceptor and the AIRR Community were using the same logo 8-)
iReceptor has changed its logo (see gateway.ireceptor.org for the new logo) so the AIRR Community is free to use the Y logo as it sees fit.
Just wanted to officially confirm that the Y logo is no longer being used by iReceptor...
Brian

For inspiration and play: https://shields.io/category/platform-support

works for me...


Update download-images-from-private-registry.md

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Merging this without peer review, simply fixing a typo

Preview environment: https://hdh.pr.harness.io/pr-833


Handle reconnection to coordinator broker

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: 574d3147eee384229bf96a5d12c207fe7b5234f3
Kafka Version: <IP_ADDRESS>
Go Version: 1.7
Configuration
config.Net.KeepAlive = 2 * time.Second
Otherwise, pretty much default configuration. Note that the problem happens both on TLS+SASL connection and direct connection.
Logs
Error on broker.FetchOffset(request) - raised forever after the first time:

time="2017-03-30T20:38:09Z" level=error error="write tcp <IP_ADDRESS>:60842->brokerip:9092: write: broken pipe"

Sarama logs before the error above (nothing particular):

2017/03/30 20:38:09 client/coordinator coordinator for consumergroup myconsumergroup is #3 (myurl:9092)
2017/03/30 20:38:09 client/coordinator requesting coordinator for consumergroup myconsumergroup from brokerip:9092
2017/03/30 20:38:09 client/metadata fetching metadata for [mytopic] from broker brokerip:9092

Problem Description
I'm regularly (every 30sec) polling Kafka with a FetchOffsetRequest that I manually build, to retrieve my topic's offsets, for monitoring purpose, using the same sarama client as my producer and consumer. It works very well.
However, from time to time the FetchOffsetRequest fails with a "write tcp <IP_ADDRESS>:60842->brokerip:9092: write: broken pipe" error. Starting this point, the FetchOffsetRequest which I perform every 30 sec will always fail with the same error.
Something interesting I noticed: the local port in the error message (60842 on the log above) is always the same for all error logs I get after the first one. Somehow I would expect that this local port would change after the first error (tcp reconnection?).
Below is the code that gets executed every 30sec:
	err := h.saramaClient.RefreshMetadata(h.config.Topic)
	if err != nil {
		log.WithError(err).Error("Fail to refresh metadata")
		return
	}
	partitions, err := h.saramaClient.Partitions(h.config.Topic)
	if err != nil {
		log.WithError(err).Errorf("Fail to retrieve partitions for topic %s", h.config.Topic)
		return
	}
	if len(partitions) == 0 {
		log.Errorf("We got 0 partitions for topic %s", h.config.Topic)
		return
	}
	err = h.saramaClient.RefreshCoordinator(h.config.ConsumerGroupID)
	if err != nil {
		log.WithError(err).Errorf("Fail to refresh coordinator for consumer group %s", h.config.ConsumerGroupID)
		return
	}

	// retrieve consumer group coordinator
	broker, err := h.saramaClient.Coordinator(h.config.ConsumerGroupID)
	if err != nil {
		log.WithError(err).Errorf("Fail to get consumer group coordinator for %s", h.config.ConsumerGroupID)
		return
	}

	// build OffsetFetchRequest with a block for each partition
	request := new(sarama.OffsetFetchRequest)
	request.Version = 1
	request.ConsumerGroup = h.config.ConsumerGroupID
	for _, p := range partitions {
		request.AddPartition(h.config.Topic, p)
	}
	response, err := broker.FetchOffset(request)
	if err != nil {
		log.WithError(err).Errorf("Fail to perform OffsetFetchRequest for topic %s", h.config.Topic)
        }

This last error is the one that raises forever after the first occurence.
A workaround for this problem that I'm using right now is to manually call broker.Close() and broker.Open() on the broker I got from client.Coordinator(), before the call to broker.FetchOffset().
Maybe that's just normal behaviour and I must handle reconnection myself? Note that I do not have any reconnection problem in my producer & consumer code.

The broker objects usually don't manage their connection; we do that in the Client object. We do this because in many cases we prefer asking a different broker rather asking the same broker again.
E.g. Client closes the connection after an error, which causes us to re-start the connection if that broker instance gets used again.
Unfortunately we don't really have a high level API to fetch the offset for a consumergroup on Client (yet), but we do use these APIs in our high level OffsetManager. But I don't think the OffsetManager is really what you're looking for for your use case.
The simplest solution for your example would be to Close() the Broker in case you see an error, and always call Open() before using it. Or better, every time you see an error, assume the Broker is down, and the coordinator may have changed, and call RefreshCoordinator().

Thanks for your quick and detailed answer. It makes sense, I'll do what you suggest in the error case. I consider this issue solved :)

Cool, in the future we may want to add higher level APIs for this use case, but for now the workaround will have to do/


Dial-in users are not recorded

There should be a caveat to this document that indicates that a dial-in user is not recorded on the MP4 artifact.  There should be some explanation as to why?  It is curious that when dialed-in, the IVR announce that the recording has started/stopped...Yet the telephone joiners are not actually recorded.

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

ID: fc7d1bd2-f89d-4ae6-d5e3-a226b7039237
Version Independent ID: e86b7c7b-a3d8-9e89-96f9-5d5415d8205d
Content: Let people record their audio and video conferences
Content Source: Skype/SfbOnline/set-up-skype-for-business-online/let-people-record-their-audio-and-video-conferences.md
Service: skype-for-business-online
GitHub Login: @tonysmit
Microsoft Alias: tonysmit

@officedocsbot assign @scanum

@cistaroj  - thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:  https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.

@officedocsbot close


[Chinese Version]Section 5.1 5.2 5.3 hyperlinks not working

see title

Hyperlink to section 6 is is still lacking.

#193


Fix deps

What this PR does / why we need it: This switches from glide to dep for dependency management of the ext-apiserver directory.
Special notes for your reviewer: The first commit is the changes in the configuration files. The second commit is the result of running dep ensure.

@kubernetes/kube-deploy-reviewers

/assign @jessicaochen @medinatiger

/lgtm


Create a service to send emails

Use the Mailing Service create a REST api that will get the type of the mail and go to the mapped template of it and bind data that will be sent and send the invitation mail to the recipient email, with a link to subscribe to the list as fast as he signup.
Make sure to test it first on Postman.

Duplicated


mbtiles over https?

I don't now, if im writting here to the wrong Forum, but please, i such need help.
Im searching vor a Tilesserver, that can serve the Maps from the osm2vectortiles.mbtiles over HTTPS.
I hope you can help me.
I've found no posibility to get the tilesever-gl working over https.

You could always reverse proxy: https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension

TileServer GL runs behind HTTPS very well. We use it always on deploy.
See for example: https://demo.tileserver.org/
Relevant:
http://tileserver.readthedocs.io/en/latest/deployment.html#running-behind-a-proxy-or-a-load-balancer


Error retrieving Drive Information

Pocket Updater v1.1.0
Upon clicking "Update Pocket" I am immediately greeted with an "Error!" window stating "Error retrieving Drive Information".
Clicking "OK" brings me to the "Update Location:" setting.
"Current DIrectory" works as expected but "Removable Storage" has no options to choose from. Clicking the green refresh button immediately pops up the original error message again.  This happens 100% of the time and on every launch of the updater, regardless of whether or not removable storage is inserted in my PC via USB, built-in SD reader or not at all.
The PC I am using is a WIndows 10 Professional desktop on a corporate domain. I am the admin of both the PC and the domain so it is not an account rights issue. The PC has 13 drive letters in use (not counting those used by removable drives). 11 letters are assigned to local hard disks and two are mapped network drives. Removable media like SD cards or thumb drives when inserted generate additional drive letters.
Other software (both commercial and not) that specifically tries to point you to or limit you to removable media works as expected. Examples are SD Card Formatter, Etcher, Ultimaker Cura (auto redirect to devices detected as removable media when inserted), and a couple .NET apps that are specifically for manipulating SD card data only and completely ignore non-removable disks.
Sorry for the excessive info, wasn't sure if any of that would make it easier to track down the problem or not.  😄
Thanks so much for the awesome app!

I have the same issue on my PC, but using Windows 11 Pro. My drive setup is 3 internal drives, 5 SMB network shares, 1 DVD drive, multiple removable drives that generally aren't connected, and the Pocket MicroSD is connected to my PC via a Kingston Multi cardreader, also only occasionally connected.
I've tried two slots on Kingston card reader, too. Directly in the MicroSD slot and in the SD slot via adapter, I get the same error message for both.
Updating everything locally to where the exe is located works perfectly fine.

Someone just submitted a PR to fix this. I'll create a test build for you both to test and confirm that it works.

@NeitherMeNorYou @esmith13 Please try the Test build below to see if the PR fixes the issue and let me know when possile.
https://gofile.io/d/oZchfi

@RetroDriven I was able to successfully update the cores on my setup with the test file, it found the MicroSD without any issues.

@RetroDriven I was able to successfully update the cores on my setup with the test file, it found the MicroSD without any issues.

Excellent! Thanks for the quick test and feedback.
@esmith13 Can you test and confirm this as well please?

@RetroDriven confirmed working as expected for me as well! Thanks so much!

@RetroDriven confirmed working as expected for me as well! Thanks so much!

Perfect! @LoneBoco boot me to fixing this issue so all the credit goes there.


Added Hazelcast cluster config(seed)

Description
Testing

[ ] Unit, integration tests

Documentation

[ ] Changelog update
[ ] Documentation link

LGTM

+1


Hyperlink function not working correctly in BC Web Client

Description:
The Hyperlink function is working differently between Windows Client and Web Client.
When trying to open a Word document using the Protocol Handler functionality (ms-word:ofe) the Windows Client works perfectly fine and opens the document, the Web Client tries to prefix the link with the Web Client's base address.
Reproduce:
Make some dummy code that executes the Hyperlink function with a URL in this format:
'ms-word:ofe|u|file://[share]/filename.docx'
Try running it from both a Windows and a Web Client. The Windows Client nicely opens the document, the Web Client won't.
Expected Behaviour:
That both the Windows and The Web Client nicely open the document.
Screenshots

Versions:
13.0.27183

Hi! Let's get the issue to a team who will fix and backport it, as this repo is only for issues related to the latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.

I am testing with version 17.0.16993.0 and if you use hyperlink with a file, for example Hyperlink ('file: /// C: /TestDes/Fichero10.pdf');
It doesn't work, if you use a normal address it does.
Does anyone know why this happens and how to solve it?

Hi,
i have the same problem. I try to open a local file in web client.
Earlier, i used Hyperlink('C:/Temp/test.pdf'), but this doesn't work in webclient. Is there a possibility to open a local file in Web client? Maybe in an extra tab or something else.
Thanks a lot.

You cannot. It's been always like that in the web client.
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/system/system-hyperlink-method#remarks
What does work: pasting such links manually into a new browser tab. Text files will be displayed instantly, but other file types will require a download (with confirmation) first.


checklist-value can be a function?

<input type="checkbox" name="radio1" checklist-model="ngModel" checklist-value="itemData(item,sku)">
error:
Error: $rootScope:infdig Infinite $digest Loop 10 $digest() iterations reached. Aborting! Watchers fired in the last 5 iterations: [[{"msg":"fn: getChecklistValue","newVal":{"item":{"item_id":1,"company_id":160417265,"outer_id":"111111","cid":1,"title":"111111","shape_id":40,"unit_id":43,"volume_unit_id":47,"weight_unit_id":54,"volume":2222,"weight":100,"stocks_warning":11,"created_at":"2016-04-17T10:34:16.000Z","desc":"<p>12311111111111111111111111111

Could you please build an example on plunkr, jsfiddle or something similar?

I will close this for now, but please do come back with an example.


Add meta-mali to Odroid-XU3/4

Add the Meta-mali layer to Odroid XU4, so we get some GPU tastyness...
relevant repo:
https://github.com/ARM-software/meta-mali

This issue was moved to resin-os/resinos#44


chore: add CLOSER_RELEASE_JOIN_DATE heuristic as a dependency of SUSPICIOUS_SETUP

Right now the CLOSER_RELEASE_JOIN_DATE heuristic in the mcn_detect_malicious_metadata_1 check does not depend on any other heuristic results. However, all the heuristic combinations require the CLOSER_RELEASE_JOIN_DATE heuristic to fail. This PR adds the CLOSER_RELEASE_JOIN_DATE heuristic as a dependency of SUSPICIOUS_SETUP to avoid running SUSPICIOUS_SETUP analyzer unnecessarily and improve performance.

For this Heuristic - https://github.com/oracle/macaron/blob/5c2dbec369528e47fb2272a3f97852287ba75397/src/macaron/slsa_analyzer/checks/detect_malicious_metadata_check.py#L116-L126
If SUSPICIOUS_SETUP passes, it would mean that CLOSER_RELEASE_JOIN_DATE will be SKIPPED. This means that we will miss this heuristic combination.

For this Heuristic -
https://github.com/oracle/macaron/blob/5c2dbec369528e47fb2272a3f97852287ba75397/src/macaron/slsa_analyzer/checks/detect_malicious_metadata_check.py#L116-L126
If SUSPICIOUS_SETUP passes, it would mean that CLOSER_RELEASE_JOIN_DATE will be SKIPPED. This means that we will miss this heuristic combination.

That's how the heuristics work and this scenario should not be possible. If heuristic A depends on heuristic B with result R, A will only run if B runs and returns R. With the change in this PR, SUSPICIOUS_SETUP will depend on CLOSER_RELEASE_JOIN_DATE. So, only if CLOSER_RELEASE_JOIN_DATE passes, SUSPICIOUS_SETUP will run, and will be skipped otherwise.

Ah I see. Thanks for the clarification, I looked at the PR description

This PR adds the CLOSER_RELEASE_JOIN_DATE heuristic as a dependency of SUSPICIOUS_SETUP to avoid running SUSPICIOUS_SETUP analyzer unnecessarily and improve performance.
And I thought that we are planning to make CLOSER_RELEASE_JOIN_DATE a children of SUSPICIOUS_SETUP.


how to convert cv::mat to open::videostream

Hello everyone
I want to convert a series of opencv format pictures to oni files , I have no ideas how to make it. I have looked the source code, I only know how to convert cv::mat to VideoFrameRef, but the point convert cv::mat to open::VideoStream I still don't know.
Thank you very much！

Hi!
Could you point me to the documentation you used to convert a cv::Mat to openni::VideoFrameRef?
Thank you!

https://kheresy.wordpress.com/index_of_openni_and_kinect/documents-of-openni-2-x/
this may help you


Shortcodes are not working

If there is nothing but only shortcode, it returns an error.
mymusic.md

{{< soundcloud >}}

but it works when I put any text.

I love hugo!
{{< soundcloud >}}

Hugo version: hugo_0.30.2
Error:

Started building sites ...
ERROR 2017/11/08 22:18:35 failed to parse page metadata for "work/mymusic.md": invalid character '{' looking for beginning of object key string
Error: Error building site: Errors reading pages: Error: failed to parse page metadata for "work/mymusic.md": invalid character '{' looking for beginning of object key string for mymusic.md

/layouts/shortcodes/soundcloud.html

Please use https://discourse.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.

@bep Maybe you should create a "read the README/docs" label? The issue just before this one: #4065.  Where is the "sigh" emoji?

@bep
Are we sure this isn't a bug or a feature request? I would also like to put a shortcode at the top of my post but can't.

What we are sure of is, that it's not explicitly explained. there is no sample for mymusic.md and mymusic.md is not a feature of Hugo that anyone would know about. It's also an issue from 2017. Lastly: "I would also like to put a shortcode at the top of my post but can't." does neither explain any issue nor does it have any correlation to the original issue.
Go to discourse.gohugo.io. Add a post. Explain what you want to do and how you try it and how it "fails" or make you "can't do" it.
You need to understand that THIS is a bug tracker for real existing bugs and not for support requests.

@davidsneighbour
I didn't think I had to explain it, @Monsterovich already did...

You need to understand that THIS is a bug tracker for real existing bugs and not for support requests.

YOU need to understand THIS:

If there is nothing but only shortcode, it returns an error.
{{< soundcloud >}}

but it works when I put any text.
I love hugo!
{{< soundcloud >}}

For anyone else that is coming here for this BUG the workaround is:
---
---
{{ yourShortcode }}

Yup...it's a bug and @shadycuz's fix works great.  @davidsneighbour not sure why you are so salty with people just asking for help but hope your day starts going better.

@shadycuz & @n8behavior,

There are few Hugo contributors.  With Hugo's relative popularity, it can be difficult to keep up with Github issues, especially when some are not real or reproducible bugs.  We prefer to flesh out potential issues in the forums in order to keep Github cleaner, which often feels like rolling a stone uphill.  Which can lead to...
Saltiness.  Sorry about that.  We mean well.  I'm sure @shadycuz meant well in return.  :smile:
Please don't comment on closed issues.  If we don't reopen the issue (as is happening here), your comment can get lost. Open a new issue and reference the old one.
Lastly, I'm unable to reproduce this issue.  If you can create a reproducible scenario with the latest version of Hugo, report the issue in the forums and ask for confirmation from others.  If we can't reproduce it, we're in danger of violating 1 and 2 above.  :wink:


Dark mode

Hello!
Is there a way to update (re-render) a widget on the dark/light mode change?

Hi,
I'm not sure if there is a way to know when the dark/light mode is changed while the app is in the background.
I'll investigate when I have some free time.

As far as I could find, there is no way to listen to light/dark theme change from the background.
I know some widgets can change their view when dark/light mode is changed, but that is done using separate xml layouts for light and dark mode.
I tried that, but onUpdate is never called, so we cannot trigger a rerender of the widget.
I'll close this since it is not possible (or I couldn't find a way), but feel free to reopen it if you find a way and I can try to implement it.


1.21 Fabric Crashed

If I enable the mod, the game will crash.
Crash Report-2024-7-10_20.35.52.zip

same

Duplicate of #2


voice recognition to be an option, with typing the default

As a fisherman I would like voice recognition to be an option, with typing the default https://github.com/StAResComp/sifids/issues/6

Could - definitely have typing / touch screen the default entry method

Not explicitly included in the app, but operating system may enable dictation.


Textinput causes "Access a signal or memo outside a reactive tracking context" warning

Is this expected? I'm new to leptos. To reproduce, just cargo run on the widget gallery example.
At src/views/text_input.rs:326:14, you access a signal or memo (defined at examples/widget-gallery/src/inputs.rs:14:16) outside a reactive tracking context. This might mean your app is not responding to changes in signal values in the way you expect.

Here’s how to fix it:

1. If this is inside a `view!` macro, make sure you are passing a function, not a value.
  ❌ NO
{x.get() * 2}

  ✅ YES
{move || x.get() * 2}

2. If it’s in the body of a component, try wrapping this access in a closure:
  ❌ NO  let y = x.get() * 2
  ✅ YES let y = move || x.get() * 2.

3. If you’re *trying* to access the value without tracking, use `.get_untracked()` or `.with_untracked()` instead.
At src/views/text_input.rs:326:14, you access a signal or memo (defined at examples/widget-gallery/src/inputs.rs:14:16) outside a reactive tracking context. This might mean your app is not responding to changes in signal values in the way you expect.

I can reproduce with this minimal code snippet:
struct Repro {
    id: Id,
    text: RwSignal<String>,
    child: TextInput,
}
fn repro() -> Repro {
    let cx = AppContext::get_current();
    let text = create_rw_signal(cx.scope, "Hello World!".to_string());
    let id = cx.new_id();
    let mut child_cx = cx;
    child_cx.id = id;
    AppContext::save();
    AppContext::set_current(child_cx);
    let child = text_input(text);
    AppContext::restore();
    Repro { id, child, text }
}

impl View for Repro {
    fn id(&self) -> Id {
        self.id
    }

    fn child(&mut self, id: Id) -> Option<&mut dyn View> {
        if self.child.id() == id {
            Some(&mut self.child)
        } else {
            None
        }
    }

    fn children(&mut self) -> Vec<&mut dyn View> {
        vec![&mut self.child]
    }

    fn debug_name(&self) -> std::borrow::Cow<'static, str> {
        "Repro".into()
    }

    fn update(&mut self, _cx: &mut UpdateCx, _state: Box<dyn std::any::Any>) -> ChangeFlags {
        ChangeFlags::empty()
    }

    fn layout(&mut self, cx: &mut LayoutCx) -> Node {
        cx.layout_node(self.id, true, |cx| vec![self.child.layout_main(cx)])
    }

    fn compute_layout(&mut self, cx: &mut LayoutCx) -> Option<Rect> {
        Some(self.child.compute_layout_main(cx))
    }

    fn event(&mut self, cx: &mut EventCx, id_path: Option<&[Id]>, event: Event) -> bool {
        self.child.event_main(cx, id_path, event)
    }

    fn paint(&mut self, cx: &mut PaintCx) {
        self.child.paint_main(cx);
    }
}

fn main() {
    floem::launch(repro);
}

If I convert all of the with() calls to with_untracked(), the warning goes away. I think it'd make sense to do this since all of those calls occur outside of a create_effect (create_effect is what I presume would be considered a "reactive tracking context")
I'll create a PR.
fix_text_input_warnings.patch


404 Invalid URL (POST /v1/chat/completions)

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
Hello all, between 2024-09-15 06:01pm and 2024-09-15 10:00pm we encounter 404 Invalid URL (POST /v1/chat/completions) errors in our logs. Before and after this specific time window all seems fine. I am searching what caused this problem. There is an incident report on 13th September. Also I checked that there is no report or annoucement or api down detection on 15th September  If you can explain what is the main reason I would be appreciated.
To Reproduce
const openaiClient = new OpenAI({
            apiKey: "apikey",
            timeout: 3 * 60 * 1000,
            maxRetries: 2,
 });
 const response = await openaiClient.chat.completions.create({
                model: 'gpt-4o',
                messages: [{ role: 'user', content: 'Hello gpt' }],
});

Code snippets
No response
OS
Ubuntu
Node version
Node v20.12
Library version
4.52.2

Hi there! Sorry to hear you ran into issues with the API this weekend.
We didn't have an incident recorded on 9/15, so either we missed something on our end with monitoring, or there could have been something specific to your account and configuration. It will probably require a bit of back-and-forth to get to the bottom of things. Could you use the Intercom chat widget on help.openai.com to start a conversation with our support team? They will be equipped to debug this with you in the context of your account.
I am going to close this issue for now, since this problem is unlikely to involve the actual Node SDK.
Thanks,
-Kevin

help.openai.com

Thanks @kwhinnery-openai 🚀


[core] Add cache for snapshots in CachingCatalog

Purpose

Considering that all snapshot files are immutable, we are considering adding cache to them. It is safe to cache them in Table Object.

Tests

API and Format

Documentation

mark!


Fix #94: wavefront sensor fixes

WavefrontSensor tests are fixed. Now doing ndiff to test float outputs and WavefrontSensor updated to use laser_pulse.num_sig_trans instead of laser_pulse.sigma_cutoff

Looks good to me!


use model test single video

If I want to test a single video with this model, how should I write the code.

See if it helps you. You will need to change the capture mode, instead of webcam loading a video file.
https://github.com/kenshohara/3D-ResNets-PyTorch/issues/221#issuecomment-699499896


Language integrity

Description
Case 1
If you update Shopware and a migration is running, e.g. Migration1575021466AddCurrencies it's necessary that you have languages for the locales de-DE and en-GB.
Of course that's not necessarily the case, we have neither german nor english in the shop configured.
Not sure what would happen with other migrations if they try to add translations for unused languages, but I assume that would also break.
In MigrationCommand.php line 105:

  Migration error: An exception occurred while executing 'INSERT INTO currency_translation (currency_id, language_id, short_name, name, created_at) VALUES (?, ?, ?, ?, ?)' with p
  arams ["\x07\x29\x0a\x6d\xbb\x55\x42\x0a\x87\x33\x30\x54\x6a\xd2\x83\x52", false, "NOK", "Norwegische Kronen", "2020-01-27 09:44:21.000"]:

  SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`dev_at`.`currency_translation`, CONSTRAINT `
  fk.currency_translation.language_id` FOREIGN KEY (`language_id`) REFERENCES `language` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

This is because this migration selects the id for a language for the locale de-DE which doesn't exist and is therefore null. That fails the foreign key constraint.
Case 2
Also when using theme:refresh it assumes that the languages for the translations of the themes are present. The upsert action on the theme entity requires the specified languages to be present.
Case 3
Having a system language fr-FR causes the plugin:refresh command to do this:
11:50:06 ERROR     [console] Error thrown while running command "plugin:refresh". Message: "There are 1 error(s) while writing data.\n\n1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b" ["exception" => Shopware\Core\Framework\DataAbstractionLayer\Write\WriteException^ { …},"command" => "plugin:refresh","message" => """  There are 1 error(s) while writing data.\n  \n  1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b  """]
[2020-01-27 11:50:06] console.ERROR: Error thrown while running command "plugin:refresh". Message: "There are 1 error(s) while writing data.  1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b" {"exception":"[object] (Shopware\\Core\\Framework\\DataAbstractionLayer\\Write\\WriteException(code: 0): There are 1 error(s) while writing data.\n\n1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b at /app/vendor/shopware/platform/src/Core/Framework/DataAbstractionLayer/Write/WriteContext.php:41)","command":"plugin:refresh","message":"There are 1 error(s) while writing data.\n\n1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b"} []

In WriteContext.php line 41:

  There are 1 error(s) while writing data.

  1. [/4/translations/2fbb5fe2e29a4d70aa5854ce7ce3e20b] Translation required for system language 2fbb5fe2e29a4d70aa5854ce7ce3e20b

The TranslationsAssociationFieldSerializer requires the insertion of an entity to contain a translation for the system default language. In this case that would be fr-FR but almost no theme or plugin contains translations for fr-FR. Therefore you can't use them.
Case 4
If a user modified the language 2fbb5fe2e29a4d70aa5854ce7ce3e20b to another locale (which is possible in the administration). All plugins need to have translations for this new locale. The UUID is hardcoded in the administration core/shopware.js.
Possible Solution
Don't assume languages or locales when dealing with translations.
Additional context

This has been fixed meanwhile

This has been fixed meanwhile


Remove Maximum Nuclear Operative Count

About the PR

没有限制的核特工，他们很糟糕
Removed maximum count of nuclear operatives- it's bad.
Causes big issues on high pop.
Why / Balance

Technical details

Media

Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl: 圓周率覆盆子314

tweak: Removed the arbitrary nukie limit, high-pop nukies should have a chance now.

Summary by CodeRabbit

New Features

Introduced new game rules and entities, including InactivityTimeRestart, MaxTimeRestart, and Sandbox.
Added new antagonist roles: TraitorDynamicMedium and TraitorDynamicHigh, enhancing gameplay diversity.
Updated respawn timing in DeathMatch31 from 10 seconds to 5 seconds.

Bug Fixes

Commented out the max parameter for the Nukeops entity, indicating potential adjustments in player limits.

Documentation

Enhanced comments for clarity on game rules and entity functionalities.

@a-person5660 That's literally all this PR does. Literally the entire PR. How did you not comprehend this.

@a-person5660 That's literally all this PR does. Literally the entire PR. How did you not comprehend this.
PR is titled: "Remove Maximum Nuclear Operative Count"
mentions nothing of a minimum cap :trollface:


Can't set config installDir with dockerimage

This is most likely user error, but I'm not able to set the installDir config option when using dockerimage.
It's using the default installDir of : /root/.local/share/NeverwinterNights/modules/
I tried to set with config,  config --global and config --local but isn't taking.  See below:
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest unpack
      Error: Cannot unpack /root/.local/share/Neverwinter
         ... Nights/modules/darksun_dev.mod: file does not exist
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest config installDir "~/nwn/darksun/"
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest unpack
      Error: Cannot unpack /root/.local/share/Neverwinter
         ... Nights/modules/darksun_dev.mod: file does not exist
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest config --global installDir "~/nwn/darksun/"
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest unpack
      Error: Cannot unpack /root/.local/share/Neverwinter
         ... Nights/modules/darksun_dev.mod: file does not exist
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest config --local installDir "~/nwn/darksun/"
[user@ice3:~/nwn/darksun/darksun]$ docker run --rm -it -v $(pwd):/nasher squattingmonk/nasher:latest unpack
      Error: Cannot unpack ~/nwn/darksun/modules/darksun_dev.mod: file
         ... does not exist

The error message says that the module darksun_dev.mod can not be found in the folder you are running the docker command from. Copy the darksun_dev.mod into the current folder or cd into the folder or replace $(pwd) with the correct folder and it should work.

installDir should be pointing to the NWN user home (i.e., the directory that contains the erf, hak, and modules folders). Then $installDir/modules/darksun_dev.mod would be the location where NWN would look for the module when you play it.
Is that the way you are trying to use it?

So the error here was that the ~/ in the path was not being resolved to your user home directory. This is fixed in adf74e8.


[csd3-skylake] Fix settings of Intel compilers for building Babelstream

Remove unusable<EMAIL_ADDRESS>compilation using this compiler fails with
  >> 95     icpc: error #10408: The Intel LLVM Based compiler cannot be found i
            n the expected location.  Please check your installation or documen
            tation for more information.
  >> 96     /usr/local/Cluster-Apps/intel/2019.4/compilers_and_libraries_2019.4
            .243/linux/bin/intel64/icx: No such file or directory

I successfully ran the babelstream benchmark with
reframe -c benchmarks/apps/babelstream -r --system csd3-skylake:compute-node --job-option='--account=...' -S spack_spec='babelstream%intel@XXX +omp' --tag omp

for all versions of the Intel compilers on CSD3 (after removing one that was unusable).
Fix #173

On csd3-skylake with<EMAIL_ADDRESS>+ omp builds successfully but I get a runtime error in rfm_job.err
omp-stream: error while loading shared libraries: libomptarget.so: cannot open shared object file: No such file or directory

For the record, we verified offline that the last problem reported above was simply due to not having actually rebuilt babelstream.  Clearing the install tree with git clean -fxd benchmarks/spack did that and solved the issue.


indilib: 1.9.5 -> 1.9.6

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/indilib/indi/releases.
meta.description for indilib is: "Implementation of the INDI protocol for POSIX operating systems"
meta.homepage for indilib is: "https://www.indilib.org/"
meta.changelog for indilib is: "https://github.com/indilib/indi/releases/tag/v1.9.6"
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.6 with grep in /nix/store/id5n7v77q70vrzw4qv405pc400m27hvl-indilib-1.9.6
found 1.9.6 in filename of file in /nix/store/id5n7v77q70vrzw4qv405pc400m27hvl-indilib-1.9.6

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath
indi-full
indilib
kstars
phd2

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/id5n7v77q70vrzw4qv405pc400m27hvl-indilib-1.9.6 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A indilib https://github.com/r-ryantm/nixpkgs/archive/c97d875f3da765b1df03149d5b37660ae1c77e67.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/id5n7v77q70vrzw4qv405pc400m27hvl-indilib-1.9.6
ls -la /nix/store/id5n7v77q70vrzw4qv405pc400m27hvl-indilib-1.9.6/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

indi-full
indilib
kstars
phd2

Maintainer pings
cc @hjones2199 for testing.

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

4 packages built:

indi-full
indilib
kstars
phd2


How to make copyartifact Pod run

While following the steps, I got this issue stating "Waiting for container of copy artifact pod to run. Current status of copyartifacts is Succeeded". Please suggest me the solution for this issue.

@Abhinavsai18 , for the log messages, it looks like you re-ran without deleting the existing job or say clean up.
Please clean up properly and rerun. This job is copying the artifacts in the container, please check manually whether it is getting copied. Sometimes it gets copied but script could not capture the correct status. It might happen because of kubectl version issue. Please retry and let me know if issue persists. Thanks

@Abhinavsai18 , for the log messages, it looks like you re-ran without deleting the existing job or say clean up.
Please clean up properly and rerun. This job is copying the artifacts in the container, please check manually whether it is getting copied. Sometimes it gets copied but script could not capture the correct status. It might happen because of kubectl version issue. Please retry and let me know if issue persists. Thanks

Thankyou so much. It worked and I've completed first 6 steps in the documentation without any error. Could you please help me in completing the 7th step as I'm unable to find the public IP of my kubernetes cluster and please let me know where the piece of code at the end of step-7 is supposed to be executed. Thankyou again.

@Abhinavsai18 , Glad to know it worked for you. Answered your follow-up question in another issue, hence closing this one.


[transition] Standardize the components

Remove CSSTransition from Grow
Remove enterDelay from Fade and Zoom
Allow providing a string to the transition helper options
Remove some dead code
Fix style.transitionDelay override

SInce delaying an animation is a common pattern, I don't understand why we wouldn't have a prop for it, but in the absence of that, it would be a good idea to document this approach either in the Transitions docs section when that is added.

SInce delaying an animation is a common pattern

I agree.

I don't understand why we wouldn't have a prop for it

We need to think the transition components as a whole. I don't think it's OK to add a property to only a subset of them. From what I could experiment, the only systematic solution I have found so far for answering the problem is the Delay component. The transition-delay CSS property only work for half of the components. So waiting for a better fix. I think that we will be better of with only documenting the style override.

There is a school of thought that feedback after user operations isn't necessary for about a second.

I'm not sure to understand this sentence. From what I understand of the linked resource. We have 0.1s to provide a feedback to the user. If we don't, the user will notice a lag. So it's important to respond as fast as possible. It's what the ripple effect is for. The other important aspect is that if you don't do anything after 1s, the user will think user's flow of thought to is interrupted. In order to avoid it, we need to display a loader.

I'm not sure to understand this sentence.

"Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second"
Otherwise, why implement the delay at all?

In the future, we could use an API like this one for the delay:
  delay: PropTypes.oneOfType([
    PropTypes.number,
    PropTypes.shape({ enter: PropTypes.number, exit: PropTypes.number }),
  ]),

I'm trying to add an animation delay for the Slide transition. Similar to how it is done in the docs with the Zoom component. https://material-ui.com/utils/transitions/#zoom
Is there any way to do that?

@nbkhope I could hack a fix like this:
--- a/packages/material-ui/src/Slide/Slide.js
+++ b/packages/material-ui/src/Slide/Slide.js
@@ -62,6 +62,8 @@ function getTranslateValue(props, node) {
 export function setTranslateValue(props, node) {
   const transform = getTranslateValue(props, node);

   if (transform) {
     node.style.webkitTransform = transform;
     node.style.transform = transform;
@@ -117,6 +119,7 @@ class Slide extends React.Component {
   }

   handleEnter = node => {
+    node.style.transitionDelay = '0s';
     setTranslateValue(this.props, node);
     reflow(node);

@@ -128,6 +131,12 @@ class Slide extends React.Component {
   handleEntering = node => {
     const { theme } = this.props;

+    const style = {
+      ...this.props.styleProp,
+      ...(React.isValidElement(this.props.children) ? this.props.children.props.style : {}),
+    };
+    node.style.transitionDelay = style.transitionDelay;
+
     const transitionProps = getTransitionProps(this.props, {
       mode: 'enter',

The core idea is that we need to remove the transition delay to move the slider off the screen, then we can start the animation. If you want to submit a pull-request using this POC as a baseline (we can share some code to make it cleaner) we would be happy to review it.


Unhandled rejection SequelizeHierarchyError: Parent does not exist

@vbogdanov  tried to use the readme.md example to create folders and insert some test date like example,but the exception is thrown "Unhandled rejection SequelizeHierarchyError: Parent does not exist ". I am not sure why this is thrown ,so could you help me to check ? if possible , could you give me the full example code ,thanks!. The code is here:
var Sequelize = require('sequelize')
require('sequelize-hierarchy')(Sequelize)
// NB Sequelize must also be present in node_modules
var sequelize = new Sequelize('dplatform', 'root', 'Pass1234')
var folder = sequelize.define('folder', { name: Sequelize.STRING });
folder.isHierarchy();
sequelize.sync({force: true}).then(function () {
sequelize.transaction({

}, function (t) {
    folder.create({
        name: 'a',
        parentId: null,
        id: '1'
    })
    folder.create({
        name:'ab',
        parentId:'1',
        id: '2'
    })

    folder.create({
        name:'abc',
        parentId:'2',
        id: '3'
    })

}).then(function(result) {
    // transaction has been committed. Do something after the commit if required.
}).catch(function(err) {
    // do something with the err.
});

})

A quick response (without actually checking that it works):

wait for the creation to complete (create returns a promise)
Use the created instance id, not constants
something alongside:

const folderA = await folder.create({...})
const folderB = await folder.create{
        name:'ab',
        parentId:'1',
        id: folderA.id
 })

You don't wait for the promises to resolve and there is no guarantee that the ID's will match the constants you have set.
I will try your code later and edit the reponse if there is something else. Please provide feedback if this fixes your issue

No, it do not work, it do not insert any data to table 'foldersancestors' , Another thing is if my all data is in a file, I just want to set parent child relation with parentId key, so I wan to init these data use create, but I can not guarantee the sequence, so I can not use "const folderA " like this to define the instance , then next data  use this instance ' id . Any ideas? if possible, please give me a full example to insert example data :
folder.create({
name: 'a',
parentId: null,
id: '1'
})
folder.create({
name:'ab',
parentId:'1',
id: '2'
})
folder.create({
    name:'abc',
    parentId:'2',
    id: '3'
})

Thanks for your great help!

@lonelywolf4git I don't think what you're reporting here is a bug, which is what Github issues are for. For more general advice, Stack Overflow would be a better place to seek help.
Also, I don't think the problem you're facing is specific to sequelize-hierarchy. I'd suggest you read a bit more about promises and concurrency, and you'll figure out how to tackle this.
So I'm closing this issue. @vbogdanov please feel free to help @lonelywolf4git with his problem if you want to, but I'm afraid I need to concentrate my efforts on issues which indicate a bug that needs fixing.

@overlookmotel @vbogdanov Looks like there is a problem with setParent() When I tried to add parent I also ran into this issue.
Code that I used to create parent
        User.findOne({
            where: { uniqueId: uniqueId }
        }).then(user => {
            if (user) {
                const userHierarchy = new UserHierarchy();
                userHierarchy.setParent(user).then(data => {
                    console.log(data);
                });
            }
        });

UserHierarchy model
import sequelize from 'sequelize';
import sequelizeHierarchy from 'sequelize-hierarchy';

const Sequelize = sequelizeHierarchy(sequelize);

class UserHierarchy extends Sequelize.Model {
    static init(sequelize, { INTEGER }) {
        return super.init(
            {
                userId: INTEGER
            },
            {
                sequelize,
                hierarchy: {
                    freezeTableName: true
                },
                createdAt: 'createdOn',
                updatedAt: 'updatedOn',
                freezeTableName: true
            }
        );
    }
}

export default UserHierarchy;

I may be missing small things over here. It could be great if you suggest to me what am missing.


Testing

e2e with a linode token... find out how we can get a capi testing account?
Mocks? Look into how CAPA was mocking kube api and aws api calls
ginkgo?

@luthermonson may i suggest to use https://kuttl.dev/ to provision Kubernetes and execute e2e (or other tests which fits into) tests? We have good experiences with it, and is is simple as possible.

if you think itll help us get something that looks like e2e in both local and a gh action then let's give it a shot

@luthermonson here is a very basic test case in Kuttl (plus environment) https://github.com/linode/cluster-api-provider-linode/pull/62/commits/b0ce89799e56c743991cbced3c1f80352076b5b0


defaultView is null (Firefox and Chromium / chart.js 4.3)

Expected behavior
Code running without errors.
Current behavior
When executing code, the following error occurs :
Uncaught TypeError: element.ownerDocument.defaultView is null
    getComputedStyle helpers.segment.js:2161
    getStyle helpers.segment.js:2163
    readUsedSize helpers.segment.js:2351
    initCanvas chart.js:3227
    acquireContext chart.js:3381
    Chart chart.js:5602

Reproducible sample
None
Optional extra steps/info to reproduce
No response
Possible solution
Rewrite the function getComputedStyle in "chart.js/dist/chunks/helpers.segment.js:2161" as follow :
const getComputedStyle = (element)=>element.ownerDocument.defaultView?.getComputedStyle(element, null) ?? { getPropertyValue: () => null };

Context
I had a code that worked, then I upgraded Chart.js npm package.
chart.js version
v4.3.0
Browser name and version
Firefox 113.0.2 / Chromium 114.0.5735.106
Link to your project
No response

Related issues :

https://github.com/chartjs/Chart.js/issues/5300
https://github.com/chartjs/Chart.js/issues/1032

Also running into this issue with the desktop GUI framework, Sciter.js


Error when creating entity in frontend

Getting below error - After upgrade jhipster as below
"generator-jhipster": "^7.9.3",
"generator-jhipster-ionic": "^7.1.0",
TypeError: this.loadEntityJson is not a function
at D:\Project_Upgrade\kubs-client\node_modules\generator-jhipster-ionic\generators\entity\prompts.js:76:12
at processTicksAndRejections (node:internal/process/task_queues:96:5)

I don't believe this blueprint is compatible with JHipster 7.9.3 yet. It should work just fine if you use JHipster 7.8.1.
If you want to use 7.9.3, you might have to clone this repo and use npm link.

Ionic blueprint was reimplemented for v8, you should use version 8.0.0.

Closing, this bug is related to an outdated release.


Buffer size mismatch. This should never happen! error

Description
Hello, I am having the following error:
File "/home/USERNAME/.conda/envs/aihwkit_cuda/lib/python3.8/site-packages/aihwkit-0.4.0-py3.8-linux-x86_64.egg/aihwkit/simulator/tiles/base.py", line 541, in backward return self.tile.backward(d_input, self.bias, self.out_trans, self.in_trans)
RuntimeError: Error in rpucuda.cu:331  Buffer size mismatch. This should never happen!
This error occurs if batch size used is large enough.
How to reproduce
03_mnist_training.py example uses default batch size of 64, but in my case it pops mentioned error, before training loop starts. With batch size of 32 there is no errors and training loop goes as expected.
Same error of buffer size mismatch occurs in other examples, but no errors if batch size used is low enough. Example 11_vgg8_training gives no error with batch size of 8.
Expected behavior
Training proceeds without any buffer mismatch errors.
Other information
aihwkit was compiled with CUDA support for 7.5 architecture [python setup.py install -DUSE_CUDA=ON -DRPU_CUDA_ARCHITECTURES="75"].
nvidia-smi command shows just 2-3 GBs of GPU RAM usage, out of 46 GBs available.

Pytorch version: 1.8.1
Package version: 0.4.0
OS: CentOS 7
Python version: 3.8
Conda version (or N/A): 4.10.3

Hi @Anchick,
many thanks for the bug report! Indeed, we also noticed this error which occurred when the batch size is dynamically changed in version 0.4. This error should be resolved already in the current version cloned from git (see #294). The fix will be included in the soon upcoming version 0.5.


Azure Resource Explorer down?

I'm following this docs to add extra values to scope login parameter for my Azure App Service: https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-oauth-tokens#refresh-auth-tokens
When I go to resources.azure.com I get:
Error 403 - This web app is stopped.
I can't find any information about why it is stopped, if it has moved, or what is happening.

@pettermoe95 Thanks for reaching out. I just tried and was able to access Azure Resource Explorer:

Please check if this is still an issue.

@pettermoe95 Thanks for reaching out. I just tried and was able to access Azure Resource Explorer:

Please check if this is still an issue.

I clicked that exact you sent me and I still get this:

@pettermoe95 Thanks for the response. Could you also please try to check if it results in the same screen when accessed from a different browser or an InPrivate window? Have you tried clearing your browser cookies/cache already?

@pettermoe95 Thank you very much for checking. This certainly isn't the expected behavior.
I've opened an issue with the projectkudu/AzureResourceExplorer repo for our Resource Explorer Team to investigate and update. Please follow further updates to this issue here: https://github.com/projectkudu/AzureResourceExplorer/issues/327.
We will now proceed to close this thread here, but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


ENH: Enable users to pass JSON filters to select subsets of data

see https://github.com/poldracklab/fmriprep/pull/1770

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@252ab08). Click here to learn what that means.
The diff coverage is 67.34%.

@@            Coverage Diff            @@
##             master     #143   +/-   ##
=========================================
  Coverage          ?   77.51%
=========================================
  Files             ?       14
  Lines             ?      805
  Branches          ?       90
=========================================
  Hits              ?      624
  Misses            ?      141
  Partials          ?       40

Flag
Coverage Δ

#ds005
72.76% <32.65%> (?)

#ds054
58.95% <46.93%> (?)

Impacted Files
Coverage Δ

smriprep/workflows/anatomical.py
77.14% <ø> (ø)

smriprep/interfaces/reports.py
77.21% <0%> (ø)

smriprep/interfaces/freesurfer.py
60.6% <0%> (ø)

smriprep/cli/run.py
77.4% <100%> (ø)

smriprep/workflows/base.py
85.45% <100%> (ø)

smriprep/workflows/norm.py
100% <100%> (ø)

smriprep/interfaces/templateflow.py
92.5% <100%> (ø)

smriprep/workflows/surfaces.py
78.88% <12.5%> (ø)

smriprep/workflows/outputs.py
70.09% <60%> (ø)

smriprep/__main__.py
83.33% <83.33%> (ø)

Continue to review full report at Codecov.

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

Sounds good. @bpinsard unless you once object (or get there first), I'll finish up these PRs tonight.


Prettier one-liner

This the the current one-liner:
curl -fsSL https://github.com/ChrisTitusTech/linutil/releases/latest/download/start.sh | sh

But this one looks better :D
bash <(wget -qO- https://christitus.com/tux)

Please make a pull request, not an Issue


Project Assets

Document of the project and the project story board needed for building

Merging secondary branch which contains additional contents(project documents and story board)


Keep transition logic in states

This is for human characters.
I'm going to start experimenting with  :dog2:'s AI soon.

Makes sense


use gen dao -g default -t xs_test, you can see some interesting things

1. What version of Go and system type/arch are you using?
go version go1.15.15 darwin/amd64
2. What version of GoFrame are you using?
gf v1.15.4
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
excute gen dao -g default -t xs_test
then you see it generate the dao and model has suffix table of each files.
app/dao/internal/xs_test_table.go
app/dao/xs_test_table.go
app/model/internal/xs_test_table.go
app/model/xs_test_table.go

5. What did you expect to see?
app/dao/internal/xs_test.go
app/dao/xs_test.go
app/model/internal/xs_test.go
app/model/xs_test.go

6. What did you see instead?
maybe the key of test is very especially, haha ....

@keehao Yes, the _test.go is special, very special.


Form

CHANGES

Added- form to the project according to template 2
Changed card links to use flex box instead of floats
Made changes to clear my linters.
Added form input attributes : character length, name and required.
Adjusted css form-imputs to accomodate styling.
configured formspree to capture data from my form.
changed the Button size and width and padding
Changed the max length on the form input fields
changed the title of this comment from chages to changes

CHANGES
Added- form to the project according to template 2
Changed card links to use flex box instead of floats
Made changes to clear my linters.
Added form input attributes : character length, name and required.
Adjusted css form-imputs to accomodate styling.
configured formspree to capture data from my form.
changed the Button size and width and padding
Changed the max length on the form input fields
changed the title of this comment from chages to changes

changes
Fix the contact button border.


New instructors added via UI are saved with the title filename

Steps to Reproduce

Add an instructor on ocw-studio-rc.odl.mit.edu
Go to github.mit.edu and look at the latest commit to main. The filename for other instructors is the uuid, but the filename for the next item is the title field

For example: https://github.mit.edu/ocw-content-rc/ocw-www/commit/3c2b4c5e8651abf6e297f39d7487a231e62633a7

I think the simplest way to solve this in a way that keeps ocw-specific logic out of ocw-studio is to add a field in the schema to say what should be used for the filename, ie filename_field: text_id would mean use the uuid instead of the title as the filename. There is a risk


feat(ui): gallery pagination

Summary
Replaces infinite scroll with pagination.
Adds option to select all items on a page, and an indicator of how many are currently selected.
Related Issues / Discussions
Closes https://github.com/invoke-ai/InvokeAI/issues/5710
Closes https://github.com/invoke-ai/InvokeAI/issues/6406

QA Instructions
This has sweeping changes across the way we interact with the image list. All manual cache updates were removed in favor of refetching.

Deleting (single and bulk)
Moving to board (single and bulk)
Removing from board (single and bulk)
Starring/unstarring (single and bulk)
Selecting many across pages using control and shift hotkeys

Merge Plan

Checklist

[ ] The PR has a short but descriptive title, suitable for a changelog
[ ] Tests added / updated (if applicable)
[ ] Documentation added / updated (if applicable)

Could we possibly add an option to reverse the page numbering? This would be beneficial for navigating through older generations of content more efficiently, without the page numbers shifting every time new content is added to the gallery.

@ufuksarp we will be adding sort order in the near future to solve for this (oldest first in the list)

bug


Adds c++ external simulation task

I updated this one. I'm going to hold off on the java one until this one merges, since they are going to interfere with each other.


Make labels.Matcher an interface

Proposal
Use case. Why is this important?
While changing the matcher to an interface does not affect Prometheus in any way except maybe code changes at a lot of places, this would allow custom matchers to be implemented and experimented easily for projects like Cortex/Thanos and hence also backport them to Prometheus.

Should we really be making our code more complicated for the sake of making it easy for downstream projects to produce incompatible versions of PromQL?

for the sake of making it easy for downstream projects to produce incompatible versions of PromQL

Cortex plans to experiment with regex optimization which is sometimes the bottleneck when it comes to query touching lots of series. I don't think projects like Cortex and Thanos have any plans to get incompatible with PromQL but actually tries to be 100% compatible (including the web APIs). I cannot speak for other projects, but you have some projects here which will use it for good and backport optimizations to Prometheus :)

Example experiments https://github.com/cortexproject/cortex/compare/master...pracucci:fast-regex-matching which if proves to be good, we could backport it into Prometheus

@pracucci mentioned that the indirection from the interface has a performance impact as the Matches() method would be called a lot of times. I am closing this for now in favor of https://github.com/prometheus/prometheus/pull/7453/ as an interface won't be required if we are able to add optimizations directly upstream.