Status of kernel DMA protection on AMD platforms

My question #6693 was not answered at all.
Everywhere you mention Intel, what about AMD? AMD does support similar virtualization technologies, so what's the status there? Do you plan on supporting AMD-Vi like you support Intel VT-d? The document you mentioned was not reworked to include this information. You know, Thunderbolt is now supported on AMD, too...

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

ID: b9b83e95-63de-87c5-929c-d5f25e33d124
Version Independent ID: 743ead3f-b4a5-1589-6577-e1d12aaa1b92
Content: Kernel DMA Protection (Windows 10) - Microsoft 365 Security
Content Source: windows/security/information-protection/kernel-dma-protection-for-thunderbolt.md
Product: w10
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

@Mr-nUUb . We must verify detailedly before editing this article for support of AMD processors.
Also in AMD official website , there is no detailed technical specifications of each processors. But intel have seperate website to read all specifications from available data sheets.

@Mr-nUUb this article confirms support for AMD.
https://docs.microsoft.com/windows-hardware/design/device-experiences/oem-kernel-dma-protection
Please let us know if you still have any question regarding the issue you have raised initially.

@Mr-nUUb Please let us know if you still have any question regarding the issue you have raised initially.
The issue is being closed since your question seems to be answered. Feel free to re-open this issue if you feel that it hasn't been answered or that there are further suggestions to improve the documentation itself.
Thanks.


Content selection order

Currently we don't control the order that content appears for selection.  This is an issue on the content selection page and the quest editor.

quest editor doesn't matter so much now that we have filtering.

Can just use prefixes on paths to solve this, closing.


validate meeting date

When creating a meeting the start_date and stop_date are not validated.
Specifically end_date can be lower than start_date which shouldn't be the case.
This should be possible relatively easy using angulars validators I think.

Same thing for the backend, if we do this. The backend currently does no validation at all.

Same thing for the backend, if we do this. The backend currently does no validation at all.

Yeah had the same thought later too.
Should the validation happen in two places tho?
Or should maybe just the backend do the validation and the client will just display the error message? 🤔
That would have have a worse UX though as the problem wouldn't be immediately visible to the user and also wouldn't have translation...

That's the age-old validation problem: You always have to validate in both client and server and make sure that the validation stays consistent... So to answer, yes, it should happen in both places for the UX, as you said.
We have to agree on a date format for this to work, though. And the client needs to be able to display it in the user's language and send it to the backend always in the agreed upon format. There is a reason we did not validate this in OS3 when it wasn't needed :D

Huh, how do we have to "agree on a date format" now? Didn't that already happen?
I was under the impression the backend accepts dates/timestamps in unix format (secs after 1970) and the client would already be converting the entered date to that before sending the request to the backend.
For displaying it in the correct locale-format to the user angular should have us covered, no?

You're right, my bad... This should not be much work then.


[v0.16.x] Backport more PRs to 0.16

This backports:
#3625
#3629
#3656
#3662
#3666
#3669
#3672
#3685
#3687
as well as a partial backport of #3636

Tag removed from all backported PRs


Unclear how to use --sample arg to flutter create

Steps to Reproduce

Run flutter create --help
Read the bit about the -s/--sample arg. It suggests there are samples at http[s]://docs.flutter.io that can be pulled directly as starting points using this arg. Go look around at that URL to see if you can figure out what value you might use here. Try searching for "sample" there, but you don't find anything.
Not having found any information about how to use this, try flutter create -s hello-world . on a whim. This just results in:

Download failed.
URL: https://docs.flutter.io/snippets/hello-world.dart
Error: 404 Not Found

Googled a bit too. Did not find any good example of use of this arg.
Perhaps this is an obsolete rabbit hole of an argument that should be removed? Or, is there a more specific docs URL that could be used in --help to get new users directly to list of values that would work?
Logs
[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17763.316], locale en-US)
    • Flutter version 1.0.0 at C:\Users\wade\flutter
    • Framework revision 5391447fae (3 months ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
...

These samples are sprinkled thought the API docs. You can see one example when you switch to the "Sample in an app" tab on https://master-docs.flutter.io/flutter/widgets/SingleChildScrollView-class.html:

@gspencergoog Should we maybe hide the --sample option from flutter create --help? On its own it may be confusing what you can do with it and it's probably only useful when you find the command via the docs page?

I understand the use case now! Thanks for the example. I think it's a neat feature as long as users diving in CLI-first don't get mislead more often than it's used! You'll have to weigh judgement on that.
Another option may be to mention in flutter create --help a more specific docs URL as an example, as you did here, rather than the top level docs URL. That would've set me straight, anyway... rather than looking for some top level list of samples to start with, I would've seen the "Sample in an App" in this one case, then moved on w/ other CLI investigation.

Thanks!


fix: rename EntityMutationTrigger -> EntityMutationExecutable

Why
Now that these are used for both triggers and validators, they should have a distinct name. I considered the following, but am open to others suggestions as well:

EntityMutationCallback - callbacks usually don't prevent something from running, so it didn't make sense for validation
EntityMutationHandler - handlers generally refer to overriding behavior of the framework rather than hooking into it.
EntityMutationExecutable- the method inside it is called executeAsync so this was the natural name
EntityMutationLambda - not really a JS term
EntityMutationHook - The term hook refers more to the when it is run rather than the what is run IMO.

How
TS renames.
Test Plan
yarn tsc

That's good reasoning for separating out the types. I updated the PR to reflect that.
As for the class vs function, see this comment: https://github.com/expo/entity/pull/65#discussion_r459184745. I'll definitely consider making it a function in the future if usage seems to not make use of the benefits of a class, but having it as a class has turned out to be reasonably helpful for privacy policy rules.


Editor as an independent plugin

After detailed research, comparing playcanvas with three-editor and other open source projects, I think playcanvas' editor is one of the most exciting tools used for interaction for designers.
The project I am working on needs to integrate an editor for inner  purpose usage. I want to use three or playcanvas as a backend rendering engine (The alpha 1.0.2 is based on three.js) to talk with gpu through webgl2 and bulid the editor on top of "react" to develop the frontend. All codes written in webpack, es6.
Playcanvas' editor is really cool and rich in a lot of features. I want to use it as an independant plugin.
Any suggestions?

Sorry, I'm not sure what you're asking. What's the question?

@willeastcott Hi I modified my questions.
Here is what I plan:
// import the editor, all developed in es6, webpack3
const editor = new Editor("#editor") // playcanvas or some version I can customize

// Editor is a react component to compute dom representation.
editor.bind(evt, target, cb)
...
// or do anything playcanvas editor requires us to do
// editor registers elements, set titles, set colors ...

export editor

The PlayCanvas Editor on playcanvas.com does not 'work like a plugin'. There's currently no official way to customize the Editor either. Although you might find this page interesting:
https://forum.playcanvas.com/t/scripting-the-playcanvas-editor/2315

copy it


Register processAnnotationsMain, processAnnotationsTest, etc (lifecycle?) tasks by default

Expected Behavior
There should be a way to trigger "annotation processing".
This is helpful when the processors generate code that is useful in IDEs.
For instance, https://immutables.github.io/ generates java code during annotation processing, however, if one imports a project in IDEA, then no processing happens.
A workaround is to trigger "compileJava" task during project import, however, that might take a while (e.g. Apache Calcite :core takes ~30-40 seconds to compile).
Java has -proc:only option to skip compilation and trigger processing only. It reduces javac time to 6-7 seconds which is manageable for the first project import.
TBD: if there should be "processAnnotations" lifecycle tasks so both Kotlin and Java annotation processors could be handled in a similar way.
Current Behavior
Gradle does not register a task to trigger annotation processing, so users have to create their own tasks.
A skets is as follows:
val processAnnotationsMain by tasks.registering(JavaCompile::class) {
    dependsOn(javaCCMain)
    val main = sourceSets.main.get()
    source = main.java
    classpath = main.compileClasspath
    destinationDirectory.set(project.layout.buildDirectory.dir("tmp/$name"))
    options.compilerArgs.add("-proc:only")
    org.gradle.api.plugins.internal.JvmPluginsHelper.configureAnnotationProcessorPath(main, main.java, options, project)
}

Note: the above processAnnotationsMain does not support Java modules, so a fully workable task might be more complicated.
Context
https://issues.apache.org/jira/browse/CALCITE-4787

Given this requires effectively splitting the compile task in two, I do not see it becoming a core Gradle feature.
It could however be a good idea for a plugin.

I am not sure spliting the compile task in two would be great in general, since "doing all the processing in one go" would probably be the fastest approach overall. An extra "process annotations" task would be helpful for loading the code to IDEs.

It could however be a good idea for a plugin

How about Gradle exposing APIs for configuring the relevant classpath for custom CompileJava tasks?
org.gradle.api.plugins.internal.JvmPluginsHelper.configureAnnotationProcessorPath looks like an internal API to me 😉

This is still relevant


an error

Hello, this error occurred while opening the .pkl file and it cannot be opened. Is there a solution available?If you could answer, I would be very grateful to you
A load persistent id instruction was encountered,
but no persistent_load function was specified.

Thank you for using this extension. I am always here to help resolve any issues you may have.
Is it the error message you received when opening a .pkl file?

A load persistent id instruction was encountered,
but no persistent_load function was specified.

If the object references external resources or is loaded in a specific way (for example, from a database), then a custom function may be needed to properly handle these external references or specially loaded objects during loading (or "unpickling").
Can you provide more information so that we can determine if we need to create an interface for users to more easily customize loading logic?


Add ability to retrieve list of possible options for Option property

Previously, information regarding a custom Option type's possible values was lost when generating subsequent structures in the pipeline to describe the argument. This would largely have to be defined by the user in the discussion string property in ArgumentHelp and would provide no mechanism to directly access the allowable values for a custom Option.
This adds an extra static property on ExpressibleByArgument labelled defaultValueDescriptions, which maps the value name to its description. It is up to the user to implement the defaultValueDescription for their custom CaseIterable type to fully support this behaviour. Further refactoring has been made downstream to the ArgumentDefinition and subsequent structures describing the argument to allow the ability to retrieve the value descriptions from the ExpressibleByArgument type, making information about the property more visible and accessible.
A new enumeration ArgumentDiscussion has been introduced to better encapsulate the discussion information for an argument, and includes cases for discussion sections that contain only static text, as well as cases that include a list of argument values that derive from a type that implements ExpressibleByArgument, CaseIterable and RawRepresentable.
Addresses #637
Checklist

[x] I've added at least one test that validates that my change is working, if appropriate
[x] I've followed the code style of the rest of the project
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci please test

@swift-ci Please test

@swift-ci Please test

Thanks so much for your patience on this, @bripeticca! 🎉🎉🎉


Progress or Loader component

Any plans to add a spinning loader or progress bars?

I have thought about it several times and in fact I have a bunch of them in different places; however due to the diversity of possible shapes and locations for the spinner/loading bar I think it's better to keep it outside of the library.


FormsyDate endless render loop on IE 11

<FormsyDate name="somename" value={this.props.someDefaultValue} />
When the above is used within a form, it causes the component that renders the form and the above to endlessly call to render when using IE 11.
I'm not sure if this is an issue with the implementation of FormsyDate or the actual Formsy-React component that it uses.
Edit: using:
"formsy-material-ui": "^0.6.0"
"formsy-react": "^0.19.2"
I think this didn't happen with 0.5.5

@cristianocca Did you try isolating the Formsy-React component to see if that's were the issue is coming from?

Yes, no issues with just the material ui picker.
-------- Mensaje original --------
De: Ryan Blakeley<EMAIL_ADDRESS>Fecha: 18/7/17 19:07 (GMT-03:00)
Para: mbrookes/formsy-material-ui<EMAIL_ADDRESS>Cc: Cristiano Coelho<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Asunto: Re: [mbrookes/formsy-material-ui] FormsyDate endless render loop on IE 11 (#218)
@cristianoccahttps://github.com/cristianocca Did you try isolating the Formsy-React component to see if that's were the issue is coming from?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mbrookes/formsy-material-ui/issues/218#issuecomment-316212425, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AILRUzrAjsRxRP7MO7owvw6dUANJ72axks5sPSx_gaJpZM4NojWk.

Hmm, did you try with v0.6.1 that I published today? I didn't work on it but there might have been an incidental fix..?

I can't really test anymore since this was some time ago and the code was changed and is no longer an issue.
-------- Mensaje original --------
De: Ryan Blakeley<EMAIL_ADDRESS>Fecha: 19/7/17 20:11 (GMT-03:00)
Para: mbrookes/formsy-material-ui<EMAIL_ADDRESS>Cc: Cristiano Coelho<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Asunto: Re: [mbrookes/formsy-material-ui] FormsyDate endless render loop on IE 11 (#218)
Hmm, did you try with v0.6.1 that I published today? I didn't work on it but there might have been an incidental fix..?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mbrookes/formsy-material-ui/issues/218#issuecomment-316546719, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AILRU0t5HE1n5odpDyXhEy2szJSbKic9ks5sPo00gaJpZM4NojWk.

Ok, no problem.


Adapt to Personio API changes

Summary
Personio removed several fields from their TimeOffType response object:
    legacy_category
    half_day_requests_enabled
    certification_required
    certification_submission_timeframe
    substitute_option

This PR removes all use of these fields in the library.

but does it mean that half days still exist?

Yes. In fact, this means everything is now tracked in half-days instead of days. This is a first step (Personio did that internally to work towards improvements).
The switch to hourly tracking is separate from this.


Jumping back after g d (goto definition) goes to top of definition file

As mentioned on discord, when using g d to jump to a definition in another file, jumping back with Ctrl+o jumps to the top of the file containing the definition, rather than the location before jumping to the definition.
(by comparison, using g d and vscode's jump back command Ctrl+- jumps straight back to the correct location).
(additionally the jump list output is currently garbled - let me know if a seperate issue for this would be useful)

Got the same. Worth adding that this affects Ctrl+i as well and not just after jumping to definition. If I open a new file and want to jump back/forward to the previous/next one, it also always puts me at the top of the buffer, ignoring the previous position in the file.

Got the same. Worth adding that this affects Ctrl+i as well and not just after jumping to definition. If I open a new file and want to jump back/forward to the previous/next one, it also always puts me at the top of the buffer, ignoring the previous position in the file.

For me :bn and :bp cause the cursor to jump to the start of the file instead of remembering the previous position. Wonder if this is related? It looks like the cursor flashes quickly in the correct position, but then jumps to the top of the file.
https://user-images.githubusercontent.com/477113/123376844-bceb3b00-d5bd-11eb-8aef-bf0e5222866a.mov

this now correctly goes to the correct location in the definition file, but on going back with eg ctrl +o it the cursor returns to the top of the original file rather than the previous location in the original file


Bug: use_ad_template not working for ophtha datasets

What happened?
fucntion does not seem to work for ophtha datasets.
Session Information
No response
Reproducible Example
No response

After discussion with @bundfussr we believe this is happening in developers' environments only. When clicking on the build menu and selecting install and restart, the issue disappears. It won't be an issue for end users.


[torch.compile] add logging for compilation time

example output (for the toy tests):

Compiling a graph for general shape takes 1.55 s

see https://buildkite.com/vllm/fastcheck/builds/9379#01939a08-6359-4659-9b3c-c07576a7efee/6465-8353

this pr aims to add three logging information:

engine-level initialization, e.g.

INFO 12-05 22:37:22 llm_engine.py:493] init engine (profile, create kv cache, warmup model) took 15.08 seconds
INFO 12-05 22:39:24 llm_engine.py:493] init engine (profile, create kv cache, warmup model) took 40.77 seconds

graph compilation for every shape (including the symbolic shape compilation), e.g.

INFO 12-05 22:39:02 backends.py:55] Compiling a graph for general shape takes 14.73 s

aggregation of the numbers in 2, e.g.

INFO 12-05 22:39:04 monitor.py:13] graph compilation takes 14.73 s in total

