Notation to sign and veify arbitrary data

Is your feature request related to a problem?
We would like to use Notation to sign and verify any arbitrary data and keep using the fine grain control it provides using trust policy and plugin model.
What solution do you propose?
Notation support sign and verify any arbitrary data
notation sign-blob ./somefile.txt
OR
notation sign ./somefile.txt --blob

cc: @yizha1 @toddysm @shizhMSFT @patrickzheng200 @gokarnm @iamsamirzon

Thanks @priteshbandi, it's on my list, will share a PoC once it's ready, and we could start from there.

Thanks @patrickzheng200 for proactively working on this.
Do you have ECD (Estimated Completion Date) for PoC? Also, can you share any early draft around CLI interface?

Thanks @patrickzheng200 ! There would be some spec work associated for this feature, covering changes (if any) for payload format, signature storage on disk, and trust policy.

@gokarnm @priteshbandi I remember we had some discussions around local artifacts/arbitrary files/signature storage at least one year ago. At that time, we tracked the features in roadmap repo, I did some searches and find related issues like

[User Story] - notation sign/verify Offline/Local artifacts
Local storage of Signatures

There were also some discussions and investigations during implementing feature of "sign/verify local OCI artifact", which is currently an experimental feature.  But we didn't continue the discussion recently since it is not in v1 scope any more.
This could be a good topic for community meeting, we can discuss it further on the plan. Does it make sense?

I agree that this is a significant feature request for Notation and has been discussed several times. This request was also captured in Requirement (scenario-1-local-build-sign-validate)  and Goals.
Before having an ECD for this issue, let's figure out the end-to-end scenarios, how it works with trust policy, have an approachable design proposal and CLI Spec, and split the work items.
Let's discuss it in the next community meeting.

A follow-up question, if signing local arbitrary files is supported, will signing content from OCI Image Layout be replaced accordingly?

Thanks @patrickzheng200 for proactively working on this. Do you have ECD (Estimated Completion Date) for PoC? Also, can you share any early draft around CLI interface?