how to read it:
the increase in 1, when using or not using torch.compile , is the total cost of torch.compile .
2 shows the cost of every shape compilation, so that users can select it according to their budget. Note that some compilation like Dynamo bytecode compilation and triton compilation are not considered here.
3 just aggregates 2.

INFO 12-05 22:41:51 monitor.py:13] graph compilation takes 24.758146286010742 s in total

Please make sure to use %2f for this log (if it hasn't been fixed yet).

@WoosukKwon thanks for the review!


Getting Invocation Error while trying to add Machine Learning

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Getting attached exception while I am trying to add Machine Learning

Could you provide your Visual Studio's version? (Help -> About Microsoft Visual Studio)

Thanks for your reply.
My Visual Studio Version 2017 and it is community edition.

Thanks for reporting @pronobeshm! I'm trying to reproduce this problem. I've used VS 2017 Community

I am able to add Machine Learning...

Can you please update to the latest version of VS and Model Builder?

@pronobeshm Friendly ping, is this still not working?

@pronobeshm I can't reproduce the problem so I am closing this issue. If you're still experiencing this problem please let me know and we can re-open. Thanks for reporting!


Add Clear filter button to remove all filters quickly on the data and filter tab

New features have removed this issue


Build with bazel 0.27 fails

The build fails due to protobuf:
DEBUG: Call stack for the definition of repository 'com_google_protobuf' which is a git_repository (rule definition at /build/output/external/bazel_tools/tools/build_defs/repo/git.bzl:252:18):
 - /build/source/WORKSPACE:5:1
ERROR: /build/output/external/com_google_protobuf/protobuf.bzl:130:19: Traceback (most recent call last):
        File "/build/output/external/com_google_protobuf/protobuf.bzl", line 125
                rule(attrs = {"srcs": attr.label_list...()}, <2 more arguments>)
        File "/build/output/external/com_google_protobuf/protobuf.bzl", line 130, in rule
                attr.label(cfg = "host", executable = True, sin..., ...)
'single_file' is no longer supported. use allow_single_file instead. You can use --incompatible_disable_deprecated_attr_params=false to temporarily disable this check.

This will be fixed upstream by https://github.com/protocolbuffers/protobuf/pull/6304, so sonnets protobuf version should be updated after that is merged.

My fix there is for protobuf lite. As far as I can see sonnet uses normal protobuf which already has the fix since this commit https://github.com/protocolbuffers/protobuf/commit/d5f0dac497f833d06f92d246431f4f2f42509e04
Available in master or v3.9.0-rc1.
Good luck!

Thanks for pointing it out!
This will be fixed in the next release.

Just an update, we decided to postpone the update until version 3.9 is released. Meanwhile you should set --incompatible_disable_deprecated_attr_params=false if you are building with bazel.
I will leave this issue open for now.


Feature Request: print error details when fetching falling

https://github.com/becem-gharbi/nuxt-naiveui/blob/954e01a3428b571cd6bbe9fc436b0492635675b4/src/iconify-vite/index.ts#L30
This line will send request to https://raw.githubusercontent.com/iconify/icon-sets/master/collections.json. However, most people in China Mainland cannot access raw.githubusercontent.com without using a proxy.
Currently it logs this:
 ERROR  [iconify-download-icons] fetch failed
 ERROR  Nuxt Build Error: fetch failed
              <stack trackback>

If adding the url (COLLECTIONS_URL) in the error message, we, Chinese developers will realize that we need to use a proxy.

Hi, thanks for pointing to this issue. Actually, I didn't know about it.
The fetch solution is made in order to sync with latest Iconify icon-sets changes. For better DX, I have created a web service that acts as a proxy to https://raw.githubusercontent.com/iconify/icon-sets/master/collections.json.
https://iconify-collections-ruddy.vercel.app/


Pindexer auction

Describe your changes
This adds an auction indexing component to pindexer.
Also, I added a utility function to the auction component to get the initial state of an auction from its description; this is useful so that the indexer always has some state of an auction.
I did not make the consensus code actually use this new function, but a subsequent refactor PR to use it would be nice to avoid code duplication, but in the interest of not adding new review burden, this PR does not do that.
Instead, reviewers, please check that I only moved code around, and that I only made more things visible in the crate.
Checklist before requesting a review

[x] If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

indexing changes + above comments on the auction component.

Closing in light of https://github.com/penumbra-zone/penumbra/issues/4883


Design tabular CES/RPS database

Project Description
Sloan-funded project to digitize information pertaining to state CES/RPS policy. Our goal is to make a machine readable database of RPS/CES qualifications so that energy modelers and anyone interested in comparing state RPS/CES qualifications or running tests on possible RPS assets can do so without having to gather this information manually and from such disparate sources.
Grant Description (see section on Machine Readable Clean Energy Standards)
Harvest Tag: [ces] Machine Reable CES
Problem Statement
The most granular version of this data exists in state legislature. To extract it, and glean any wholistic understanding of national trends, you have to visit individual state legislature websites, download the relevant legislation, find the relevant sections, and parse the information from sentences.
Centralized policy repositories like the Database for State Incentives for Renewables and Efficiency (DSIRE) house broad depictions of state climate policies, but they do not include all of the nuances and qualifications of each states' RPS/CES nor is the information capable of being processed and analyzed in bulk.
Motivation
Who Wants It?
This project is motivated by many users expressing an interest in digitized, machine readable policy data for use in modeling and other efforts.
Alignment with Catalyst Goals
It aligns with our goal as a coop to make public energy data more accessible as it makes qualitative information stored in disparate legislative documents and puts it in one place that readily houses and compares all the information.
Priority?
This project is not related to the build-out of underlying PUDL infrastructure therefore it is not essential to core functionality and can postponed as necessary.
Blocking?
No
Scope
How do we know when we are done?
This project is complete when we have integrated an RPS/CES dataset into the PUDL database and output tables.
What is out of scope?

Voluntary targets
Future targets not yet cemented in the legislature
Carbon-reduction/net-zero targets

Anything else?

Did we get this data from NCSL? I happened to see their CES/RPS website has most of this info for scraping.


Recompile all locales (#2411)

Recompile all locales (https://github.com/bluesky-social/social-app/pull/2411)

@ansh https://github.com/bluesky-social/social-app/pull/2411
I would like to confirm whether I need to translate anything else in line 1747 or is it correct!
msgid "Random (aka "Poster's Roulette")"
msgstr "Aleatório (também conhecido como "Poster's Roulette")"


Czech language dont show diacrictics

Hi, I have problem with czech language which doesnt show diacritics, instead showing random characters.
What it shows: Va?e lok�ln? hostovan� jednotn� kontaktn� m�sto pro v?echny va?e pot?eby ve form�tu PDF
What it should be: Vaše lokální hostované jednotné kontaktní místo pro všechny vaše potřeby ve formátu PDF

This should be fixed here: https://github.com/Stirling-Tools/Stirling-PDF/commit/c2179ccd63bd476aeeb2b5e265a28ac3147b5455 Which version are you using?

This should be fixed here: c2179cc Which version are you using?

not in a release yet, about to make it

should be fixed in 0.25.0

It´s working. Thank you.


As the number of objects in a bucket increase, the publish command slows to a crawl

Here's the log from a recent build of an @latimes bucket. You can see it took nearly 7 minutes to retrieve the object list for comparison. I wonder if we can figure out a way to speed this up, or at least to allow users with large buckets to --force-publish without having to pull down their full object list.
DEBUG|21/Apr/2017 16:58:04|publish|Retrieving objects now published in bucket
DEBUG|21/Apr/2017 17:04:55|publish|Retrieving files built locally

cc @sheats @anthonyjpesce

This is not a fix to the core problem, but I've devised a workaround.
A review of the publish commands mechanics shows there are two reasons why we need to pull the complete list of the target bucket's keys from Amazon.

CREATE: Files in the local build directory not in the bucket's key list are considered to be new and pushed to the bucket.
UPDATE: The key list includes the md5 hash summarizing the content of each key. That is used to compare the published file with the same key in local build directory. If the local key's hash is different, it is pushed to Amazon to update the published one.
DELETE: To identify which keys in the published bucket do not exist in the latest build directory. Those keys are then deleted from the published bucket.

Over, this system is intended to prevent pushing files that have not been changed -- but also to identify which keys present in the bucket are not longer present in the build directory.
Once the bucket is filled with certain amount of keys -- particularly if they are small files that can be quickly uploaded -- it is faster to upload all of the local files than it is to download the lengthy key list and perform the comparisons. The only problem being that is they'd still need the key list to identify deletions.
So, I tweaked the publish command so that if the user provides both the --force options and the --no-delete options, it triggers a new "blind upload" mode in which the key list is never retrieved from Amazon S3. All files are uploaded, as was already done with our --force option. And no files are deleted, as was already the case with our --no-delete option.
The result is obvious due to some balance in the number and size of my bucket's keys, but it resulted in hugely trimming the publish time for the @latimes bucket that led me to file this ticket.
I don't see much downside to including this edge case handling to our next release. Nobody will be forced to use it. We can add a little documentation to the "common challenges" section of the docs. The main thing I think I'd want a new user to know is that uploading all you keys all the time might end up costing you a little more money since Amazon charges for that.

This is not a solution, but I've developed a second workaround option.
The publish command now accepts an --aws-bucket-prefix input, which, when provided, will only request and sync your local folders with keys that start with a prefix.
This is possible because the list_objects method in boto has a Prefix keyword argument. When provided, only keys with that prefix are pulled from s3.
In cases where you only need to sync a certain, pre-defined segment of your bucket, this offers a strategy for avoiding a costly API hit to download all s3 keys.

I do not have any more ideas about to solve this problem. If you do, please post them or submit a patch. The comment just above this is the best strategy I've devised for myself.


16 Oct 2024 - Diversity Equity & Inclusion Special Interest Group Meeting Minutes

Date
2024/10/16 - 12:00pm EST / 5pm GMT
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

OSFF and GH feedback

feedback and lessons learned
planning ahead for 2025

FINOS local events

proposal from Sam
Include FINOS Name in title and alignment to DEI focus
Ambassador to come up with recommendations for FINOS around DEI event mgmt building on Kaajal's proposal for [DEI Event strawman planning](url https://github.com/finos/DEI-SIG/issues/39):

Best practices for FS DEI- NatWest next steps  - James & Rhyddian
Outstanding items
Review of what was achieved to date in '24/planning for 2025

Meeting Minutes
Action Items
Meeting Info
Join Zoom Meeting
https://zoom.us/j/94969868675
Meeting ID: 949 6986 8675
Passcode: 184472

Peter Smulovics / Morgan Stanley

James McLeod / NatWest
Tracey Barton / NatWest

Rimma Perelmuter


Support for plugin.video.tubed (YouTube addon)

It appears the existing YouTube add-on for Kodi is going to eventually phased out and replaced by Tubed (https://github.com/anxdpanic/plugin.video.tubed).
Can support be added for this plugin w/ some sort of configuration option or auto-discovery (https://kodi.wiki/view/JSON-RPC_API/v12#Addons.GetAddons) to switch between plugins to cast to?

It should be possible to support two plugins. But Tubed doesn't seem to have URL plugin://plugin.video.youtube/play/?video_id=$VIDEOID (like YouTube). So Cast Kodi can't send a video ID to Tubed.

I think it does, it appears to be:
plugin://plugin.video.tubed/play/?video_id=$VIDEOID
I haven't tested it, but there is a xbmc.python.script extension point with a "router" decorator that appears to parse the script arguments, which I think that should work?  I think that is similar to how the Netflix plugin works.
https://github.com/anxdpanic/plugin.video.tubed/blob/0d38e420582dbef0d44c398f8804715622f82b63/resources/lib/src/script.py#L135
I do not have the add-on installed at the moment, but I could install it -- how would I be able to test if this URL works for a video id?

plugin://plugin.video.tubed/play/?video_id=$VIDEOID

I tested this URL, but I have the error:
2021-09-02 19:08:44.327 T:15219    INFO <general>: JSONRPC Server: New connection added
2021-09-02 19:08:44.376 T:15332    INFO <general>: initializing python engine.
2021-09-02 19:08:44.386 T:15332    INFO <general>: CPythonInvoker(8, /home/osmc/.kodi/addons/plugin.video.tubed/resources/lib/addon.py): script successfully run
2021-09-02 19:08:44.386 T:15185   ERROR <general>: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.tubed/play/?video_id=dQw4w9WgXcQ]

Found this on the forums, not sure if it is right or works:
plugin://plugin.video.tubed/?mode=play&video_id=<id>

https://forum.kodi.tv/showthread.php?tid=358806&pid=3024964#pid3024964

The new version 6.1.0 of Cast Kodi supports the Tubed addon. The videos are sent to the addon installed in Kodi (plugin.video.youtube or plugin.video.tubed). If both addons are installed: the videos are sent to plugin.video.youtube.
@wagnerch Thanks for all the information given.


Install of zipline using anaconda results in Performance Warnings for every command

Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Linux  4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Python Version: Python 3.4.5 :: Continuum Analytics, Inc.
How did you install Zipline: conda
Python packages:
$ conda list

# packages in environment at /home/b/anaconda3/envs/py3.4:
#
alembic                   0.7.7                    py34_0    Quantopian
bcolz                     0.12.1              np110py34_0
bottleneck                1.0.0               np110py34_1
cachetools                1.1.6                    py34_0    Quantopian
cairo                     1.14.8                        0
click                     6.7                      py34_0
contextlib2               0.5.4                    py34_0
cycler                    0.10.0                   py34_0
cyordereddict             0.2.2                    py34_0    Quantopian
cython                    0.25.2                   py34_0
decorator                 4.0.11                   py34_0
empyrical                 0.2.1                    py34_0    Quantopian
fontconfig                2.12.1                        2
freetype                  2.5.5                         2
glib                      2.50.2                        1
harfbuzz                  0.9.39                        2
intervaltree              2.1.0                    py34_0    Quantopian
ipython                   5.1.0                    py34_0
ipython_genutils          0.1.0                    py34_0
libffi                    3.2.1                         1
libgfortran               3.0.0                         1
libiconv                  1.14                          0
libpng                    1.6.27                        0
libxml2                   2.9.4                         0
logbook                   0.12.5                   py34_0    Quantopian
mako                      1.0.6                    py34_0
markupsafe                0.23                     py34_2
matplotlib                1.5.1               np110py34_0
mkl                       11.3.3                        0
multipledispatch          0.4.9                    py34_0
networkx                  1.11                     py34_0
numexpr                   2.6.0               np110py34_0
numpy                     1.10.4                   py34_2
openssl                   1.0.2j                        0
pandas                    0.17.1              np110py34_0
pandas-datareader         0.2.1                    py34_0
pango                     1.40.3                        1
path.py                   10.0                     py34_0
patsy                     0.4.1                    py34_0
pcre                      8.39                          1
pexpect                   4.2.1                    py34_0
pickleshare               0.7.4                    py34_0
pip                       9.0.1                    py34_1
pixman                    0.34.0                        0
prompt_toolkit            1.0.9                    py34_0
ptyprocess                0.5.1                    py34_0
pygments                  2.1.3                    py34_0
pyparsing                 2.1.4                    py34_0
pyqt                      4.11.4                   py34_4
python                    3.4.5                         0
python-dateutil           2.6.0                    py34_0
pytz                      2016.10                  py34_0
qt                        4.8.7                         4
readline                  6.2                           2
requests                  2.12.4                   py34_0
requests-file             1.4.1                    py34_0
scipy                     0.17.1              np110py34_1
seaborn                   0.7.1                    py34_0
setuptools                27.2.0                   py34_0
simplegeneric             0.8.1                    py34_1
sip                       4.18                     py34_0
six                       1.10.0                   py34_0
sortedcontainers          1.4.4                    py34_0    Quantopian
sqlalchemy                1.1.5                    py34_0
sqlite                    3.13.0                        0
statsmodels               0.6.1               np110py34_1
tk                        8.5.18                        0
toolz                     0.8.2                    py34_0
traitlets                 4.3.1                    py34_0
wcwidth                   0.1.7                    py34_0
wheel                     0.29.0                   py34_0
xz                        5.2.2                         1
zipline                   1.0.2               np110py34_0    Quantopian
zlib                      1.2.8                         3

Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue

What did you expect to happen?
zipline to run without warnings, even when doing zipline --help

What happened instead?
pandas performance warnings are shown

Here is how you can reproduce this issue on your machine:
Reproduction Steps

Install zipline using anaconda in a python 3.4 environment (as per the Ziping install instructions)
run any zipline command...

$ zipline --help
/home/b/anaconda3/envs/py3.4/lib/python3.4/site-packages/pandas/tseries/index.py:755: PerformanceWarning: Non-vectorized DateOffset being applied to Series or DatetimeIndex
  PerformanceWarning)
/home/b/anaconda3/envs/py3.4/lib/python3.4/site-packages/pandas/tseries/index.py:755: PerformanceWarning: Non-vectorized DateOffset being applied to Series or DatetimeIndex
  PerformanceWarning)
/home/b/anaconda3/envs/py3.4/lib/python3.4/site-packages/pandas/tseries/index.py:755: PerformanceWarning: Non-vectorized DateOffset being applied to Series or DatetimeIndex
  PerformanceWarning)
Usage: zipline [OPTIONS] COMMAND [ARGS]...

  Top level zipline entry point.

Options:
  -e, --extension TEXT            File or module path to a zipline extension
                                  to load.
  --strict-extensions / --non-strict-extensions
                                  If --strict-extensions is passed then
                                  zipline will not run if it cannot load all
                                  of the specified extensions. If this is not
                                  passed or --non-strict-extensions is passed
                                  then the failure will be logged but
                                  execution will continue.
  --default-extension / --no-default-extension
                                  Don't load the default zipline extension.py
                                  file in $ZIPLINE_HOME.
  --help                          Show this message and exit.

Commands:
  bundles  List all of the available data bundles.
  clean    Clean up data downloaded with the ingest...
  ingest   Ingest the data for the given bundle.
  run      Run a backtest for the given algorithm.

What steps have you taken to resolve this already?
Tried downgrading numpy as per #1485, but could not as zipline conflict states - zipline -> numpy 1.10*
Anything else?
I suspect this is a regression similar to #1485

(zipline) ➜  notebooks $ conda info --envs
conda environments:

zipline               *  /home/mehere/anaconda3/envs/zipline
root                     /home/mehere/anaconda3
(zipline) ➜  notebooks $ conda --version
conda 4.2.9
(zipline) ➜  notebooks $ python --version
Python 3.4.5 :: Continuum Analytics, Inc.
confirm the issue here, zipline installed in a fresh conda installation

Downgrade pandas to 0.17.0. That should fix the warnings.

Yep, that did the trick.
Conda command to downgrade was... conda install pandas=0.17.0

We've just released zipline 1.1.0 which support pandas 0.18


@args and @arg inheritance isn't working right

Given a setup like this:
@arg('--foo', type=Foo)
def main_one(foo): pass

@args(main_one)
@arg('--foo', default="")
def main_two(**kwargs): pass

the main_two --foo=blah will not have a type of Foo

Turns out, this is by design
Here is the raw argparse code that does the same thing, you could extend argparse._ArgumentGroup and add a captain.parse.ArgParser.add_argument_group() method that would override the argparse one to return a custom class that would allow you to add a _handle_conflict_merge that is similar to the _handle_conflict_resolve method but that merges the actions together, but like with https://github.com/Jaymon/captain/issues/23 this is the actual behavior and I'm loath to mess too much with how it works by default.
This is the code to test to the built-in behavior:
import argparse

class Foo(int): pass

parent = argparse.ArgumentParser()
parent.add_argument('--foo', type=Foo)
parent.add_argument('--bar', type=Foo)

parser = argparse.ArgumentParser(parents=[parent], conflict_handler='resolve')
parser.add_argument('--foo', default='')

args = parser.parse_args('--foo=1 --bar=2'.split())
print(args) # Namespace(bar=2, foo='1')


Implement View Getting Started

@namesty Is anything keeping us from starting this? Should we swap it with other work that makes more sense to be doing now?


Adding KinD for e2e

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Fixes #

Proposed Changes

Release Note

Docs

/lgtm
/approve
woo :partying_face:

/test pull-knative-sandbox-eventing-kafka-integration-tests

/lgtm


Restrict the tab Click when the process is incomplete in the initial tab

Hi,
I am having a API call in TabView.. until and unless data loaded from API in first tab i should not allow the user to click or swipe to the consecutive tabs..
But i android it allows the user to click the next tab and it crashes when the data is not completely loaded..
Please help us with same

You can use canJumpToTab to disable a tab. https://github.com/react-native-community/react-native-tab-view#tabviewanimated-
Though you should show a spinner when data is being loaded. It's better than preventing to go to the tab.


⚠ Spryr has degraded performance

In 3d74d18, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3593 ms

Resolved: Spryr performance has improved in e2ede81 after 18 minutes.


Command line tool should remove /usr/bin/qs (if possible)

The new command line tool, when installing qs into /usr/local/bin/qs should also check to see if /usr/bin/qs exists, and if so, remove it.

Won’t it get removed when you install El Cap? Are you worried that for people on 10.10 or older, /usr/bin might come first in their $PATH? By the time there are meaningful changes to the command, I doubt there will be many people in that situation. :smiley: But if we make big changes, this can be one of them.

Closing as "Won't Fix"

Are you worried that for people on 10.10 or older, /usr/bin might come
first in their $PATH?

Yeah that was my thought, but you're probably right. In practice...what's
the likelihood!
Right now I have /usr/bin/qs and /usr/local/bin/qs and they both do exactly
the same. When will it change...!?
On 16 October 2015 at 11:18, Rob McBroom<EMAIL_ADDRESS>wrote:

Won’t it get removed when you install El Cap? Are you worried that for
people on 10.10 or older, /usr/bin might come first in their $PATH? By
the time there are meaningful changes to the command, I doubt there will be
many people in that situation. [image: :smiley:] But if we make big
changes, this can be one of them.
—
Reply to this email directly or view it on GitHub
https://github.com/quicksilver/Quicksilver/issues/2125#issuecomment-148588223
.


Updated the case for all entries

To make searching for Keys using the Title IDs more friendly, every ID and Key has been updated to Upper-Case.

thanks for the help


<EMAIL_ADDRESS>use new naming conventions

Azure storage explorer from 1.29.0 onwards will only use the new naming convention. The current storage explorer manifest uses the old file name scheme for url download and autoupdate. This will break starting the next major release.
I have updated the storage explorer manifest to use the new naming convention.
Closes #10747

[x] I have read the Contributing Guide.

/verify
run verification checks


[Question] wmi_logical_disk_free_bytes - predict_linear?

Hi there,
I am trying to apply the method from;
https://www.robustperception.io/reduce-noise-from-disk-space-alerts/
but using data from wmi exporter as per the below but just a message "No datapoints found."
predict_linear(wmi_logical_disk_free_bytes{instance="xxxxx"}[1h], 4 * 3600) < 0
Tried a few variations but none appear to be working. Any clues as to where I am going wrong?
Thanks.
Pete

Hi,
I've successfully used that pattern myself, so that should definitely work. My guess is that you actually don't have any disks that are about to run out of space? Try removing the < 0 part, and you should get the predicted free bytes in four hours. Does that work?
(Tip: You'll probably get faster help on the prometheus-users maillist :) )

Ahha. Was a tough day 😂 and have now discovered the user group thanks as always


Update build-gcs resource type to support .tar.gz archives

Changes

support both ZipArchive and TarGzArchive types now supported by gcs-fetcher

mark Archive type as deprecated ❌  (ZipArchive is the equivalent)

rename gcs-resource-spec-taskrun.yaml -> build-gcs-{targz,zip}.yaml to make their purposes clearer

make the taskrun name more descriptive
fetch a smaller file (archive.{zip,tar.gz}) containing a single file for faster tests ⏩

remove test/gcs_taskrun_test.go which didn't usefully test anything that wasn't tested in the YAML test
update docs to reflect these changes 📜

And, while I'm at it:

remove support for build-gcs upload functionality

this doesn't appear to have worked and AFAIK nobody used it anyway
if we want to support it, we can, but probably not like that... it only supported Manifest-style uploads, for instance 🌵
remove gcs-uploader image from flags, and from vendor/ and from tekton/ release pipeline YAMLs 🎉

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ y ] Includes tests (if functionality changed/added)
[ y ] Includes docs (if user facing)
[ y ] Commit messages follow commit message best practices

See the contribution guide for more details.
Double check this list of stuff that's easy to miss:

If you are adding a new binary/image to the cmd dir, please update
the release Task and TaskRun to build and release this image

Reviewer Notes
If API changes
are included, additive changes
must be approved by at least two OWNERS
and backwards incompatible changes
must be approved by more than 50% of the OWNERS,
and they must first be added
in a backwards compatible way.
Release Notes
- build-gcs resources now support fetching and extracing .tar.gz archives

🚨 Upcoming Breaking change 🚨
- build-gcs resources will no longer support `artifactType` `Archive`, use `ZipArchive` and `TarGzArchive` instead

🚨 Breaking change 🚨
- build-gcs resources cannot be used as an output resource

/assign @bobcatfish

/lgtm

/hold
(gotta get one more owner)

/hold cancel


[BUG] Storage Performance Issues

What is the bug?
Why does every time a player attacks other players the plugin tries to query the database? You are supposed to cache this and not try to get data every time. A simple plugin like this shouldn't take that much process.
Expected Behaviour
It should not take that much resources.
How to Reproduce
Attack other players
Error message
None
Output of /teama version
Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SQLStorageManager
Minecraft Version: git-Purpur-2176 (MC: 1.20.4)
Language Selected: messages
Online mode: true
Player count: 70
Current plugin version: 4.9.4
Additional Information

I have added some functionality to hopefully improve the situation, but it is not a full fix so I am not going to close this issue.


Disable DRPolicy(s) of any application

Currently we are planning to disable applicationset from manage dr policy only


[Self-hosted Bug]: Error 406 pushing SOME packages to nuget server

Impact
I'm unable to use this version
Describe the bug
We have an internal nuget server that our build system uses, and when we try to push to it, we get the error:

on the client.  I couldn't determine what was happening, so I ran the server locally (i.e. in the visual studio debugger, server installed as per https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server) and get this when I try to push
the specific package we are using is https://www.nuget.org/packages/Elastic.Apm/1.22.0
(and one that will push successfully is https://www.nuget.org/packages/Elasticsearch.Net/7.17.5)
I am not sure if the problem is with the package itself, or with the server, but I thought I'd start with seeing if I can get any further information from the server,
I get the same error if I drop the .nupkg into the packages folder on the server
Repro Steps
Steps to reproduce:

Install nuget server as per https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server (I am using v 3.4.2)
try to push https://www.nuget.org/packages/Elastic.Apm/1.22.0 to it, using either
nuget push
dotnet nuget push
or
dragging the nupkg to the appropriate packages folder

all give the same result
Expected Behavior
to have the package successfully pushed to the server
Screenshots
No response
Additional Context and logs
`The thread 0xa184 has exited with code 0 (0x0).
The thread 0x6330 has exited with code 0 (0x0).
Exception thrown: 'System.ArgumentException' in WindowsBase.dll
Exception thrown: 'System.ArgumentException' in WindowsBase.dll
Exception thrown: 'System.ArgumentException' in WindowsBase.dll
Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.ArgumentException' in mscorlib.dll
Exception thrown: 'System.ArgumentException' in mscorlib.dll
iisexpress.exe Error: 0 : System.ArgumentException: Part URI is not valid per rules defined in the Open Packaging Conventions specification.
   at System.IO.Packaging.PackUriHelper.ValidatePartUri(Uri partUri)
   at System.IO.Packaging.ZipPackage.ContentTypeHelper.ProcessOverrideTagAttributes(XmlTextReader reader)
   at System.IO.Packaging.ZipPackage.ContentTypeHelper.ParseContentTypesFile(ZipFileInfoCollection zipFiles)
   at System.IO.Packaging.ZipPackage.ContentTypeHelper..ctor(ZipArchive zipArchive, IgnoredItemHelper ignoredItemHelper)
   at System.IO.Packaging.ZipPackage..ctor(Stream s, FileMode mode, FileAccess access, Boolean streaming)
   at System.IO.Packaging.Package.Open(Stream stream, FileMode packageMode, FileAccess packageAccess, Boolean streaming)
   at NuGet.PackageHelper.GetManifestStream(Stream packageStream)
   at NuGet.OptimizedZipPackage.EnsureManifest()
   at NuGet.Server.Core.PackageFactory.Open(String fullPackagePath)
   at NuGet.Server.V2.Controllers.NuGetODataController.<UploadPackage>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__3`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
The thread 0x4f44 has exited with code 0 (0x0).``

Hey @weloytty, thanks for taking the time to report this issue.
Essentially what you're running into is a shift in the NuGet ecosystem that has organically occurred over the past decade from pure, compliant OPC (Open Packaging Conventions) style packages for .nupkg to something that is more custom and NuGet specific. What I mean by that is originally NuGet packages are were expected to conform to OPC standards because of the simple fact that NuGet code (both client and server) used OPC libraries like System.IO.Packaging to interact with .nupkgs. Over time, this has changed. Most notably, NuGet client 3.x and on have treating NuGet packages more like ZIP files that must have a .nuspec instead of a proper OPC container. This has allowed non-OPC packages (or non-compliant OPC packages) to leak into the ecosystem unnoticed. And, I would argue, that's okay overall. But users like yourself get pinched by this shift.
The reasons for evolution this are varied but suffice it to say that NuGet 2.x (notably the NuGet.Core library which NuGet.Server is based on) expects packages to be well-formed OPC archives but NuGet client 3.x+, NuGet.org, and most of the NuGet ecosystem now do not hold packages to this higher standard. They pretty much need to just have a .nuspec in the root of the ZIP directory and have the .nuspec meet some minimal expectations.
For this specific package, the hint is in the stack trace (thanks for providing that by the way). The line about the content types file points us in the right direction:

at System.IO.Packaging.ZipPackage.ContentTypeHelper.ParseContentTypesFile(ZipFileInfoCollection zipFiles)

If we look at the content types file in Elastic.Apm 1.22.0, we see this:

I am not an expert in OPC minutia, but I think the paths are malformed. If we delete these two entries from the content types file, the .nupkg is read fine. I don't know how the .nupkg got into this shape but it's possible the NuGet client's pack behavior (which still is best effort OPC on the pack side) is making bad paths. A minimal repro of the failed consumption side would be:
using System.IO.Packaging;

using var packageStream = File.OpenRead(@"C:\Users\jver\Downloads\elastic.apm.1.22.0.nupkg");
using var package = Package.Open(packageStream);

This exhibits the same exception as shown in your question above.
So, what does all this mean for your workflow? Well you have some options:

Move away from NuGet.Server to a more modern server implementation that is permissive to non-OPC compliant packages. A list of alternatives is here: https://learn.microsoft.com/en-us/nuget/hosting-packages/overview. I know many people have had good success with BaGet and Sleet (both implemented by former NuGet team members by the way 🚀).
(scary) As part of your ingestion workflow (from NuGet.org to your NuGet.Server instance), edit the package to remove these two bad XML lines. This is problematic for several reasons, such as breaking the integrity signature that in the package, so you'd need to "unsign" it by removing the .signature.p7s file. I don't recommend this solution but I'll call it out for completeness.
Pursue a conversation with the package author so they know about the compatibility problem with NuGet.Server and NuGet 2.x. They may care to fix it on subsequent versions. To be honest, this would surprise me since this is an edge case w.r.t. to most users. As alluded to above, this might actually be a bug in NuGet client or the package author is doing something custom to produce the .nukg.
It is theoretically possible to patch NuGet.Server to handle this case but moving to NuGet 3.x client libraries in NuGet.Server would be a costly endeavor. Frankly, I don't recommend it since NuGet.Server is in maintenance mode for us -- meaning we'll take PRs for bad bugs and we'll address security issues. But refactoring or even reviewing a big community PR like this would be difficult to schedule for the team.

Let me know if you have any questions.

Thank you for the help Joel, it clears up a whole bunch of things.  Luckily, we found an alternate method to house our packages that makes them available for build, and we don't need to run our own nuget server anymore, which is a relief. (Not because there's anything wrong with running our own, but its one less thing that we have to manage and take care of)


RawDeployment support for Inference Graph

What this PR does / why we need it:
This change is to bring RawDeployment to Inference graph.  Currently Inference Services support raw deployment, this changes brings parity.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
https://github.com/kserve/kserve/issues/2454
Type of changes
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

Feature/Issue validation/testing:
Please describe the tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

[ ] Test A

[ ] Test B

Logs

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

[ ] Have you added unit/e2e tests that prove your fix is effective or that this feature works?
[ ] Has code been commented, particularly in hard-to-understand areas?
[ ] Have you made corresponding changes to the documentation?

Release note:

@bmopuri : Can you fix the DCO check ?

Added a label to trigger tests. Tests are not getting triggered :


docs: fix small typos

Hey hello there,
I'm new to the java-operator-sdk , was browsing the documentation and found some small typos. So just opened this PR.
Thanks for this awesome operator :)

thank you @GonMMarques


Can't login on Ubuntu while a terminal is running with ng serve

As title says, If my computer goes to log in screen (because of inactivity) while I have a terminal running "ng serve" it won't let me log in, authentication will fail all the time.
Ubuntu version: 18.04
Angular: 6
Command used: "sudo ng serve"
Thanks in advance.

Hi @Leemonn, this doesn't seem to bit a bug within the Angular CLI.
I suggest you to repost your issue on StackOverflow using tag angular-cli for support.
Also, I would strongly suggest not to invoke ng or any other command with sudo.


Using typescript in an existing adonis v4 app

Hello
I'd like to begin using typescript in an existing adonis v4 app and I'm not sure how to go about.
Any help would be appreciated.

Hey @wahaaabello! 👋
AdonisJS 4 was not designed to work with TypeScript.
Upgrade to AdonisJS 5 if you want to use TypeScript inside your project.


add support of internal partitions

the
{values = {["internalpartition"] = true}}

is for fallback generator, compiler implementing p1689r5 should handle it (msvc does)

the
{values = {["internalpartition"] = true}}

is for fallback generator, compiler implementing p1689r5 should handle it (msvc does)

Is there a better way to detect it automatically? For example by analysing the module source code.

it's possible i think, but i think it will complexifies a lot the code as for internalpartition detection we need to know the other modules files and see if an exported partition with the same name is already present