It's in its initial stage, so I don't have an ECD for now. But as suggested by Yi and Feynman, we could have a discussion on the feature in the next week's meeting.
(btw, @priteshbandi @gokarnm this is my current github account: @Two-Hearts, I couldn't get any notification if you ping my previous account. Thanks.)

Here are a few scenarios I am aware of where this will be helpful.
Signing SBOMs for Software
We have teams that produce binaries that are not distributed via OCI registries (think of published on web sites, or package managers, etc.). They would like to produce SBOMs for those binaries and sign the SBOMs with Notation. The resulting artifacts are binary, SBOM, signature of the SBOM (.sig file for example). Those three artifacts can be published on a web site for download as separate items.
Distributing the SBOM via registry
As an expansion of the above scenario. We don't want to change the workflow of the above teams, but we would like to distribute the SBOM via registry. In this scenario the binary, the SBOM and the SBOM signature are created using the above process. However, we would like to use the SBOM and the SBOM signature and publish them to a registry for distribution. What that means is that we would like to take the SBOM file, the SBOM signature file (.sig file) and pack them as OCI artifacts and push to the registry.
In both scenarios above, we would like to use Notation to verify the signatures.
I assume this will need updates to the specification in addition to the code.

Thanks @toddysm for providing the user scenarios.
Here's my design doc:
https://hackmd.io/QteHaBQTS-6h-AsU04U1cQ?view
Here's a PoC implementing the above design released on my local branch:
https://github.com/Two-Hearts/notation/releases/tag/v1.0.0-arbitraryFile
It's an initial version, and please feel free to leave your comments/suggestions. Thanks.
@shizhMSFT @priteshbandi @sajayantony @toddysm @yizha1 @FeynmanZhou @JeyJeyGao

Apart from signing SBOM, I can share two typical scenarios that rely on signing and verifying arbitrary files.
Sign and verify the installation binaries and release assets for GitHub releases
There are some open-source projects that require maintainers to use the GPG key to sign the installation binaries and other release assets when publishing on the release page. Users are recommended to verify the GPG signature with the GPG tool when downloading from the GitHub release page. Just take the ORAS release verification process as an example: oras-project/oras-www#69 (comment)
However, signing and verifying with the GPG key is a bit cumbersome for maintainers and users since GPG has complicated setup steps. Notation could be a good alternative for signing and verifying the installation binary package if signing arbitrary files is supported. Open-source projects like Kubernetes, Argo CD published signed binaries and suggest users verifying them when downloading from the release page.
Sign and verify the installation binaries for traditional software release process
Some free softwares and organizations also publish their executable binaries and artifacts on FTP servers, central repository (like Nexus), and object storage. This feature is also useful when signing and verifying those binaries in the traditional release process. Project organizations can distribute the signature alongside the binaries to users.

Thanks @FeynmanZhou, the above design should cover the scenarios mentioned by you as well.

Thanks @patrickzheng200 ! There would be some spec work associated for this feature, covering changes (if any) for payload format, signature storage on disk, and trust policy.

For 1st scenario as Toddy described, we need specifications to cover

signature payload
storage on disk
trust policy
Any changes to the existing signing and verification workflow

For the 2nd scenario "Distributing the SBOM via registry", we need spec to cover

storage of both SBOM and signature file in registry
Any changes to the existing verification workflow.

We need CLI spec to cover the CLI UX for both scenarios

Thanks @patrickzheng200 ! There would be some spec work associated for this feature, covering changes (if any) for payload format, signature storage on disk, and trust policy.

For the 1st scenario as Toddy described, we need specifications to cover

signature payload
storage on disk
trust policy
Any changes to the existing signing and verification workflow

For the 2nd scenario "Distributing the SBOM via registry", we need spec to cover

storage of both SBOM and signature file in registry
Any changes to the existing verification workflow.

We need CLI spec to cover the CLI UX for both scenarios

@yizha1 Here's the PR for the CLI spec changes: https://github.com/notaryproject/notation/pull/765.

Created two issues for tracking the changes on Notary Project specifications:

https://github.com/notaryproject/specifications/issues/275
https://github.com/notaryproject/specifications/issues/276

/cc: @priteshbandi @patrickzheng200 @gokarnm @shizhMSFT @toddysm @FeynmanZhou

Discussions are tracked in https://github.com/notaryproject/notation/issues/741

Added more details for these two scenarios described in https://github.com/notaryproject/notation/issues/741#issuecomment-1644323623
@toddysm @priteshbandi @FeynmanZhou @patrickzheng200 @shizhMSFT PTAL.
Procedure for signing an arbitrary file and store the signature on the file system

Authenticate to a KMS

Create a signing key or use an existing signing key, and retrieve the key id from the KMS

Use Notation CLI to sign the file on the file system. An example of command:
notatoin sign --blob <filepath> --media-type <type> --output-signature <signature_path>` --id <key_id> --plugin <plugin_name>

Upon successful signing, the siganture is stored on <signature_path>

Procedure for verifying the file and signature on the filesystem

Add the root certificate to a named trust store mystore, the type of trust store is ca
Create a trust policy file mypolicy.json with the following content

{
  {
    "name": "wabbit-networks-non-oci",
    "signatureVerification": {
      "level": "strict"
    },
    "trustStores": [ "ca:mystore" ],
    "trustedIdentities": ["*"],
    "scopes": [ "non-oci" ]
  },
 {
    "name": "globalPolicy",
    "signatureVerification": {
      "level": "strict"
    },
    "trustStores": [ "ca:someGlobalCA" ],
    "trustedIdentities": ["*"],
    "scopes": [ "*" ]
  }
}

Use notation policy command to import trust policies from mypolicy.json file

notation policy import mypolicy.json

Use notation verify command to verify the file against the signature

notation verify --blob <filepath> --media-type <media_type> --signature <signature_path> --policy-scope "non-oci"

Procedure for verifying the file and signature as OCI artifacts in the registry

Pull the file and signature from the registry to the filesystem
<TODO: add recommended tooling>
The rest procedure is the same as previous verification procedure

Procedure for storing the file and signature as OCI artifacts in the registry
 It is not to be solved by this feature, but it will be good to provide recommendation tooling for users to achieve this goal from e2e point of view.

As discussed at the meeting on 1/2/2024, move this feature to next milestone 1.2.0

Move this to Future due to resource issue per community discussion.

Task List

[Completed] Spec update in specification repo | https://github.com/notaryproject/specifications/pull/283
[Completed] notation-go code updates

[Completed] Add support for signing of arbitrary data | https://github.com/notaryproject/notation-go/pull/379
[Completed] Add support for verification of arbitrary data | https://github.com/notaryproject/notation-go/pull/394

[Completed] Spec update in CLI /specification repo | https://github.com/notaryproject/notation/pull/811
notation CLI code changes

Changes to expose for signing and verification of  arbitrary data as CLI.

[abandoned] Add new command for notation blob sign | https://github.com/notaryproject/notation/pull/856
[abandoned] Add new command for notation blob verify | https://github.com/notaryproject/notation/pull/889
[abandoned] Add new command for notation blob inspect https://github.com/notaryproject/notation/pull/888
Update OCI commands(notation sign, notation verify, notation list, notation inspect) to make sure they dont work with blob and if user tries to do that emit error messages and redirect them to notation blob
Optional, Add stdin and stdout support for sign, verify and inspect command.

Write e2e tests for  signing, verifying and inspecting  arbitrary data using CLI.

@shizhMSFT @Two-Hearts @JeyJeyGao Would you mind reviewing the task list for blob signing listed in the above comment?

@shizhMSFT @Two-Hearts @JeyJeyGao Would you mind reviewing the task list for blob signing listed in the above comment?

The above list LGTM. In addition to the above list, we need to discuss updating the notary project spec for the file extensions for blob signing (details see https://github.com/notaryproject/notation/issues/974).

We also need to cover the scenario mentioned in this comment https://github.com/notaryproject/notation/issues/741#issuecomment-1644323623


The recording of steps does not work when using multithreading inside current test

Using multithreading inside test like Task.Run(() => AllureLifecycle.Instance.Verify.Pass("Pass")) throws exceptions
Versions

Allure: 2.5

Fixed in 2.6

If you use multi-threading inside the test, make sure that before leaving the test, all the threads have done their job of recording the allure steps, otherwise errors may occur.
for example:
var task = Task.Run(() =>
            {
                // some code for record allure steps
            });
**task.Wait();**

Fixed in 2.6


Broken mod button in pause menu when configured on "insert"

When the placement of the mod button in the pause screen is set to "insert" and you are in a server with server links enabled, the mods button breaks

Fixed in 11.0.1


queryApply shouldn't wait for job

This commentary says that queryApply method of client should use background query. It is expected behavior because of phpdoc class. So this fix removes waiting for job is done.

Good catch and thanks for the fix. That looks good to me, we'll add your fix into the next release.
Thanks again.

New release is out but fix isn't included. Are there any problems?


[feature] Show only added/removed lines in notifications

Version and OS
0.39.18 on linux/docker
Is your feature request related to a problem? Please describe.
When I get notifications to discord, it shows me all of the grabbed content (including all additions and removals)
Describe the solution you'd like
Is it possible to have it show only what has been added and removed and not include all of the information that remains the same?
Describe the use-case and give concrete real-world examples
For a lot of websites, like forums, feeds full of line items, there's usually 20+ lines. If there was only 1 new addition, we'd see ~20 lines in the notification.
For lists, sometimes we're only interested in that new addition, so instead of including all the extracted text, I'd like to just show what has been added or removed.
I've tried {diff}, but this seems to extract everything that was caught in my filter (ie. .postItem).
Is something like this possible currently or can it be added as a feature?

I think this is maybe a dupe of https://github.com/dgtlmoon/changedetection.io/pull/749 ?

even though the filter is activated to only trigger on new lines, the token {diff} still shows all diff-categories inside the notification.
having more tokens available, would be so awesome, e.g. {diff_added}, {diff_changed} and {diff_removed}

Yes I'd also like more granular notification settings.  'Added', 'changed', 'removed', also maybe ways to exclude "ignored text" or "removed elements" from the filters/triggers page in the notification itself as well.

I was thinking about this too. I watch some eshops for newly added "sale" items. So I don't need to see removals, only additions or maybe (price) changes. So having  {diff_added}, {diff_changed} and {diff_removed} would be nice.

In my case I am watching over big list with pagination. So when new items gets added some some old get moved to 2nd page and I am always getting "removed" lines which only distract.
So  {diff_added} implementation sounds like perfect idea for me.

@StarvingDeveloper i'm open to a pull request if you want todo it (must include tests), if you read that thread, there was a very good reason why it was abandoned https://github.com/dgtlmoon/changedetection.io/pull/749#issuecomment-1300508160

@StarvingDeveloper i'm open to a pull request if you want todo it (must include tests), if you bother to read that thread, there was a very good reason why it was abandoned #749 (comment)

@dgtlmoonIf I would capable of such PR I would not discus in issues, but would try make changes.
As about #749, I think you still dont understand what we want to have in this and in many other threads as I seen: we just want change notifications, not detection. as I said on early message in this thread that addition would be very useful for every page with pagination, because when in such pages new content appear, older entries get moved to next page and in notification we get same amount of (removed) lines as (added) and that distract a lot - you see something you seen before and get confused till you notice it's removed, not added.
so tl,dr: improve only notifications with option {diff_added}. Some users seen asking for {diff_removed}. Bet for me actual only {diff_added}.

Has this issue moved forward at all, this is essential.

I could really use this. Here's a visual representation to help get the point across.
The change detection itself is working how I want.
This is what my notification looks like using the {{diff_full}} template token.

There should be 3 more template tokens added for notifications.
{{diff_added}} should only show the lines starting with (added )
{{diff_changed}} should only show the lines starting with either (removed) or (added )
{{diff_removed}} should only show the lines starting with (removed)

Side topic: "(added )" shouldn't have that space. It should be "(added)".

I've dug through the code-base and done some testing, and it seems like the {{diff}} token will show only lines starting with (added ), (removed), (changed), or (into   ), so that excludes all the lines that stayed the same.
I was a little confused because {{diff}} wasn't actually in the list of valid tokens in the edit notification page.
I've submitted a PR which adds {{diff}} to that page, along with 2 more tokens that I have added {{diff_removed}} and {{diff_added}}.

{{diff_removed}} will only show lines starting with (removed), (changed), or (into).
{{diff_added}} will only show lines starting with (added), (changed), or (into).
I also got rid of the trailing spaces in "(added )" and "(into  )", so now it will just print "(added)" and "(into)" instead.
I don't completely understand the part that generates the (changed) and (into) lines. Even before my modifications, sometimes my notifications would have multiple (changed) or (into) lines in a row, and there would be more of one than the other. Other times, it will work completely as expected, with each (into) line being immediately preceded by a (changed) line. So for now, I've decided to leave that part alone.

So it is impossible leave only  (added) without (changed) and (into)?
In my case it still will be mess and I was interested in only (added)...

I could make another token that only shows (added) lines.
And another that only shows (removed) lines.
In my uses cases though, a removal + an addition will get the (changed) (into) lines. So if you are ignoring all the (into) lines, you might actually miss something new being added.

So if you are ignoring all the (into) lines, you might actually miss something new being added if something else was removed at the same time.

yeah into and added are allllllllllll very dependant on what the python diff() algorithm feels like at the time...
there are phd papers written on this and still no one can decide :)

So if you are ignoring all the (into) lines, you might actually miss something new being added if something else was removed at the same time.

yeah into and added are allllllllllll very dependant on what the python diff() algorithm feels like at the time...
there are phd papers written on this and still no one can decide :)

So hey, I have a bit of a question on the "Only trigger when new lines appear" option.
Will it trigger when a new line gets the replacement tag and gets shown as (into)? Like in my example above.

@reecespieces now we need another token such as {{ diff_added_triggers }}``, {{ diff_changed_triggers }}, `{{ diff_removed_triggers }} so we can just send a notification containing only the lines that changed that also matched our triggers, instead of all of the noise

After recent update with diff_added my reports much, much more useful!
Thank you @reecespieces for PR and @dgtlmoon for awesome tool.


Feat: Make Blog Post page responsive

Describe the feature
Currently, our Blog Post page is not responsive for smaller screens, I would like to add responsiveness for the same
Add ScreenShots
https://github.com/user-attachments/assets/bd184dfd-5650-4151-b11f-98a252dc65d7
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@mdazfar2 please assign me this issue

@Asymtode712 Issue acknowledged! You are assigned.

Hey @Asymtode712, the blog page is working fine as usual. Can you please start working on making it responsive?


Typo in CLI command for creating JS file with Rollup

https://github.com/near/near-sdk-js/blob/ae06bd6152831be4ce9e0a839a730391a3198592/packages/near-sdk-js/src/cli/cli.ts#L60

Fixed in #336, thanks @idea404 !


Usage with pragma message or static_assert?

Is it possible to use this library to generate compiler-time strings? I'm just learning (modern) C++ right now, and want to make sure my structs are aligned properly, then if not, generate a message like so:
constexpr (string type here I guess) getStatAssertString(__uint32 size, __uint32 expected) {
//returns formatted string
}
struct my_invalid {
short foo;
byte bar;
};
static_assert(sizeof(my_invalid) == 0x3, getStatAssertString(sizeof(my_invalid, 0x3);

No. static_asserts require a string literal, not a "compile-time string" represented within the type system.

Thank you for the response, sorry to bother.

No problem at all!


Issue on Prototype Fusion Strategy

Hi. I tried to reproduce results for MiniImageNet following your instruction, but failed to get the accuracy listed in your paper.
Could you give me some tips?
Also, where is the Gaussian fusion strategy implemented in the code?
Looking forward to your reply.

I guess this problem should appear in the parameter setting, please check whether the parameter setting of each step is consistent with our instructions. Besides, the Gaussian fusion strategy is only used in meta-training and meta-test phase. In these two steps,  note that the  parameter --head'' should be set to FuseCosNet'' instead of CosineNet. The detailed codes about the Gaussian fusion strategy can be found at the file of  ``/models/classification_heads.py'' (please see the lines 129 - 155).

Should I set the parameter --head as "FuseCosNet"  instead of CosineNet in metainfer phase? Otherwise, I will fail to load 'best_model_meta_val_{}w_{}s_{}.pth'.format(opt.test_way, opt.val_shot, opt.head) in metatrain and metatest phase.

Yes, in metainfer phase, the parameter "--head" should also be set to  "FuseCosNet" .


Define data model

Define data models to be used in the application.
Define Dashboard, Cell and Pictogram models.

Proposal for domain and data models:
DOMAIN
Dashboard
data class Dashboard(     val id: Int,     val name: String,     val rows: Int,     val columns: Int,     val cells: List<DashboardCell> )
DashboardCell
data class DashboardCell(     val panelId: Int,     val i: Int,     val j: Int,     val pictogram: Pictogram? )
Pictogram
data class Pictogram(     val id: Int,     val keyword: String,     val url: String )
DATA
Dashboard entity
data class DashboardEntity(     @PrimaryKey      val id: Int,     val name: String,     val rows: Int,     val columns: Int )
DashboardCell entity
data class DashboardCellEntity(     val dashboardId: Int,     val i: Int,     val j: Int,     val pictogramId: Int? )
Composed primary key from dashboardId,  i and j
PictogramEntity
data class Pictogram(     @PrimaryKey val id: Int,     val keyword: String,     val url: String )

@jmgjmg @fesave check the proposal for the data and domain models for the application. I have chosen to decouple the pictograms models from the dashboard and cells in order to be able to reuse pictograms in other dashboards (open for discussion).

I am not sure about decoupling pictograms in a separate table/entity. It makes the model a bit more complex and, additionally, we should add a new feature to "share" or reuse pictograms. The text should be associated with the cell (or at least the cell should be allowed to store a different text from the pictogram).


[Fixes #5154] Stream should be suppressed from model metadata validation

@dougbu

if a given action has a parameter of type Stream, model binding will throw unexpected exceptions due to the model metadata validation

Please create a unit test or integration test (definitely not a functional test) that demonstrates the Exceptions from #5154. Confirm it doesn't work w/o your fix and does with it. Then include the test in this PR.

:watch: other than the test, looks great

:shipit: w/ minor fixes for above comments

01f7ecd9d9fc90b42a3d80c089b6e69d3916d127


Rename

@asinghvi17 I saw you integrated the rename in #2. Should this be closed?

Yes, it's all done there.  Thanks!


removed p5.signal from codebase

This Pr deals with the removal of p5.signal from codebase as discussed in
https://github.com/processing/p5.js-sound/issues/477

looks good, though unfortunately now we need to resolve the merge conflicts from the linting PR. I would do this by merging (probably not rebasing) the upstream changes.

@endurance21 conflicts are resolved, and can we remove the signal.js file now? (I think that was part of this commit before, might've been lost after the force-push)

oh! i must have forgotten to add that deletion file

@endurance21 I didn't mean to mark this as a draft, I can't seem to undo that but I think you can?


reference

this is a trickier one, it seems like it should be a second stage focus after the initial site launch

@lmccart Can you specify the exact issue?

Currently in the build process (see the readme for steps), grunt server builds the full site and places it in the dist/ folder. However, the reference needs to be manually added into both the dist/ and the dist/es folder. This work might be added into the release automation process https://github.com/processing/p5.js/issues/707.


API backend usage/permissions based on API keys

@GUI Is it possible to make API keys to have access just specified API backend(s) OR define users/API keys that are allowed to use API backend?
In case of misuse we could revoke usage permissions for that user/API key for API backend, and it would only effect for that single API backend.
Also how is "api key verification level" setting meant to be used?
https://github.com/NREL/api-umbrella/blob/3f90e1589619bc4f893c1aaafe26bacd78a1a48a/src/api-umbrella/proxy/middleware/api_key_validator.lua

@jykae: I think perhaps the "roles" feature is what you're looking for. I've just added some additional documentation explaining this in more detail: https://api-umbrella.readthedocs.io/en/latest/admin/api-backends/role-restrictions.html Let us know if you still have any questions or that's not what you're looking for.

Closing this issue, but let us know if you have any further questions.


Installation via CocoaPods will add outdated dependency React 0.11.0

Steps to reproduce
react-native init test
cd test
yarn add bugsnag-react-native
cd ios

create a Podfile with:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'test' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  pod 'BugsnagReactNative', :path => '../node_modules/bugsnag-react-native'

end

$ pod install
Analyzing dependencies
Fetching podspec for `BugsnagReactNative` from `../node_modules/bugsnag-react-native`
Downloading dependencies
Installing BugsnagReactNative (2.7.5)
Installing React (0.11.0)
Generating Pods project
Integrating client project

[!] React has been deprecated

Expected behavior
Correct installation with latest Version React 16.0.0 (or now installation since it was already integrated)
Observed behavior
Installation of React 0.11.0
Environment

react-native version:0.51.0
bugsnag-react-native version: 2.7.5
react-native-code-push version (if any): none
cocoapods version (if any): 1.3.0
debug mode or production?: does not apply here

This does not work with React 0.53.0 (or 0.52.x).
error: bundling failed: ambiguous resolution: module `/Users/john/projects/myapp/myapp-mobile-app/src/App.js` tries to require `react-native`, but there are several files providing this module. You can delete or fix them:

  * `/Users/john/projects/myapp/myapp-mobile-app/ios/Pods/React/package.json`
  * `/Users/john/projects/myapp/myapp-mobile-app/node_modules/react-native/package.json`

@kattrali why did you close? Adding bugsnag to react-native shouldn't be the same as adding react-native to an existing iOS project. I think this is still an issue.

Is it possible to avoid using pods directly? Having the same issue.

Any solution ? Nothing works for this.

@Foskas
Are you saying that even when you reference React in your Podfile as described here:
https://github.com/bugsnag/bugsnag-react-native/issues/193#issuecomment-355166756
you're still getting React 0.11.0 installed?


:ssl_version => 'TLSv1'  not mentioned?

Why is setting ssl_version not mentioned in the read.me doc?  Is SSLv3 still the default? on v1.8.0 that is?

If I put this in a rails initializer would RestClient lib respect it / use it?
OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ssl_version] = 'TLSv1_2'

The default (as of rest-client 1.7.0) is to use Ruby's default SSL version, which is any available version (starting with the highest). There isn't any reason to override this unless you specifically want to disallow lower versions like TLSv1.
You can set this on a per request basis with something like this:
RestClient::Request.execute(method: :get, url: 'https://example.com', ssl_version: 'TLSv1_2')

Oh, and to actually answer your question: your approach should indeed work.


make parameters for util modules public

Related issue:
https://github.com/chipsalliance/rocket-chip/pull/2452#discussion_r425963100 The parameters of modules like Queue are useful for generating better names, but it is not possible to generate a fully unique name because parameters like pipe and flow are private.

Type of change: other enhancement

Impact: API addition (no impact on existing code)

Development Phase: implementation
Release Notes

make parameters of modules in chisel3.util public

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

Would it make sense to override the desired name in these modules directly based on these parameters?

Would it make sense to override the desired name in these modules directly based on these parameters?

That's been my thinking. It also suggests we should provide some standard, structural serialization of arbitrary Data types (not hardware values). A "prettyPrinting" would be nice, and would work fine for small things, eg. UInt(8.W) -> U8, but for deep Bundles wouldn't be ideal. You could allow Bundles to override it in a way similar to overriding desiredName in modules, but then there's risk users could cause collisions. Perhaps worth it to get a name like TLBundle_paramA_paramB_paramC instead of 7fc4e38


Data contacts and credit

From Task 2 meeting today-
Include a README in each folder listing contact person for each site/variable?

Done in #48


When downloading the price data csv from etmodel and checking the price curve from etengine I see two different result sets

When I check etengine's MERIT_PRICE_CURVE()

I get an array with 5.633... with a length of 8760
However when I download the price data on the merit order page.

I get:
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
36.6<IP_ADDRESS>5.600
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
36.6<IP_ADDRESS>5.600
3.459.431.440.751.960
3.459.431.440.751.960
3.459.431.440.751.960

Which is a little more exciting. Now I'm wondering what to draw and what the differene is between the two charts?
Related: #2083

The CSV is correct (although I'm not sure where all the extra .s are coming from, because I don't see those).
I suspect the GQL sandbox may be doing something quirky, because it returns a different Merit:Order object than the one used to calculate the graph.
I'm curious which result you'll get when trying with a Gquery...

Happens in a Gquery too. Investigating. 😕

The CSV is correct (although I'm not sure where all the extra .s are coming from, because I don't see those).

Hmm, maybe it's my Excel layout (I copied those values from Excel :no_mouth:).


Beta 1.54 backports

This backports the following changes to 1.54 beta:

#9595 — Relax doc collision error.  This was an unintended regression where a warning was switched to an error in 1.54.
#9563 — Change rustc-cdylib-link-arg error to a warning.  Validation was added in #9523 (1.54) that generated an error. However, it was unknown at the time that use of link args via dependencies was being used. Rather than regress those projects (which has been on stable since 1.50), this switches the validation to a warning to indicate this was not intended.
#9604 — Disambiguate is_symlink. Required to get CI to pass.

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

:warning: Warning :warning:

Pull requests are usually filed against the master branch for this repo, but this one is against rust-1.54.0. Please double check that you specified the right target!

@bors: r+

:pushpin: Commit a9eb3efa19025110bf6df1536e8bf48045cc25b1 has been approved by alexcrichton

:hourglass: Testing commit a9eb3efa19025110bf6df1536e8bf48045cc25b1 with merge f48538272e9b8e830966d7815ce8767232d8f328...

:broken_heart: Test failed - checks-actions

Added #9604 to get CI to pass.
@bors r=alexcrichton

:pushpin: Commit 09ed3d2fcd77aa36372c4a3405a9f32ad1235288 has been approved by alexcrichton

:hourglass: Testing commit 09ed3d2fcd77aa36372c4a3405a9f32ad1235288 with merge 5ae8d74b3b2d58f32c8d357e5cfa04d430a70e0b...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing 5ae8d74b3b2d58f32c8d357e5cfa04d430a70e0b to rust-1.54.0...


AdaptiveNavigationScaffold Collapsed Bar Removes Items

Package
adaptive_navigation
Existing issue?

[X] I checked the existing issues

What happened?
Expected vs actual result:
If I have a navigation scaffold with 10 items in it when expanded, I expect there still to be 10 items when I collapse the side bar.
What actually happens is the bottom 3 items are removed and I only have 7 items to select from in the collapsed side bar.
Steps to reproduce:

Create a simple project and add an AdaptiveNavigationScaffold with 10 items.
Resize the window until the side bar collapses to just show icons.
You'll see it only shows up to 7 items in the side bar.

Relevant log output
No response

Closing this issue due to discontinuation of the adaptive packages.


Images Chopping

images sent in chat are chopping up whenever i scroll. i cant really provide screenshots or a video atm tho

ok so i can provide pics

I'm unable to replicate this problem. Do you have a plugin enabled which is causing this?

yup i just found the culprit. Its a plugin called FavoriteMedia


Include icui18n only once

When I run ruby extconf.rb I'm getting the following output:
checking for main() in -licui18n... yes
checking for main() in -licui18n... yes
checking for unicode/ucnv.h... yes
checking for main() in -lz... yes
checking for main() in -licuuc... yes
checking for main() in -licudata... yes
creating Makefile

So, it checks for main() in -licui18n twice, which results with the following entry in the generated Makefile:
LIBS =  -licudata -licuuc -lz -licui18n -licui18n  -lpthread -lgmp -ldl -lcrypt -lm   -lc

While this is not harmful (at least I don't know of any harm) on my machine, it has bee suggested (https://github.com/brianmario/charlock_holmes/issues/32#issuecomment-15891091) that it might cause some other problems.
Anyway, it's always good to have the flags passed only once and this PR fixes it.

This seems like a simple change. Any idea if it's been looked at by the maintainer?

I think it is not maintained anymore. Last change was made in June 2015. However @brianmario is active on Github.

This is no longer necessary, as extconf.rb looks completely different now.


FEAT(fov): random 90 deg rotations

Add random 90 degree rotations without resampling. Fixes #14
@seannz Do you mind checking this branch out and making sure it works as you expect?

Yes sir, beta tester at your service.

On Sep 14, 2023, at 3:09 PM, Yaël Balbastre @.***> wrote:
Add random 90 degree rotations without resampling. Fixes #14 https://github.com/balbasty/cornucopia/issues/14
@seannz https://github.com/seannz Do you mind checking this branch out and making sure it works as you expect?
You can view, comment on, or merge this pull request online at:
https://github.com/balbasty/cornucopia/pull/15
Commit Summary
eab269a https://github.com/balbasty/cornucopia/pull/15/commits/eab269a2d470a058a3aa61191fc70bacf70e3327 FEAT(fov): random 90 deg rotations
File Changes (4 files https://github.com/balbasty/cornucopia/pull/15/files)
M cornucopia/base.py https://github.com/balbasty/cornucopia/pull/15/files#diff-15c34e2ca18e5c7ea2ab90eb6477ddc18e10575609a56b87d1eaf202cb844b6c (2)
M cornucopia/fov.py https://github.com/balbasty/cornucopia/pull/15/files#diff-ff35709032106f1653c47539d78f65cd75079d3f0076c5782ae5a7cf2f1bf9eb (144)
M cornucopia/random.py https://github.com/balbasty/cornucopia/pull/15/files#diff-f7b5512352901d4b171ce84ac63e6d3cc08ed7dd31fafc70d0b3668e7e6d02d4 (2)
M cornucopia/tests/test_run_fov.py https://github.com/balbasty/cornucopia/pull/15/files#diff-3ed6bd109df2de53db549621ca3c4926f2335a53b4abe7c7b658a0644e9d5861 (34)
Patch Links:
https://github.com/balbasty/cornucopia/pull/15.patch
https://github.com/balbasty/cornucopia/pull/15.diff
—
Reply to this email directly, view it on GitHub https://github.com/balbasty/cornucopia/pull/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMVGY5D5INO2N5AIMJ2R5LX2NI43ANCNFSM6AAAAAA4YT3JUU.
You are receiving this because you were mentioned.

Hi @seannz any bug to report? Can I merge?


stateio: pin bg task to StateIO instance to allow stopping

The link between the celery background task and StateIO instance -- sio -- that is used to manage an export/import is one-way: the task will update sio, but only on successful completion.
Two problems with this:

cannot stop the celery task via the sio
if celery task fails, does not update sio to finished or failed status

Proposing

adding CombineBackgroundTask id to sio, such that it's aware enough to stop task
adding try/except blocks to celery tasks such that failures update proper models

Done.


replace secp256k1 to libsecp256k1-rs

#43
test passed by cargo test --features ec_secp256k1

type
before
after
test code link

1 of 1 aggregate
112ms
3ms
aggregate_1_of_1.py

n of n aggregate
458ms
7ms
aggregate_n_of_n.py

t of n threshold
2475ms
68ms
thresholdbig_t_of_n.py

performance improved!
please check my code, thank you.

Now I find two library libsecp256k1-rs and libsecp256k1.
libsecp256k1-rs is fork of libsecp256k1, and have Copy trait and overwrite operators but is not main stream and no production code.
libsecp256k1 require wide modification and has influence to others, how do you think?

Hi @namuyan - looks like great work.
We started experimenting with  this idea in another project: https://github.com/KZen-networks/emerald-city
there we took only the secp256k1 relevant parts of curv and replaced them with  libsecp256k1 (the second lib, the native one).

Thank you for reply.
I now use curv for my project, but emerald-city looks more functional and pure-Rust implement (and compatibility with curv?).
I may use the latter, thank you.

I just change README.md?
UNLUCKY DICE, It looks a low repeatability bug.
https://github.com/KZen-networks/curv/blob/master/src/cryptographic_primitives/commitments/hash_commitment.rs#L78

you are right, we just need to run it again. The problem is that it is unknown for me how to do unit test for probabilistic code. We got stuck on this a while ago (https://github.com/KZen-networks/curv/issues/10).
Any suggestions will be welcome.

Thank you for reply.
I now use curv for my project, but emerald-city looks more functional and pure-Rust implement (and compatibility with curv?).
I may use the latter, thank you.

https://github.com/rust-bitcoin/rust-secp256k1/pull/125#issuecomment-508598506
According to latest merged PR in original rust-secp256k1 - it now supports WASM that was only benefit of libsecp256k1. Performance benefit over rust-secp256k1 is supposedly due to later being constant time. Additionally rust-secp256k1 is a wrapper over original Bitcoin's secp256k1 that is most tested and commonly used library out there.

@vhnatyk I agree. Let's switch back.
@elichai kudos

Glad to hear :)
Using good vetted crypto libraries is important :)

FYI After this: https://github.com/rust-bitcoin/rust-secp256k1/pull/132
There should be a ~15% performance improvement in verification time.

Oh.
I just realized why your performance is so bad.
you launch a new context for every operation: https://github.com/KZen-networks/emerald-city/pull/6/files#diff-cd37acb447aaca91b67e2e383e1b43afL391
Context creation in Secp256k1 is the most intensive part of the library.
You should use lazy_static! or std::syn::Once()(example: https://github.com/elichai/ecc-secp256k1/blob/master/src/secp256k1.rs#L480)
to create the context once and then use it everywhere.
(the context is thread safe as it doesn't mutate after creation)

Ok. let's put the benchmarking stats to bed once and for all:
I used this repo: https://github.com/namuyan/multi-party-schnorr on commit: https://github.com/namuyan/multi-party-schnorr/commit/6c11c408a064225b990ec55bbb291994791031b8
Before I changed anything I got consistently these stats:
1-of-1 = 142 mSec
n-of-n = 447 mSec
t of n threshold = 3048 mSec
After I changed the context to be created before the tests and then used it globally I got these stats:
1-of-1 = 1mSec
n-of-n = 1.5 mSec
t of n threshold = 42mSec
And this is with a lot of over head.
in secp256k1 sign/verify time are measured in uSec(micro). not mSec(mili).
@omershlo @namuyan.
If you want I can open a PR for lazy_static/sync::Once

@elichai please!

Will do.
Do you prefer unsafe code or a new dependency? (in reality their doing almost the same thing)

unsafe

Thank you for quality up!

After I changed the context to be created before the tests and then used it globally I got these stats:
1-of-1 = 1mSec
n-of-n = 1.5 mSec
t of n threshold = 42mSec

Is this performance with emerald-city? or curv?

curv. and create a key before you measure performance so that the context will be available already (you shouldn't count the context creation as part of the performance test)


Does angular2-swiper not  support AoT compilation?

When I try to compile my project with ngc, it throws the below error:
Error: Unexpected value 'KSSwiperModule' imported by the module 'AlbumModule'
my album.module.ts
import { KSSwiperModule } from 'angular2-swiper';
It seems missing metadata.json files for AoT compilation.
See:
https://github.com/angular-redux/ng2-redux/issues/223

+1

I use ionic 2 and I have the same error when try to build; following the example you provide here .
Error: Unexpected value 'KSSwiperModule' imported by the module 'AppModule'
ngc failed

+1

+1 get the same error

Not sure if this is still being maintained but I created a fix for this for myself if anyone needs. You can find it in npm module form here https://github.com/joezeleny/angular2-swiper-dist to install from.


[WIP] Add Solarwinds Orion pack.

Orion
Status
WIP, creating the PR for visibility, linting checks and comments.

new pack, work in progress

Description
Add pack for integrating with the Solarwinds Orion monitoring platform.
Checklist (tick everything that applies)

[X] Metadata: pack.yaml, icon, structure (required for new packs)
[ ] Version bump (required for changed packs)
[ ] Code linting (required, can be done after the PR checks)
[ ] Tests (not required but really recommended)
[ ] Add more actions & alaises.
[ ] Refactor actions to use lib.

Thanks for the contribution!
I will look into it shortly.

Very interested in this and something can actually contribute to finally.

Cool, I'm attempting to come up with the list of actions to include on the initial merge.
So far I have the following actions:

ncm_config_download.
status.
unmanage_node.
remanage_node.

And so far planning to look at updating custom properties, adding nodes to NPM & NCM. These ~7 actions seem like a good starting point. So I'll then look at adding more actions & aliases in with additional PRs.

Thats a good start , another awesome feature would be able to check IPAM IP statuses and also set statuses

Last time I checked, IPAM did not have much in the way of API hooks. Hopefully this has changed.
There was issues with our fork of the repo, so this has been replaced by PR#466.


Refactor Firebase Authentication

Using the Angularfire API
https://github.com/firebase/angularfire/blob/master/docs/guide/user-auth.md

We are currently using user authentification for board control, so only the people who have the URL can access the board. I will close this issue for now.


Emphasize PEP8 (non-TF spacing) compliance in README.md

split out from https://github.com/tensorflow/addons/pull/308


Promise fixes

Adapting stomp for new promise api

Both this and #33 upgrade to Promise 2. One of the PRs needs to be rebased to current master (adds socket 0.4 support, drops PHP 5.3, fixes Apollo failing unit tests).

Resolved by #33


I can't create react app

npm -v
8.3.0
node -v
v17.2.0
When i type: npx create-react-app mdb-app. After a period of time. I would get this in the terminal:
**npm ERR! code ENOENT
npm ERR! syscall spawn bash
npm ERR! path C:\Users\MSI\Desktop\30days\react\mdb-app\node_modules\core-js
npm ERR! errno -4058
npm ERR! enoent spawn bash ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR!      C:\Users\MSI\AppData\Roaming\npm-cache_logs\2021-12-15T19_57_27_083Z-debug-0.log**
Aborting installation.
I also tried this, which helped many people on stackoverflow. But there was no use.
npm uninstall -g create-react-app && npm i -g npm@latest && npm cache clean -f
npx create-react-app mdb-app

did you do rm -rf node_modules?

Closing issue - we don't support node v17 yet - https://github.com/facebook/create-react-app/pull/11609

Thank you! It works!


Questions about real-time target detection model based on DETR

May I ask the author which model your work is based on, such as DINO?
Why do you think this design can achieve the effect of real-time target detection? What is the theoretical analysis?
Can the real-time target detection model based on DETR beat YOLOv9? Is the DETR model suitable for real-time target detection tasks?

你问得这些问题都能在文章里找到
https://arxiv.org/abs/2304.08069


Azure Logic App Standard Extension 2.80

Type: Bug
This extension does not work correctly. In a workflow actions like "List Folders" which should connect to sharepoint and show folders in a Library do not work. The concurrency Cpntrol for the "For Each" loop action simply does not show up even if you have it in the json code. I don't know how many other actions are effected but the ones I mentioned above, I am certain do not work. I even tried the "Use Azure Connectors' option and it changed nothing.
VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

Hi @bickhamr
This issue appears to be a support question specific to the extension which is best addressed by the extension owner.  I recommend visiting the extension page on https://marketplace.visualstudio.com/ and posting a question there. Let me know if I can help you with anything else.


parsing coredata objects

Can we use Unbox with CoreData objects.
If so can you please help me.

@SuvarnaRatna-DevRabbit Sure, you can extend your NSManagedObjects to support Unbox, just like any other object, like this:
extension MyObject: Unboxable {
    init(unboxer: Unboxer) throws {
        ...
    }
}


greedy route matching

Implements greedy matching for <RelativeFragment/> by providing unique ids to fragments and tracking which route has been matched for each fragment, so sibling fragments know whether or not to render.
This would be a breaking change and require a major release as far as I can tell.
I'm still working on reviewing all the implications of this new matching system, but figured I'd open the PR for review 👍
/cc @tptee 🎉

Current coverage is 98.58% (diff: 94.11%)

Merging #108 into master will increase coverage by 0.09%

@@             master       #108   diff @@
==========================================
  Files            15         17     +2
  Lines           199        212    +13
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            196        209    +13
  Misses            3          3
  Partials          0          0

Powered by Codecov. Last update 4432f9f...baed343

Excited to review this! I want to check this against some client work as well, but I imagine we can get this in sometime tomorrow 🎉

Any plans for when this will be part of a release?

Released in v12.0.0!


Please add the methods dropdown to the the razor file editor

This issue has been moved from a ticket on Developer Community.

At the top of the .razor editor in visual studio there should be a dropdown with the names of the methods on the page so you can navigate directly to them, just like there is in the .cs file editor.

Original Comments
Feedback Bot on 7/19/2021, 08:07 PM:
Thank you for taking the time to provide your suggestion.  We will do some preliminary checks to make sure we can proceed further.  We'll provide an update once the issue has been triaged by the product team.

This was fixed by https://github.com/dotnet/razor/pull/8911 in 17.8


Add RD kate-carruthers

Docs Build status updates of commit c171db1:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

rd/kate-carruthers.yml
:x:Error

Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/toc.yml
:warning:Warning

Details

rd/kate-carruthers.yml

[Error-InvalidYamlFile] kate-carruthers.yml is not in supported format: (Line: 21, Col: 12, Idx: 1281) - (Line: 22, Col: 1, Idx: 1291): While scanning a plain scalar, find a tab character that violate intendation.

rd/index.yml

[Warning-UidNotFound] Unable to find uid "rd.kate-carruthers".
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/map.yml

[Warning-UidNotFound] Unable to find uid "rd.kate-carruthers".
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/toc.yml

[Warning-UidNotFound] Unable to find file with uid "rd.kate-carruthers" referenced by TOC file "toc.yml"

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 7782b66:
:warning: Validation status: warnings

File
Status
Preview URL
Details

rd/index.yml
:warning:Warning

Details

rd/map.yml
:warning:Warning

Details

rd/kate-carruthers.yml
:white_check_mark:Succeeded

rd/media/profiles/kate-carruthers.jpg
:white_check_mark:Succeeded

rd/toc.yml
:white_check_mark:Succeeded

rd/index.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

rd/map.yml

Line 0: [Warning-InvalidFileLink] Invalid file link:(~/about).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/CodeOfConduct).
Line 0: [Warning-InvalidFileLink] Invalid file link:(~/map).

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


KAFKA-13660: Use reload4j instead of log4j12

This PR bumps the version of slf4j-log4j12 to 1.7.36 which automatically uses slf4j-reload4j. The slf4j-reload4j binding delegates log processing to the reload4j logging framework.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Call for review: @edoardocomar since you also commented on the other PR.


gdal: fixed typo

it should make debug builds working again

Hi @Asozial , thanks for your contribution to the vcpkg.
Could you also update the version in the CONTROL file?

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


Unable to run any extensions

On startup of visual studio code, getting CPU performance error.

/needsMoreInfo
See https://github.com/microsoft/vscode/wiki/Performance-Issues for specific advice about performance issues.


Implemented dump and compile commands for keyvi cli

added 'dump' sub-command
added 'compile' sub-command (currently supports only 'key-only' and 'json' dictionary types)

LGTM
For dumping I have 1 wish: It would be nice to have a json version of dump, so that key and value are wrapped by json.dumps(...). I have some dicts - you know which - that have control characters in there key.
What about a dump_json command? Or shall we parametrize the dump command?

Coverage remained the same at 84.935% when pulling dc0b4104a1d5ffe956a58c26155c614a0c899240 on narek-cliqz:keyvi-cli into 5e485a0dd3033bee80ea805a82608da82baf71a3 on cliqz-oss:master.

Coverage remained the same at 84.935% when pulling 87b2b1ac77158e3d348f718afd1351d22dfa380b on narek-cliqz:keyvi-cli into 5e485a0dd3033bee80ea805a82608da82baf71a3 on cliqz-oss:master.

I think it's better to parametrize the dump command, as it's a just another mode of dump.


Merge bitcoin/0.12 + few fixes

“why?” https://github.com/bitcoin/bitcoin/blob/0.12/doc/release-notes.md#notable-changes
What's inside:

Merge all commits from remote-tracking branch 'bitcoin/0.12' and refactor code to match new structures/functions/arguments
Refactor keepass to use evhttp (need testing)
Move most hardcoded mainnet/testnet magic numbers to consensus part of chainparams, get rid of most if(Params().NetworkIDString() == CBaseChainParams::MAIN) and alike to unify formulas. Further improvements will require testnet restart (see TODO notes in changed code) so I'm keeping few things as they are till then.
There is no more AcceptableInputs, AcceptToMemoryPool/AcceptToMemoryPoolWorker have fDryRun parameter instead
Fix consensus.nSubsidyHalvingInterval (210000 -> 210240)
Replace hardcoded 9999 with Params(CBaseChainParams::MAIN).GetDefaultPort()
Replace all hardcoded network message strings with NetMsgType:: constants, log unknown commands (net debug category only)
UI fixes:
Refactor tools menu signals/slots, add more keyboard shortcuts
Refactor sync progress to use signals, remove lock from masternode count label updates
Fix icons in tx list to preserve our ui styles, fix about/cmd-line help dialog
Get rid of the new warning icon and use old text label instead
Update overview screen ds rounds/amount/progress when settings changed (we were already sending signals but connectors in overview screen were missing)
Quick fix for testnet - we reeeeally should restart it one day, it’s broken (see https://github.com/UdjinM6/dash/commit/29b1af2bb1bbdc3aa88de8f5016c2dcedd677fc7 and TODO in https://github.com/UdjinM6/dash/commit/e8d9aabb62c17625bbf146151d7a93a0ffde33f5)
Add note about GetBlockSubsidy using previous height, changed var names accordingly
Add few more debug messages for masternode category
Move historical bitcoin release notes to appropriate subfolder

Few notes/todos:

RBF is set to false by default (shall we remove RBF completely?)
I can’t compile on linux without --disable-hardening yet, it complains about x11 crypto (but as a side effect of --disable-hardening (?) - ubuntu recognize dash-qt as an executable again so maybe we should consider this as a default option?)
new keepass integration code need to be tested
gitian build is probably broken too, haven’t tested yet
release notes should be updated

Many thanks, I'll do some local build tests first to see if gitian/travis broke.

Yay, thanks!

@UdjinM6 i have fixed the issue with --disable-hardening: x11 crypto was compiled without fPIC support, which made Dash client linking fail.
I've commited the fix to 12.1 branch - can you retest on your side as well?

@schinzelh Bingo! :+1:

Gitian/Bamboo almost working again, only Windows build has i minor issue
/usr/bin/x86_64-w64-mingw32-windres -DWINDRES_PREPROC -i qt/res/dash-qt-res.rc -o qt/res/dash-qt-res.o /usr/bin/x86_64-w64-mingw32-windres: can't open icon file icons/bitcoin.ico': No such file or directory
/usr/bin/x86_64-w64-mingw32-windres: preprocessing failed.
make[2]: *** [qt/res/dash-qt-res.o] Error 1
make[2]: Leaving directory /home/travis/build/dashpay/dash/dash-x86_64-w64-mingw32/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/travis/build/dashpay/dash/dash-x86_64-w64-mingw32/src'
make: *** [all-recursive] Error 1
`

Hope #700 help solving minor issue.

@thelazier thanks, that solved it, gitian builds working now again.
Travis is still failing due to some broken unittests, needs some more work.


Add navbar and footer to individual project and blog page

Right now there is no navbar or footer in the individual project page or blog page. It is difficult to return to home page from there. Once the navbar is finalized, it should be added to these pages as well. Image of current page shown below.

Link to this page: https://prep-22-p3-2.netlify.app/projects/project

Hey @prakharrathi25 ! I think this has been added check here. https://prep-22-p3-2.netlify.app/#projects-nav

Hey @prakharrathi25 ! I think this has been added check here. prep-22-p3-2.netlify.app/#projects-nav

There is no navbar on these pages though. If we don't need it then I will close the issue.

Hey @prakharrathi25 ! I think this has been added check here. prep-22-p3-2.netlify.app/#projects-nav

There is no navbar on these pages though. If we don't need it then I will close the issue.

My bad I just read footer in the issue title. Yes, I think we need it help us easily navigate to homepage.

There is no navbar needed on these pages, but in mobile view the theme toggle should still be visible. Also, the mobile navigation icon still shows on smaller screens, which is a bug.

@marcnjaramillo Works fine for me on Chrome.


Unable to change the datetime format

Hello,
I'm trying to change the format of my DateTime value as "dd-mm-yyyy hh:mm A", example: 18th June 2017, 11:30 AM should be displayed as 18-06-2017 11:30 AM in the textbox area.
I'm fetching the values of datetime field from database and I'm unable to change the value in the DateTime Picker in the required format.
The only format that works is YYYY-MM-DD HH:mm A.
The required format "dd-mm-yyyy hh:mm A" produces datetime in some unreadable format like Di-06-yyyy 07:13 PM.
Below is what I'm currently having:-
$('.datetimepicker').datetimepicker({
            defaultDate<EMAIL_ADDRESS>            minDate: new Date(),
            format: 'YYYY-MM-DD HH:mm A',
            showTodayButton: true,
            sideBySide : true,
            showClose: true,
            showClear: true,
            toolbarPlacement: 'top'

        });

With my ASP.net MVC code:-

           @Html.DisplayFor(modelItem => item.StartTime)

                @Html.ActionLink("Edit", "Employee", new { startTime = item.StartTime})

And in my C# code,
        [Display(Name = "Scheduled Time")]
        [DisplayFormat(DataFormatString = "{0:dd-MM-yyyy hh:mm}")]

        public DateTime StartTime
        { get;set;}

I've attached the screenshot of the Page for reference.

Is there any way I can change the date in the required format with this DateTimePicker?

Hi, I see that on your table example your format string come as 09-04-2014 03:35, so it's a dd-MM-yyyy hh:mm, then on the format it should be format: 'DD-MM-YYYY hh:mm A' as you have it like HH:mm what for moments documents it's interpreted like 24H format time.

The required format "dd-mm-yyyy hh:mm A" produces datetime in some unreadable format like Di-06-yyyy 07:13 PM.

That's the same for moments as:
dd: Su Mo ... Fr Sa
yyyy: doesn't exist and that's why it's showing like a string
if any more help is need it just ask :)

Thanks William for response.
I've been trying to work on this issue, but its behaving differently.
Here's is my updated Javascript:-

But it doesn't work in IE 11 and Firefox 45.9.0 on Windows 7.
On load, the datetimepicker box appears blank and the default date appears when I click on the datetimepicker textbox.
Also, Under Edit mode, the datetimepicker doesn't take the original time value as displayed in the table, instead it picks Current Time.
I've attached screenshot for reference.

NOTE: Interestingly the same script works in Windows 10 with Microsoft Edge as shown in below screenshot.

Can you please suggest how to make it work?
And how to make the display common for all the browsers with Win7/10 support ?

Hi I see you're using MVC so let's do this

On your edit form I suppose you load things like this:

@Html.EditorFor(model => model.Field, new { htmlAttributes = new { @class = "form-control" } })
As this is suppose to load the model with the data, so then this way data should be displayed from start right? So on the plugin there should be no need to set up defaultDate
On the plugin I see you set the minDate to: new Date(), what means that min date should be today at the current time, that's why that it should not take that 8:35 am, but you can kinda skip that using on the options
useCurrent: false
that for

Also, Under Edit mode, the datetimepicker doesn't take the original time value as displayed in the table, instead it picks Current Time.

I've been using that way with MVC5 and have no problem till today, unfurtanly can show you any example right now as I'm on work right now :/

Thanks @William-H-M for your inputs and support.
I've made some changes in my code to make it work.
$(function () {

 $('#scheduleDate').datetimepicker({

    useCurrent: false,
    minDate: new Date(),
    format: 'DD-MM-YYYY hh:mm A',
    showTodayButton: true,
    sideBySide: true,
    showClose: true,
    showClear: true,
    toolbarPlacement: 'top'

  });
});

In my Edit Form (Partial View):

 @Html.TextBoxFor(model => model.StartTime, new {  @class = "form-control" })

And I've changed the type of my model field "StartTime" from DateTime to String and made changes wherever necessary to Convert String to DateTime (using DateTime.ParseExact()) method with required format "dd-MM-yyyy hh:mm tt" .
This works now.


envoy-alpine ARM64 support

Title: envoy-alpine ARM64 support
Description:
envoy-alpine images currently do not support ARM64 architecture.
Please create alpine based images with ARM64 support.
[optional Relevant Links:]
https://hub.docker.com/r/envoyproxy/envoy-alpine/tags

I see now https://github.com/envoyproxy/envoy/issues/19781


Build pipeline

Sorry, I mistakenly created a pull request. I've already cancelled it.

Sorry, I mistakenly created a pull request. I've already cancelled it.


[Android]Android relies on the weex SDK 0.28 source code

Android relies on the source code of weex SDK version 0.28. Since the SDK no longer provides libweexcore.so file, I need to implement the work of xiangguang. what should I do

Well, Weex provides libweexcore.so as always. You could check it from the convience binary of Weex.
Weex doesn't provide JavaScript interpreter, and the supproting information is also on the change log.


Header component can be improvised

Describe the bug
The header component is kind of not consistent on every page. We can improvise the respective CSS for it. Right now, It's looking like this

We can work more on this
Things to follow up

[ ] Layout of the header component
[ ] Hovering effect
[ ] Logo is not looking properly when using in mobile (mobile-view)

If you want @Ayan-thecodeking, I can fix this issue.

@yashsehgal bro we are redesigning the whole website ...you can check out the designs


Docs Site

Codecov Report

Merging #11 (457e97b) into master (82acdec) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           21        21
  Lines          729       729
=========================================
  Hits           729       729

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 82acdec...457e97b. Read the comment docs.


[stable/kube-slack] Upgrade image to latest version

What this PR does / why we need it:
Latest version of kube-slack is v3.6.0 (https://github.com/wongnai/kube-slack/releases). This PR upgrades kube-slack image to latest version.

/assign davidkarlsen

/ok-to-test
/lgtm


Application Crash during fetchallarrow

I am facing very strange behavior while fetching arrow results. The app crashes with error: "The instruction at 0xfcdf12de referenced memory at 0x854a2000. The memory could not be read."
I use multithreading and for about a month everything was ok. The code is very simple. It creates and closes connection within a thread. The machine has 64GB of RAM and that's not an issue.
After some investigation I have figured out that app crashes while fetching results.
Can it be related with cpp code and dlls within turbodbc package?
con_options = turbodbc.make_options(
        prefer_unicode=True,
        limit_varchar_results_to_max=True
    )

def get_data(query, con_string):

    con = turbodbc.connect(connection_string=con_string, turbodbc_options=con_options)
    cursor = con.cursor()
    cursor.execute(query)

    data = cursor.fetchallarrow()

    cursor.close()
    con.close()
    return data

conda env:
pyarrow            3.0.0
python        3.6.12
turbodbc     4.1.2

This is really hard to tell without a reproducible example or a stack trace. The code you have posted is the typical usage and well-tested in CI. Bugs can definitely occur but the information is too sparse to find out why.


Dynamic Serial Port Parameter Adjustment Requirement: Modifying Baud Rate, Data Bits, and Parity Bit Without Closing the Port

老.王 Mr. Wang, your project is excellent, but could you possibly modify parameters such as baud rate, data bits, and parity bit without closing the serial port while it is open? It's too cumbersome to close the serial port every time we need to modify the parameters. Could you address this issue? Thank you very much!

Ok, the suggestion is received. I will try to improve this problem in subsequent versions. I'm glad this project is helpful to you.

I didn't find an API that can modify the parameters without closing the serial port, I made a little optimization, if the parameters change automatically reopen the serial port, you see how the experience is


Implement the Request for Help component (#131) fixed

Fixes #131
What was changed?
I changed the Request for Help page.
Why was it changed?
It was changed so that shelters could use the calendar to request more volunteers for a specific shift.
How was it changed?
I created a RequestForHelp.js file and used the react-big-calendar library to make the calendar. I wrote code to make, edit and delete a request and made sure it is mobile friendly.
Screenshots that show the changes (if applicable):
They can drag to choose the time interval or click on it to pick a 30-minute interval

Then  you can enter the number of volunteers required. The Shift Name is optional.

Then hit Submit to make a shift request. It will show up on the calendar.

You can edit your request by changing any fields in the form. I changed the end-time in this case.

Hit Save Changes, and you will see the time interval is expanded.

On mobile, you cannot drag, but can click on the slot to pick a 30-minute interval and change the start time and end-time.

Click Submit and your requested time interval will display on the calendar

You click on the time interval to edit your shift request.

@tnhi26990 I noticed that the calendar allows creating events for past dates, and I was wondering if you could help me understand the reasoning behind this choice. I had initially thought it might be better to restrict event creation to future dates, especially for volunteer requests, but I'd love to hear your perspective on this.


update deprecated api version

This updates ClusterRole/ClusterRoleBinding kind apiVersion into v1 because v1beta1
is already deprecated in K8s 1.17 and deployment of ovs-cni.yml throws below warning.
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRole is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRole
Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding

Signed-off-by: Periyasamy Palanisamy<EMAIL_ADDRESS>

/release-note-none

These files are generated based on https://github.com/kubevirt/ovs-cni/blob/master/manifests/ovs-cni.yml.in#L81. Would you please update the source and run make manifests?

ah! yes, now updated the source file as well.

/cc @JanScheurich

Thanks!
/lgtm
/approve


Allow specifying output path

Hi, thanks for an useful utility!
However, it currently has output path hardcoded, which makes it unusable for VS Code Insiders (different path). I know it is possible to generate output file with -p and manually copy it, but why? The whole point of this tool is automation. So let's automate properly.
Please allow a flag -o (currently commented out in your code) to specify where to output the snippets. Or better yet, allow storing such configuration so it is remembered (.toml/.yaml, ...) between runs.

Hi technodrome, thanks for your advice.
The reason I commented out the -o is because i think we can use -p and the > operator to do the same thing but more flexible. Like
snp -p > my.json

is equal to:
snp -o my.json

I am considering add an extra option (maybe -i) to output to VS Code Insiders path, for example:
snp -u -i

How do you think about it?

Hi technodrome, thanks for your advice.
The reason I commented out the -o is because i think we can use -p and the > operator to do the same thing but more flexible. Like
snp -p > my.json

is equal to:
snp -o my.json

I am considering add an extra option (maybe -i) to output to VS Code Insiders path, for example:
snp -u -i

How do you think about it?

Thanks for finding time to reply, @djyde.
Sure thing, you can automate it with a shell alias but that's an extra step that shouldn't be necessary. If Insiders or Code paths should change, you'd have to redistribute a new version. But if you create a small config file with paths, there's nothing you need to change - only the user.
So I'd personally go for giving the user an ability to customize stuff as they want so you don't have to support hardcoded paths in the long run. You might find such config file useful for other operations in the future as well.

Thanks for finding time to reply, @djyde.
Sure thing, you can automate it with a shell alias but that's an extra step that shouldn't be necessary. If Insiders or Code paths should change, you'd have to redistribute a new version. But if you create a small config file with paths, there's nothing you need to change - only the user.
So I'd personally go for giving the user an ability to customize stuff as they want so you don't have to support hardcoded paths in the long run. You might find such config file useful for other operations in the future as well.


Embed and serve static files

I embed my views using the embedded file provider like this:
services.Configure<RazorViewEngineOptions>(options =>
{
    options.FileProviders.Add(new EmbeddedFileProvider(
        GetType().GetTypeInfo().Assembly,
        baseNamespace: "hwapp.EmbeddedResources"));
});

Inside the EmbeddedResources directory I have my my /js files which I would like to serve via some/url to my views. is this possible today?

You can use StaticFileOptions.FileProvider to have it serve embedded content.
app.UseStaticFiles(new StaticFileOptions
{
   RequestPath = new PathString("/js"),
   FileProvider = new EmbeddedFileProvider(
     GetType().GetTypeInfo().Assembly,
     baseNamespace = "hwapp.EmbeddedResources.js"
});

@pranavkm Cool, thanks!

@pranavkm the baseNamespace seems to refer to the name of the directory where the Startup.cs is located, in my case hwapp. Is it possible to configure the namespace from the project.json or how can I register the EmbeddedFileProvider so it works regardless of the name of the parent directory?

@marcuslindblom, you can use namedResource to specify the "full name" for a resource.
"namedResource": {
  "CustomNamespace.File.js": "Test.js"
}

That said, this question is probably more appropriate for the CLI (https://github.com/dotnet/cli/). You should get more visibility for the project.json format and compilation there.

Ok, thanks!


Update Composer dependencies (2022-04-26-00-11)

Visual regression test passed!
View the visual regression test report


Getting an error when opening up login modal iOS

Not sure what I’m doing wrong here. But I seem to be getting an error after initiating the login. Here is where I get stopped.

Same for me!


Save Button

WHEN I click the save button for that time block
THEN the text for that event is saved in local storage

Save button saves to the local storage until clear button is selected.


fix:(#4144): SearchField: contextual help button displayed wrong

Closes #4144
Can't be tested in storybook. It is working correctly in storybook, but wrong in docs and production builds. The css import order must be different between storybook and production builds, which should probably be investigated separately by a spectrum team member so that storybook always accurately reflects production.
✅ Pull Request Checklist:

[x] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[x] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Confirm contextual help icon appears beside label in docs build, and storybook behaviour remains unchanged when a contextual help label is applied for both top and side label positions.
🧢 Your Project:
none. just exploring library

GET_BUILD

Ran chromatic VRT, everything is green https://www.chromatic.com/build?appId=5f0dd5ad2b5fc10022a2e320&number=463
I'm a little worried about why we had that line, one of us will need to do a more in-depth look, but it's passing the automation testing.

Thank you!


Webview example

Kind of off-roading here, but...
This is basically a Swift rewrite of the RN webview_example app. See this PR for background. I wanted to produce a realistic example of a content-sharing app that includes:

Multiple views with at least one content view that makes use of a BUO
Spotlight listing
Link routing
An example of best SDK practices in a realistic scenario

Submitted for consideration.
To try it out, just pod install and then set up your branch_key and Associated Domains and code signing (adjust the bundle ID if necessary).

Result of Integration 1
Duration: 52 seconds
Result: -1 error, failing state: build-failed

iOS 10.3 / Xcode 8.3 broke the QA bot so don’t worry if integrations fail (for now).

Result of Integration 1
Duration: 7 minutes and 11 seconds
Result: 1 error, failing state: build-errors

Result of Integration 2
Duration: 2 minutes and 37 seconds
Result: 1 error, failing state: build-errors

Result of Integration 3
Duration: 2 minutes and 7 seconds
Result: 2 errors, failing state: build-errors

Result of Integration 4
Duration: 2 minutes and 56 seconds
Result: 1 error, failing state: build-errors

I don't mind providing icons. Since it's an example, I thought it was best to leave it fairly plain. Do you think I should use the Branch logo, or were you suggesting something else? I could use one of the public domain Wikipedia planet images or something.

I've added explanatory comments to the Podfile and a possible app icon/launch screen. I'm open to other suggestions there though. That was easy to do.

Result of Integration 5
Duration: 2 minutes and 38 seconds
Result: 1 error, failing state: build-errors

Result of Integration 6
Duration: 2 minutes and 37 seconds
Result: 1 error, failing state: build-errors


IE8: No such interface supported

Per https://github.com/openannotation/annotator/issues/428 it looks like the definition for contains doesn't work in IE8 as-is.  I'm not very familiar with this code, but this looks really similar to Jquery#9815 ?   For context, this is being generated by the unit tests.

Closed by #7 I think.


Tidyverse and misc edits

Some minor edits to tidyverse materials, git config, plus working towards being compatible with more versions of epiprocess.
Not covered here:

I haven't pushed the re-rendered files.
I may try to work in an epiprocess release & update further here.
I'm leaving cutting down join material + other tidyverse edits to @rachlobay.

Looks great! Thank you, Logan. I'm going to render this & merge to main so I can work off of your changes (esp. to the tidyverse section).


Arrow Flight Dictionary Support

The dictionary support added in #1262 hydrates dictionaries for arrow flight. In some situations it is possible to do better than this.
This is somewhat complicated because dictionaries may be shared across columns for some record batches, however, the dictionary ID is encoded in the schema and must be constant for a given column.
A very basic protocol would assign each column in the schema a unique dictionary ID, and before sending each record batch send out a non-differential dictionary update containing the dictionary for the column within that record batch.
This is potentially wasteful, and will likely want to incorporate heuristics for when it is better to hydrate the values and/or re-encode the dictionary, but should be easy to implement.

Created on the wrong repository... :facepalm:


Hiding fields based on page needs Pages\EditUser not just EditUser

Package
filament/filament
Package Version
v2.5.31
Laravel Version
v8.76.2
Livewire Version
v2.8.2
PHP Version
PHP Version 8.1.0 Build Date Nov 28 2021 01:42:05
Bug description
In the documentation for "Hiding components based on the page", it says we can hide the password field on the EditUser page like this:
->hidden(fn (Component $livewire): bool => $livewire instanceof EditUser)

But in my project this is actually checking if the Component is an instance of App\Filament\Resources\EditUser - which it never is.
My  current workaround is to check like this instead, specifying that EditUser is in Pages:
->hidden(fn (Component $livewire): bool => $livewire instanceof Pages\EditUser)

Similarly, I'm changing ->visible(fn (Component $livewire): bool => $livewire instanceof CreateUser) to ->visible(fn (Component $livewire): bool => $livewire instanceof Pages\ CreateUser) for the same reason.
Either I'm doing something wrong (which is always possible!), or the documentation is slightly incorrect.
Steps to reproduce
Just follow the documentation for "Hiding components based on the page" in a fresh filament install
Relevant log output
No response

Sorry, I probably didn't make it clear that the class needs importing. I'll add it to the docs.

Thanks.

Thanks @danharrin.  I would be happy do a PR but I couldn't find "Hiding components based on the page" in the filamentadmin.com repo ... is it in a database perhaps?
Anyway, I'm really happy to do a PR if that helps, if someone can point me to the right file.

I've already done it, just need to redeploy the site :)

Btw - the docs are in the /docs directory of each package.

I've already done it, just need to redeploy the site :)

You, sir, are a champion.  Many thanks!

Btw - the docs are in the /docs directory of each package.

Well, that's embarrassing! I'll look harder next time.  :-)

No worries ahah! Enjoy the rest of your day.


Need a way to disable divider - List

Description of the Feature
Need a way to disable the divider for all List widgets.
Now BaseListItem have
Divider mode. Available options are: ‘Full’, ‘Inset’ and default to ‘Full’.
but we also need a None option

@Kulothungan16
https://github.com/kivymd/KivyMD/blob/master/kivymd/uix/list.py#L747

please update the doc, users may get confused
https://kivymd.readthedocs.io/en/latest/components/list/#kivymd.uix.list.BaseListItem.divider


The class attribute appears to do nothing

Describe the bug
I was experimenting with adding CSS to the Table component, to see if I could pass in styles from my component that has a table in it. I put the following in my

Note: the browser I use is actually Firefox 129; I have no idea why npx envinfo below didn't pick up Firefox and only sees Chromium. But all browsers will behave the same way with this particular issue, since it's a matter of the string "foo" not being added to the class attribute of the element. (Indeed, I tested with Chromium and had the same results).
Version and System Info
System:
    OS: Linux 6.8 Linux Mint 22 (Wilma)
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 8.50 GB / 62.56 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 22.2.0 - ~/.nvm/versions/node/v22.2.0/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v22.2.0/bin/yarn
    npm: 10.7.0 - ~/.nvm/versions/node/v22.2.0/bin/npm
  Browsers:
    Chromium: 128.0.6613.84
  npmPackages:
    @sveltejs/kit: ^2.5.25 => 2.5.25
    svelte: 5.0.0-next.241 => 5.0.0-next.241
    svelte-5-ui-lib: ^0.9.5 => 0.9.5
    vite: ^5.4.3 => 5.4.3

You need to use tailwind css and prop divClass:

// more lines


Automatic formatting on HTML files ruins the file termination

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.60.2 (system setup)
OS Version: Windows_NT x64 10.0.19043

Steps to Reproduce:

Open an HTML document
Select 'Format Document' command (Shift+Alt+F)
If the file terminated with a newline character, that's not the case anymore

"html.format.endWithNewline": true
Note that it can only be true or false, so always insert or trim the final new line, there is no leaving as-is

@yume-chan Thank you, it's a perfect workaround for me. However, a leaving option (perhaps by default) may be helpful as well. (I got used to it formatting C++ files.)

I remember there was a discussion about changing final new line to default, but I can't find the issue now.

Probably that could also cause some problems. I think leaving as-is by default would be the best solution, but that leads to some compatibility/legacy issues.

The leaving as-is variant would have to come from js-beautify, which we use as the underlying formatter.
You want to check in https://github.com/beautify-web/js-beautify/issues if they already have that request.


feat: delete apiVersion from globalConfig.json and bump schemaVersion

apiVersion from globalConfig is not used and is already marked as optional in UCC UI repository (https://github.com/splunk/addonfactory-ucc-base-ui/pull/57)

Codecov Report

Merging #243 (2424564) into main (52fa6a6) will increase coverage by 0.12%.
The diff coverage is 94.11%.

@@            Coverage Diff             @@
##             main     #243      +/-   ##
==========================================
+ Coverage   57.57%   57.69%   +0.12%
==========================================
  Files          39       39
  Lines        2527     2539      +12
==========================================
+ Hits         1455     1465      +10
- Misses       1072     1074       +2

Impacted Files
Coverage Δ

tests/data/test_ucc_generate.py
90.00% <ø> (-2.31%)
:arrow_down:

splunk_add_on_ucc_framework/__init__.py
73.53% <90.00%> (+0.33%)
:arrow_up:

tests/unit/test_config_file_update.py
100.00% <100.00%> (ø)

...ework/modular_alert_builder/build_core/__init__.py
87.64% <0.00%> (-1.13%)
:arrow_down:

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 52fa6a6...2424564. Read the comment docs.

@arys-splunk I think our mistake is the api version is not used not that we added it at all. Rather than remove it could this apiversion field be used to document and version config api's so customers who desire to could configure the add-on via rest?

@rfaircloth-splunk Isn't schemaVersion introduced to achieve the same?

@arys-splunk I think our mistake is the api version is not used not that we added it at all. Rather than remove it could this apiversion field be used to document and version config api's so customers who desire to could configure the add-on via rest?

@rfaircloth-splunk You are talking about rest handlers and their endpoint specifications if I am correct?

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

v5.8.0
GitHub release

Your semantic-release bot :package::rocket:


Implement Tree data structure

Do the checklist before filing the issue:

[x] Do you have Node.js and all the relevant dev-dependencies installed?
[ ] Is this a bug fix?
[ ] Is this an enhancement?
[x] Is this a feature request?

NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.

Give your answer below:

Tree data structure is widely used in competitive programming owing to it's nature of reducing O(n) problems to O(log n) problems. I suggest we implement a generic data structure names Tree, which can be further built up on in the future.
We can can further implement Binary Trees, Binary Search Trees, Balanced Binary Search Trees, Segment Trees etc in the future, using this basic Tree implementation.

I would like to work on this if you accept the issue.

@sateslayer you're assigned.

I've have some doubts regarding the validation which I'm supposed to provide:

How do I check whether a node actually exists in the tree or not? - In a binary tree this is simply a matter of going left or right. Here there might be unknown number of nodes which makes traversal much harder

This is why I thought of changing this issue to the implementation to only binary trees  instead of generic trees. This would be much easier to implement and useful too in programming. Raw trees are hardly ever used; implementing binary trees using a generic tree code is very troublesome

Okay, make it a binary tree!

I'll make the requisite changes in the issue above?

okay


Add a message when the product has been successfully 'saved'

it would be nice to have a message that explicitely says that the product is now in the 'offline edit' section of the app and can be uploaded from there.

Done


Update version to 31.0.0 and add changelog

Which issue does this PR close?

Re #3415.
Rationale for this change

Biweekly release
What changes are included in this PR?

Update version to 31.0.0 and add changelog
See rendered changelog here: https://github.com/spaceandtimelabs/arrow-rs/blob/preparation_for_31.0.0/CHANGELOG.md
Are there any user-facing changes?
Update version to 31.0.0 and changelog

Hi @iajoiner  -- I don't see any changelog in this PR (which is fine, but the title suggests it would be present so I am not sure of your intent)

@alamb Sorry I met with some secondary restrictions earlier today. Back to that now.

@alamb Now everything is correct.


doc: add docstrings and examples for String functions

Add docstrings, usage examples, and doc tests for String.prev, .front, .back, .atEnd.
Improve docstring examples for String.next based on discussion examples for String.prev.

@semorrison Thank you for adding the tests! After all the threads are resolved, I will go back and update the test to reflect the final docstrings.

I updated the tests based on the updated examples.
Let me know if there is any additional areas for improvement. If not, this should be ready to go!

Thanks, David! I hope you had a nice holiday!


Health Check service exception handing were added

There is a bug that if health check could not be initiated (for example missing some dependencies in container) exception is unhandled and health reports are not published.
This bug was missed due to assumption, that DefaultHealthCheckService from ASP.Net Core repository does not throw Exceptions.
There will be later an opened issue and proposed fix to .net core team addressing this, but for now it's better add simple workaround for OMEX.
Here is a picture of how it will look like in SF Health Report

Here is a ASP.NET Core issue: https://github.com/dotnet/aspnetcore/issues/45873


Smart select color themes not working

Framework7 version: 3.2.0
Vue.js version: 2.5.17
Platform and Target: Android

Describe the bug
The navbarColorTheme and formColorTheme parameters of the smart-select component do not work. No matter what color I set the formColorTheme to, nothing happens, and the form color for all the different smart-selects remains the same default theme. When I set navbarColorTheme on a popup smart-select, the navbar disappears and the whole page is out of alignment and has no color theme at all.
Expected behavior
I expect the color themes to change as described in the documentation when these params are changed
Actual Behavior
They do not work

same problem here. still looking for a solution, please help.


conf: reduce gem size

Closes: #140
Goal
Reduce gem's size.
Approach

Exclude all files from gem except source.
Fully qualify require_paths (so client code no longer needs an explicitrequire).
Test locally before merging (by building and installing gem manually).

Related: #73, #79, #80
Signed-off-by: Roderick Monje<EMAIL_ADDRESS>

Is there a compelling reason not to have a lib/google_maps_geocoder.rb and a lib/google_maps_geocoder/*.rb set of files?

Good call. Vaguely recall a namespacing issue that required it, but let's revisit.

Got rid of the version file too, so we got a net reduction of nine lines. No idea what that old namespace issue was.

This is read for review too.


fix testflo call in travis conf and install testflo from pypi

PR#19 in tesflo seems to have broken "tesflo without argument" call
prefer install testflo from pypi releases

:white_check_mark: Build SMT 0.2.442 completed (commit https://github.com/SMTorg/SMT/commit/2788fa91cc by @relf)


Docker sunsets the free Team Organization feature

As you're aware, there has been a recent change in Docker's policy around their free Team Organization which will lead to all existing images to be deleted. More info here https://news.ycombinator.com/item?id=35154025
Since the influxdb image is also hosted on DockerHub, I wanted to check how this change will affect it and if we as consumers of the image should be concerned about it in any way or take any necessary steps.

Closing this issue as a similar one was answered here
https://github.com/influxdata/telegraf/issues/12883


Further explanation wanted

README doesn't explain what this module does (expected at the beginning of the README file)
Also, a screenshot at the top of the README file will not do any harm.

At the top of the README it says:

Text Mask is an input mask library. It can create input masks for phone, date, currency, zip code, percentage, email, and literally anything!

Then below that there is a link to the DEMO


NeuroBlockers increase faster when using neurostimulants

related to #120.

More things to look into:
cyberware:

Bioconductor
COX-2 Cybersomatic Optimizer
Ex-Disk
Camillo RAM Manager

quickhacks:

Memory Wipe
Synapse Burnout
...


Sources - Only 'App' Available

Noticed that only the App source appears available on my sources list - looks like you may have identified and are working on this issue - any workarounds in the meanwhile? i have tried the media.sources service but cant pass plain text
Thanks

What does <prefix>/remoteapp/mobile/HomeAssistant/platform_service/data/getchannellistinfo return if you open the media browser?
What kind of input source do you expect? I tested the integration with a LNB/satellite dish connected to the TV.

Channel lists work great, no problem there, thanks - its the sources.
This topic should populate the source dropndown?
hisensetv/remoteapp/mobile/HomeAssistant/ui_service/data/sourcelist - is what i think it should pull, but doent - below is the
value in that topic:
[{"sourceid":"0","sourcename":"TV","displayname":"tele","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"3","sourcename":"HDMI 1","displayname":"Kindle","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"5","sourcename":"HDMI 3","displayname":"CCTV","is_signal":"1","is_lock":"0","hotel_mode":"0"},{"sourceid":"4","sourcename":"HDMI 2","displayname":"HDMI 2","is_signal":"0","is_lock":"0","hotel_mode":"0"},{"sourceid":"1","sourcename":"AV","displayname":"AV","is_signal":"0","is_lock":"0","hotel_mode":"0"}]
and all i get in the drop down is 'App' as per the image

The values look fine. Please check your logs for _message_received_sourcelist - skip retained message or check if the MQTT message from hisensetv/remoteapp/mobile/HomeAssistant/ui_service/data/sourcelist has the retained flag set.
If this is the case, you have to unset/delete the message from the TV broker and/or from the HA broker. This can be done with tools like the MQTT Explorer.


Global / Multi-DC Kubernetes configuration

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw8IfZMg9Up8SP33/recauVlJw13HDn1Sf
PM: @kannanlakshmi
Eng Partner: @a-robinson

From a user survey:
"We are planning to roll out a global cockroach cluster, with each location being a separate Kubernetes cluster (with a locality specified in each kubernetes cluster). What is not clear from the documentation I've so far read is how we can connect the cockroach nodes hosted in the 2nd/3rd k8s clusters to the existing cockroach cluster."
User runs CRDB on K8s (not production)

Engineering issues:
https://github.com/cockroachdb/cockroach/issues/25188 (insecure)
https://github.com/cockroachdb/cockroach/issues/25189 (secure)


Move cleanData() to onInit()

I think a good chuck of the data manipulation can happen either onInit, or as part of custom callbacks that are only triggered when certain controls (axis, display, etc) change. This may help improve performance when controls are changed.

Looks like most of the time on a click is happening in onPreprocess\deriveVariables(). I think that whole function could just run onInit() instead of onPreprocess().

Could also probably get improved performance by changing from .forEach() to .map() in that function as noted here

Changing scope to just cover moving cleanData


DBZ-5728 MySqlSchemaMigrationIT runs failed

https://issues.redhat.com/browse/DBZ-5728

@harveyyue Applied, thanks!


Issue with k8s.io/docs/tasks/access-application-cluster/connecting-frontend-backend/

Issue description:
While following all the steps in kubernetes document for connecting back-end to the front-end via service.
I get external IP as localhost instead of an IP.
Kindly clear me if anyone [knows.]
PFA

This might be correct. Can you outline how you set up the cluster that you used to run through this task @shikha0208 ?
/triage needs-information

I was doing this in the local machine , not deployed in any cluster.I have to still deploy and i assumed i would get the external IP while port forwarding.
I will check after deployement.


Deploy webpart updates

Category

[x] Question
[ ] Typo
[ ] Bug
[x] Enhancement / Suggestion
[ ] Additional article idea

Desired Behavior
I would love to have the possibility to update a webpart on the CDN without the need to re-upload the .spapp to Sharepoint
Observed Behavior
When I run gulp --ship it creates a new bundle in .\temp\deploy (with a filename different from the previous one). I deploy this to Azure gulp deploy-azure-storage --ship, but now my Sharepoint package is still pointing to the old bundle file.
So now I have to create a new .spapp and upload it to Sharepoint. Not a big problem for now, but in the near future I would like to upload this package to multiple Sharepoint tenants. So it would be great if I could deploy updates for all tenants at once.
Possible solutions
I could think of a these solutions:

Rename the bundle before deploying to the CDN
Automate the uploading of the .spapp

But I can imagine someone already thought about this and this is already possible.

Thanks for the feedback @RoelVB . This is a feature enhancement request and there is a different workflow to follow. Please post your request on our UserVoice. The link is here: https://sharepoint.uservoice.com/forums/329220-sharepoint-dev-platform


For cnn architecture like resnet50

Hi, this work is so great!! I am just wodering about does SimMIM truly work for CNN-based model eg,Resnet50?

Hi, this work is so great!! I am just wodering about does SimMIM truly work for CNN-based model eg,Resnet50?

Hi, have you try this idea?