it's possible i think, but i think it will complexifies a lot the code as for internalpartition detection we need to know the other modules files and see if an exported partition with the same name is already present


Wrong link on example page

Hi boys, girls,
i just saw the link of the example  Motion >  Moving On Curves. is wrong. Seems like because of the dot at the end.
Wrong link: https://p5js.org/examples/motion-moving-on-curves.-.html
Correct link: https://p5js.org/examples/motion-moving-on-curves.html

#204

thanks! this has been fixed


remove google auth keys (#274)

I generated new keys just to be safe and will send those around after this change

I generated new keys just to be safe and will send those around after this change


nmap program not found in path

[x] I have carefully read the README file and haven't managed to resolve my issue.
[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I am running the latest version of KickThemOut.

OS name & version: OSX Mojave v10.14.3
Python version: 2.7
Kamene version: 3.0.0
Nmap version: 7.7
Link of Gist: https://gist.github.com/youoralovedone/3b403645be800e2bd0a83fea9eba8466

Description:
Attempting to execute kickthemout.py raises an error telling to check my requirements config, but I'm not sure where to find it. I installed everything in the requirements.txt file manually.

Hi there. I can't seem to be able to locate your gist. Could you please update your issue with a working link? Thanks!

I updated the gist, thank you for taking the time to reply!

hello can anyone write the specific path so i can move NMAP to ... thanks in advance

Hi there. It seems that you're using Python 2.7 instead of the compatible version of Python (i.e. Python 3).

thanks for replying ^_^
but unfortunately is does not work because still writing for me "nmap program wasn't found in the path"
so i need the right path to move on ..
or any other solution ~~

thanks a lot its work with me now >>> i just reinstall it :)
keep going we are waiting for your golden tools


Changed observable activated to be called immediately

When adding an updatable observableActivated is now called immediately
if the updatable is added from the same looper as the observable is
operating on

[Current coverage][cc-pull] is 98.38%

Merging [#58][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.34%

@@             master        #58   diff @@
==========================================
  Files            38         38
  Lines          1418       1420     +2
  Methods           0          0
  Messages          0          0
  Branches        241        242     +1
==========================================
- Hits           1400       1397     -3
- Misses            3          6     +3
- Partials         15         17     +2

Powered by Codecov. Last updated by [bf6f1e2...8233daf][cc-compare]
[cc-base-branch]: https://codecov.io/gh/google/agera/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/google/agera/compare/bf6f1e26e452022a28ef0ce293b8db330f109c03...8233daf573becd6b4052d60af39cf26b8f7a71fa
[cc-pull]: https://codecov.io/gh/google/agera/pull/58?src=pr

Rebased and put the call outside of the token lock, PTAL

+2


A git commit expects a string option now

ocaml-git updates the interfaces to fix #917 at the ocaml-git level. That mostly means that the hack into irmin to produce well formed commit is not needed anymore.

Thanks!


Upgrade weave codec to  v0.16

Closes #1053

Is it normal to put a generated .d.ts file in src and then end up with a copy of it in types and commit both?

Interesting question, I just checked again: In contrast to the rest of our code, there is no .ts file for the codec. So if we want to keep the build flow from ./src/ into ./build/types/ and ./types/, we need to keep this duplication. Right now, I don't see a great potential for improvement.


Configurable oauth scope

Made requiring all scopes or any scopes configurable as discussed in #692

I'm happy with this. Keeps the current default and allows you to configure it with scopeStrict on the route itself. Thanks @pulkitjalan for your work on this.


dev_postgres: Add Postgres database to the test environment.

First, before you tackle this issue, study how the database works and how it gets set up!
I recommend that if you want to tackle this issue, you should also tackle #51 in conjunction, just so you have a very clear understanding of what's going on.
Once you have that understanding of what's happening, make sure we can actually replicate the database setup process in the test environment. This might require a few things, including:

editing the app fixture to init the database
possibly creating a new fixture related to the database.
Editing TestingConfig to have new values that would not conflict with any existing development database.
you may be required to set up a separate and isolated test database that does not conflict with the development version of the database.

I'm not really sure what the best practice is for testing a Postgres database in Flask, but you should at least try to get an understanding of how the Flaskr tutorial does its tests: https://github.com/pallets/flask/tree/master/examples/tutorial Note that SQLite is a file-based SQL database, not memory based. And note how in the tutorial they create a separate temporary directory for the test database. In our case we can't do exactly that because Postgres isn't file-based. But the concept of isolating the test environment is what we want to do. So find out how to do that in the context of Postgres!

Since I'm doing the documentation #51, I might have to do this. I probably tackel this on perhaps next week or whenever I finish the heroku issue #54.

This issue is open for anybody.


Changed the is_closed function to also check negative differences

RE: Issue 123

Coverage remained the same at 100.0% when pulling 83e908acc6e3ec3c26747253608901a1762691b5 on James-Archer:bugfix/fix-isclosed into 6696fc4fc0a26704c5facf8374ea85c2b80b9535 on WoLpH:develop.

Thank you so moch for the help :)


Cache Not Working Along with Observer

Describe the bug
As the Model Article content field is stored the rich text with base64 encoded string, and an observer was created for encoding & decoding while saving and reading. It works fine until the trait mode Cachable involved in the Article model. And when it removed from the model, everything returned ok.
Eloquent Query
Please provide the complete eloquent query that caused the bug, for example:
Observer
/app/Observers/ArticleObserver.php
<?php

namespace App\Observers;
use App\Article;

class ArticleObserver
{
	public function saving(Article $article)
	{
		$article->content = bin2hex($article->content);
	}

	public function retrieved(Article $article)
	{
		// if(strlen($article->content)%2==1 || preg_replace('/[a-zA-Z0-9]+/','',$article->content)!='')
		// return;
		try{
			$article->content = hex2bin(trim($article->content));
		}
		catch (\Exception $e) {
			return;
		}
	}
}

/app/Providers/ArticleModelServiceProvider.php
<?php

namespace App\Providers;
use Illuminate\Support\ServiceProvider;

class ArticleModelServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        \App\Article::observe(\App\Observers\ArticleObserver::class);
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}

Stack Trace
The full stack trace from your log file.
Environment

PHP: [e.g. 7.1.0]
OS: [e.g. Ubuntu 18.04]
Laravel: [e.g. 5.6.15]
Model Caching: [e.g. 0.2.61]

Additional context
Add any other context about the problem here.

Hi @RobinHoo1973, I'm out of the country at the moment, I will take a look. In the mean while, can you paste the code for your observer here as well? Thanks!

Hi @RobinHoo1973, I'm out of the country at the moment, I will take a look. In the mean while, can you paste the code for your observer here as well? Thanks!

Yes, I just updated my issue report with the observer code included. Thanks for your prompt response.

Thanks! I will have to create a test for observers. Give me a few weeks. If you would like to take a stab at submitting a PR with a new unit test or even an update to the functionality, that would be great! :)

Thanks! I will have to create a test for observers. Give me a few weeks. If you would like to take a stab at submitting a PR with a new unit test or even an update to the functionality, that would be great! :)

Take your time and enjoy your trip, it's not urgent case. :)

@RobinHoo1973 I created a test for observers and do not see an issue with using observers. It works as expected. Please provide the complete query that you are running.

I'm closing this for now due to inactivity. Please feel free to reopen with additional information if you still have this issue.

Hi Mike,
First, thank you for the great package, really appreciate your work!
I came across this issue when attempting to hook into the model's retrieved event.
The retrieved event only fires if the result hasn't been cached. Once the result is in cache, it no longer fires.
To work around the issue I had to do the following:

Replaced newEloquentBuilder in base model to return extended GeneaLabs\LaravelModelCaching\CachedBuilder if model is cachable.

`
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use GeneaLabs\LaravelModelCaching\Traits\Cachable;
use App\Database\Eloquent\Builder\OverrideCachedBuilder;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
abstract class BaseModel extends Model
{
use Cachable;
public function newEloquentBuilder($query)
{
    if (! $this->isCachable()) {
        $this->isCachable = false;

        return new EloquentBuilder($query);
    }

    return new OverrideCachedBuilder($query); // call custom extended CachedBuilder
}

}
`

Override CachedBuilder cachedValue method with a modified version that fires the retrieved model event.

`
namespace App\Database\Eloquent\Builder;
use GeneaLabs\LaravelModelCaching\CachedBuilder;
class OverrideCachedBuilder extends CachedBuilder
{
public function cachedValue(array $arguments, string $cacheKey)
{
$method = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS, 2)[1]['function'];
$cacheTags = $this->makeCacheTags();
$hashedCacheKey = sha1($cacheKey);
$result = $this->retrieveCachedValue(
$arguments,
$cacheKey,
$cacheTags,
$hashedCacheKey,
$method
);
    // start - my hack to fire model retrieved event
    if ($resultValue = data_get($result, 'value')) {
        try {
            if (is_subclass_of($resultValue, 'Illuminate\Database\Eloquent\Model')) {
                $resultValue->fireModelEvent('retrieved', false);
            }
        } catch (\Throwable $th) {
            //throw $th;
        }
    }
    // end - my hack to fire model retrieved event

    return $this->preventHashCollision(
        $result,
        $arguments,
        $cacheKey,
        $cacheTags,
        $hashedCacheKey,
        $method
    );
}

}
`
My solution is not pretty, but works. I had troubles doing it other ways because of the debug_backtrace in the cacheValue event.
If there's a way to improve this solution, and/or get it into core, that would be amazing.
Kind Regards,
Paul


empty alignments_sorted.txt file while generating .hic file

Dear Marbl Team,
I've ran SALSA2 "successfully" on a genome assembly and scaffold N50 increased from 12Mb to 16Mb. In principle, everything looks good to me, except to what I considered a few warnings.
However, when I run the converter script to obtain the .hic file I am getting this error: "alignments_sorted.txt does not exist or does not contain any reads". I realized that the expected input file for converter.sh (i.e. alignment_iteration_1.bed) is actually empty. In fact, the .bed files for the three iterations are empty.
Do you know what could be the reason for this error?  I would love to fix it without re-running SALSA2...
Cheers,
F

Did you run it with -m yes option? If not, then you can use the bed file that you provided to SALSA as an input to the .hic file creation script.

Did you run it with -m yes option? If not, then you can use the bed file that you provided to SALSA as an input to the .hic file creation script.

Hi Jay,
I certainly used the -m option to detect misassemblies with Arima Hi-C data. However, I made a mistake and I passed it twice (-m 1000)...however, the program did not complain at all.  I think I should re-run the scaffolding and compare the results. Please let me know your opinion on this.
Below the commandline used:
python  /home/devel/fcruz/SALSA2_Scaffolder/SALSA/run_pipeline.py  -s<PHONE_NUMBER> -m 1000 -i 3 -a base_assembly.fa -l base_assembly.fa.fai -b Arima.1_2.hicup.bed -e GATC,GANTC -o out -m yes
Thanks,
F

I'm experiencing this same issue. all my .bed files are empty so an alignments.txt is not written.


RTMP-camera feeds for Viseron

Suggestions how to configure RTMP-cameras?
With my current NVR-software input-path for my Reolink-cameras in ffmpeg is rtmp://<>:<>/bcs/channel0_main.bcs?channel=0&stream=0&user=<>&password=<>
Other input arguments are - -avoid_negative_ts - make_zero - -fflags - nobuffer - -flags - low_delay - -strict - experimental - -fflags - +genpts+discardcorrupt - -rw_timeout - '5000000' - -use_wallclock_as_timestamps - '1'
Reason I'm using RTMP from camera, is that RTSP are prone to corrupt and RTMP give more stable fee with these Reolink devices.

Closing as this has been implemented


programmable MOTD

Suggestion from @kylef to show different MOTDs to different users, e.g., based on whether they're registered.
The performance implications of this seem pretty manageable. Right now we preread the actual MOTD file, but we synthesize new serialized IRC lines for it on every connection, e.g., if you have server-time you'll get them with a time tag, so this doesn't necessarily make things that much slower.
Questions: what kind of templating do we want to allow? What are the use cases?

The use-case was predominately to show unauthenticated users encouragement to register, f.e:
372 kylef :- This server supports user presistence, thus it is
372 kylef :- encouraged that you register and authenticate with SASL.
372 kylef :-
372 kylef :- To register with the server, you can use the following:
372 kylef :-
372 kylef :-     /msg NickServ <password> [email]
372 kylef :-
372 kylef :- - You may use multiple clients at the same time with your
372 kylef :-   account.
372 kylef :- - Disconnecting keeps you in channels, you may receive
372 kylef :-   the history upon reconnect.
372 kylef :-
372 kylef :- There is no need to use a bouncer like ZNC or IRC Cloud
372 kylef :- with this server.
376 kylef :End of MOTD command

This MOTD can be useful for anonymous users to help convince them to register, but once you've registered the message becomes irrelevant as you are no longer in the target audience for the message.

This is potentially orthogonal to this issue, there may be a desire to internationalise the MOTD and be able to support multiple locales.

One option would be a config boolean like enable-registration-faq; when set, it would (only for unregistered users) append a standard FAQ about registration and always-on to the MOTD. This would then get translated in Crowdin alongside other server messages. Like them, it would respect the draft/languages CAP and the languages.default config at runtime.
We could separately implement translation for the (operator-configurable, but static) MOTD by allowing, e.g., languages/ro-RO-motd.txt in the languages directory.


Add more intelligence to SSDP scanning

Systems with multiple private interfaces and intermittent issues with Windows ARP cache and multicast, it should discover systems in the following order:
SSDP using <IP_ADDRESS>
SSDP for each interface found on machine
And cycle through them every 5 seconds or so. That will get a snappy discovery on the majority of installations, and eventual discovery on all other systems.

Fixed with beta.13


Paren expression is missing

Note: It's not cst vs ast problem.
For class transformation, this is necessary.
Example usecase:
(Bar.__proto__ || Object.getPrototypeOf(Bar))

If you really need it, you can use SequenceExpression with a single item.
You shouldn't have to do that though. The code generator should be able to check the operator precedence of things vs how they are nested in the AST, and insert parens around binary expressions that need them.


Test failure handling improvement request

When developing testcases, typically for legacy code, one finds it a little painful as you just get the test failure printed out on the shell.
It would be a nice feature if one could hook into the testcase failure mechanism to perform things like automatically bringing up the debugger at the file/line of the failure or maybe flushing logging files, if one were building for debug. This could be performed via a variety of methods, e.g. callback function or by raising an exception so one could use the standard unhandled exception mechanism.

For mock failures, you can use mock().crashOnFailure() to make it crash (thereby breaking into the debugger, if one is attached) for failures like unexpected calls.  These are generally the sort of things that a file+line number in the test aren't really sufficient for.
For test check failures, the line by itself should be sufficient in all cases except when you're using it in a loop or something more ambiguous like that -- you can use the _TEXT suffix macros to add some disambiguating information to the failure for those cases.
Another thing you can do is to set a breakpoint in UtestShell::failWith.  When this gets hit, you can examine the call stack to find the exact point and context of failure.

@stephen-d-hill as @uecasm mentioned, the crashOnFailure is created for that. There is no platform independent way to automatically start the debugger, so I think that won't be possible. Though the crashOnFailure should work independent of platform.
Close this issue?

Please close this issue.
On 11 Jul 2016 04:09, "Bas Vodde"<EMAIL_ADDRESS>wrote:

@stephen-d-hill https://github.com/stephen-d-hill as @uecasm
https://github.com/uecasm mentioned, the crashOnFailure is created for
that. There is no platform independent way to automatically start the
debugger, so I think that won't be possible. Though the crashOnFailure
should work independent of platform.
Close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/cpputest/cpputest/issues/1012#issuecomment-231633111,
or mute the thread
https://github.com/notifications/unsubscribe/AGe54EwFoKgjeqJlXclnRXfyv1DXBCqJks5qUbPhgaJpZM4JB41_
.


Fix pipeline cancel retries

What does this PR do?
This adds retries to fix this issue.
Motivation
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

/merge


Contact get alias from sync to async

https://github.com/Chatie/wechaty/issues/1500
@zixia maybe you should change jsdoc at the same time when you have break change next time ：）

Thanks


add selector flag to the scorecard subcommand

Description of the change:
This PR adds only the command flag, --selector, to the scorecard subcommand.  This
flag is used to select which tests get
run.
Motivation for the change:
Part of an overall larger effort to add labels to the scorecard tests. This PR covers the flag and implementation of the selector flag.

/test e2e-aws-helm

/test images
/test e2e-aws-subcommand
/test e2e-aws-ansible
/test e2e-aws-go
/test e2e-aws-helm

/test e2e-aws-helm
/test e2e-aws-go
/test e2e-aws-ansible

/test images

/test e2e-aws-subcommand

A couple more things I thought of:

We need to update ./doc/sdk-cli-reference.md and ./doc/test-framework/scorecard.md. I'd suggest at least updating ./doc/sdk-cli-reference.md in this PR. The scorecard doc can be updated in a follow-up.
We need to figure out what to do (or document) about external plugins and label selectors. Right now, the external plugin interface does not support passing in the selectors, and there would be no way of getting the external plugin's test labels without actually running the external plugin's tests. I think, as of this PR, external plugins will ALWAYS run if present, regardless of the selector. This will be an even bigger question when we get to the --list implementation. My feeling is that for now, we only allow external plugins if --version=v1alpha1, and we tell users of external plugins that they need to stay on v1alpha1 until we add support for them in v1alpha2. Thoughts @jmccormick2001 @shawn-hurley @dmesser?

@joelanford The only other option I see is that we implement list in a form where plugins get listed that are found in a particular place (e.g. a plugin directory that the SDK watches). Furthermore we could establish a convention that a built-in labeled can be used to articulate that custom tests from plugins should be executed (all or nothing approach).
If this turns out to be a rabbit hole I agree with gating this by the API version. I.e. only support the plugins in v1alpha right now until we have a plugin format that supports describing labels and expose tests for listing.

A couple more things I thought of:

We need to update ./doc/sdk-cli-reference.md and ./doc/test-framework/scorecard.md. I'd suggest at least updating ./doc/sdk-cli-reference.md in this PR. The scorecard doc can be updated in a follow-up.
We need to figure out what to do (or document) about external plugins and label selectors. Right now, the external plugin interface does not support passing in the selectors, and there would be no way of getting the external plugin's test labels without actually running the external plugin's tests. I think, as of this PR, external plugins will ALWAYS run if present, regardless of the selector. This will be an even bigger question when we get to the --list implementation. My feeling is that for now, we only allow external plugins if --version=v1alpha1, and we tell users of external plugins that they need to stay on v1alpha1 until we add support for them in v1alpha2. Thoughts @jmccormick2001 @shawn-hurley @dmesser?

I updated the sdk scorecard docs section to include the selector flag, plus swapped out the v1alpha1 example output with the v1alpha2 output.
For the external plugins, I would probably vote in favor of that being a separate PR, I think it could be tricky based on what I know about it.  I'd probably go with what Joe suggest, that is to say, until we get external plugins done for v1alpha2, they are only available in v1alpha1.  I could put in a validation that would block running external plugins in v1alpha2 in the interim.   I don't think there is a story actually at the moment that addresses refactoring external plugins for v1alpha2, I'll add that story to capture that bit of work.

I would probably vote in favor of that being a separate PR

Agreed.

I could put in a validation that would block running external plugins in v1alpha2 in the interim.

For the v0.12.0 release, I think we either need to hold this PR back, or get this check included. To make it crystal clear, I would probably say that we should fail the scorecard command with an error if we see external plugins in the config with v1alpha2.

https://jira.coreos.com/browse/OSDK-650 'adding support for selector filtering on external plugins'
https://jira.coreos.com/browse/OSDK-651 'for the e2e/unit test work for v1alpha2'


Serialization differs (and silently fails) depending on optimization

Consider the following minimal example:
#include <iostream>
#include <glaze/glaze.hpp>
#include <glaze/core/macros.hpp>
#include <glaze/exceptions/json_exceptions.hpp>

struct Foo {
	int64_t id = std::numeric_limits<int64_t>::min();
	std::string name = "Whatever";

	GLZ_LOCAL_META(Foo, id, name);
};

int main() {
	Foo test{};
	std::cout << glz::ex::write_json(test) << std::endl;
	return 0;
}

The expected output is of course {"id":-9223372036854775808,"name":"Whatever"} and compiling with -std=c++20 -O1 the program indeed gives this result. However increasing the optimization to -O2 the output changes to {"id":-0,"name":"Whatever"}, which is obviously different and wrong. For this example I used not further compiler flags other than the include directory with g++ (GCC) 13.2.1 20231011 (Red Hat 13.2.1-4). While this setup always reproduces the bug on my system do note that with other compiler flags or slightly different the code the bug might not appear. E.g. without the string variable in Foo the serialization is correct independent of optimization level.
I think this is a rather grave bug, as it is nondeterministic (at least at compilation level) and silently produces a wrong result which is conforming JSON nevertheless. I had not time to try to track it down yet, but the fact that the appearance of the bug depends on the optimization level and exact code suggests undefined behavior somewhere in glaze.

It was that nasty issue of not being able to negate the minimum value of a signed integer to get the absolute value. This was fixed with #523.
Thanks for catching this!


Beta release

Big PR with lots of updates the main being switching to treesitter for parsing on the client

/update-snapshots

/update-snapshots

/update-snapshots


Add a image where the list returned from the api is null

Add an image where the list returned from the api is null. Currently we only see a blank screen with the text. Adding a image instead of keeping the screen blank would be a better UX

@harchani-ritik I'd like to work on this

#58


dataAdapters - $element.val not working

Hi guys,
in my understanding,  dataAdapters is for create a custom way to populate select.
When select is initializing and setting up the dataAdapter, the code this.$element.val() returns null. ( in current CustomData.prototype.current )
The problem is keep my own order independent if i clear values.
I need that select2 respect my own order and because that, i decided use dataAdapter, but without success, because after i enter a value in select2, select2 add a option to the field select of html.
So, how i can control actually the order of select2?

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.


Cache Gradle dependencies via CI instead of Docker image

Ok, saving the full ~/.gradle/ directory takes ~90 seconds...

...and restoring (1.4GB) takes ~25 seconds, actually mostly spent not on downloading, but extracting:


⚠ Bofrost.com has degraded performance

In 106232c, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 523 ms

Resolved: Bofrost.com performance has improved in 1133da5.


create footer with TOS and links to funders

This issue was moved to consortium/hybrid-publishing-research#3


YARN-8992. Fair scheduler can delete a dynamic queue while an applica…

…tion attempt is being added to the queue. (Contributed by Wilfred Spiegelenburg)
(cherry picked from commit a41b648e98b6a1c5a9cdb7393e73e576a97f56d4)
Backport YARN-8992 to branch-3.2. Let me check the result of precommit job before committing.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
10m 13s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ branch-3.2 Compile Tests _

+1 :green_heart:
mvninstall
28m 57s

branch-3.2 passed

+1 :green_heart:
compile
0m 43s

branch-3.2 passed

+1 :green_heart:
checkstyle
0m 35s

branch-3.2 passed

+1 :green_heart:
mvnsite
0m 48s

branch-3.2 passed

+1 :green_heart:
javadoc
0m 34s

branch-3.2 passed

+1 :green_heart:
spotbugs
1m 42s

branch-3.2 passed

+1 :green_heart:
shadedclient
15m 25s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 50s

the patch passed

+1 :green_heart:
compile
0m 40s

the patch passed

+1 :green_heart:
javac
0m 40s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 29s

the patch passed

+1 :green_heart:
mvnsite
0m 41s

the patch passed

+1 :green_heart:
javadoc
0m 25s

hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager generated 0 new + 351 unchanged - 2 fixed = 351 total (was 353)

+1 :green_heart:
spotbugs
1m 47s

the patch passed

+1 :green_heart:
shadedclient
16m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
78m  6s
/patch-unit-hadoop-yarn-project_hadoop-yarn_hadoop-yarn-server_hadoop-yarn-server-resourcemanager.txt
hadoop-yarn-server-resourcemanager in the patch failed.

+1 :green_heart:
asflicense
0m 29s

The patch does not generate ASF License warnings.

158m 27s

Reason
Tests

Failed junit tests
hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.TestFSSchedulerConfigurationStore

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3257/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3257

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 5fad14c10172 4.15.0-128-generic #131-Ubuntu SMP Wed Dec 9 06:57:35 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.2 / f070bdd74d120334cd5c9ce7fd0bdaf3d7e75b1c

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~18.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3257/1/testReport/

Max. process+thread count
805 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3257/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

The precommit check looks good to me. Merging.
Now TestFSSchedulerConfigurationStore is failing in branch-3.2. Probably YARN-9875 can fix it.


Cannot open encrypted database

We have Isar database running SQLite engine, and want to replace critical queries with raw SQL using sqlite3.
In our tests, everything works fine if the database is not encrypted. But with encryption, the sqlite3 throws:
while preparing statement, file is not a database, file is not a database (code 26)

Looking at Isar source, nothing seems unusual (except the part that it is in Rust). It uses libsqlite3-sys and runs ("PRAGMA key = \"{}\"", encryption_key); with no special setup.
With sqlite3, I'm using sqlcipher_flutter_libs. The db.select('PRAGMA cipher_version;') is not empty, meaning encryption is set up, but I get that exception.
This possibly is not issue with sqlite3, but likely I'm doing something wrong.

Interesting. So are you sure you're using a matching encryption key and that the key is not transformed by Isar before reaching the pragma?
Also, using two copies of sqlite3 in the same process can lead to problems, but I think it should be fine here if Isar essentially links SQLCipher statically? If the symbols from the two sqlite3/SQLCipher copies are intertwined it will cause trouble since slightly incompatible versions are then calling internal functions of another.

Actually, everything works here. I got something wrong in my test project.
I have no idea how Isar does it. It pretty much just includes Rust SQL cipher library and that's it. But queries seems slow, no idea why. I don't want to waste time on debugging Rust, it's easier to rewrite these queries in sqlite3. Thanks for the good work on open source.


Bump cargo-credential-1password to v0.4.0

cargo-credential updated to version 0.4.0 in #12622. This updates cargo-credential-1password to 0.4.0 as well so it can be published to crates.io.

@bors r+

:pushpin: Commit f020b00bdd70ec7abc02ba3d485ddab9c729b64f has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit f020b00bdd70ec7abc02ba3d485ddab9c729b64f with merge 5c77b5da082a639b6930162a6caa068ebafa866f...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 5c77b5da082a639b6930162a6caa068ebafa866f to master...


Spawning full scan - Approach 1

TODO:

[ ] Unittest
[ ] Add env config variable in templates for long jobs (Default to 12 hrs in prod for spawning-opt-in-out)

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

I think you can add a retry mechanism for such long jobs in check_spawning. Once every 10k request you may gate an error 5XX or a rate limiting error or a timeout.

Note that we have a retry method that might be used, or refactored to manage this case.

Closing PR for now, I will think in another approach.


Fixes for issue of duplicate query parameters when paging is required

Hi,
This is very small, but seems significant.
I have to support paging for time entries. This is not out of the box but you have to check for next_page and pass it to the options of the next request (— this is one of possible ways of doing that).
This means I have to perform this calls:
var client = Harvest(...)

client.timeEntries.listBy({ page: 1 }, (...) => { });
// resolving promise, getting response, etc.; then
client.timeEntries.listBy({ page: 2 }, (...) => { });
// etc.

With current implementation the url that is being composed looks like (see comments):
client.timeEntries.listBy({ page: 1 }, (...) => { });
// https://api.harvestapp.com/v2/timeEntries/?page=1
client.timeEntries.listBy({ page: 2 }, (...) => { });
// https://api.harvestapp.com/v2/timeEntries/?page=1&page2

which is wrong, but the behavior isn't surprising due to variable link which is global.
Therefore I moved it into the listBy scope.
What do you think?

Hello @literator ,
That's a nice fix , i didn't pay attention to that.
PS: don't worry about the tests fail, i have the access token.
Thank you.