Contract import/export validation

Closes #2174 & #2175
Imports

a module can't import memories other than field == "memory"
a module can't import tables
a module can't import globals

Exports

only call and deploy functions can be exported

Let's put this on ice briefly until we evaluate what kind of fallout does this involve.

Indeed rustc adds some exports which would cause the contract code to be rejected by this validation. For example the noop contract:
(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    nop)
  (global (;0;) i32 (i32.const 65536))
  (global (;1;) i32 (i32.const 65536))
  (export "__heap_base" (global 0))
  (export "__data_end" (global 1))
  (export "deploy" (func 0))
  (export "call" (func 0)))

So in order to deploy this contract (with the new validation rules), it would need to be run through wasm-prune in wasm-utils.
wasm-prune noop-opt.wasm noop-opt-pruned.wasm --exports "deploy,call"

results in
(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    nop)
  (export "deploy" (func 0))
  (export "call" (func 0)))

This can now be deployed successfully.


Wrappering pyodbc's close() function to allow Django 1.7 to close() a cursor multiple times.

#52

Thanks!

Thank you for curating.

New version up on PyPi.


Added ${CURDIR} built-in variable

Thank you for spotting the bug and providing a pull request to fixit. I will include it as part of 3.1.0 release, which should happen later this week.


mark private

{package} {version} {:snowflake:}
Destination channel: {Snowflake | defaults}
Links

{ticket_number}
Upstream repository
Upstream changelog/diff
Relevant dependency PRs:

...

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_52898x8iye/clone` failed. (See above for error)
The following problems have been found:
===== WARNINGS =====

clone/recipe/meta.yaml:73: license_file_overspecified: Using license_file and license_url is overspecified.

===== ERRORS =====

clone/recipe/meta.yaml:73: missing_license_family: The recipe is missing the about/license_family key.
clone/recipe/meta.yaml:73: missing_dev_url: The recipe is missing a dev_url
===== Final Report: =====
2 Errors and 1 Warning were found


Add Like Button to blogposts

📝Changed routes:

/blog/[slug]
/blog/post.module

(view full size)
(view full size)

And 1 other route:

/api/likes

Commit b4f09b12b570f1e3a1fbd3ff45ccdf27207c3f72 (https://samuelkraft-next-mkzbq8pu8.vercel.app).


Feature request: Add a PiP mode (Picture-in-picture)

Add a PiP (Picture in picture) mode to display sources in a small rectangular window, on top of the main feed (ie. Main analog + pip HDZero, Main HDZero + pip analog, etc.).
This could be very interesting in Races if you use HDZero as the main feed, and get an additional Analog feed from the referee that would broadcast the times and position of everybody, or if racing in teams the feed from your teammate.
This could also be useful of bigger quad with a second analog rear camera.
Ideally should be able to change the size of such PiP display, and move it around the screen to best fit the user needs.

This would also be useful for situations like using a "cheater" quad (camera in the front and camera in the back) for lining up rear-facing chase shots.

I have attached an analog FPV camera and have it on the AV input. It would be nice to have a picture-in-picture of the camera even when flying to keep an eye on my environment.

HDZero Goggle cannot support this.

HDZero Goggle cannot support this.

Does this means the hardware cannot stream the HDZero feed and the external analog module at the same time?
Or just that this feature is not currently worked on/wanted by the HDZero team?


⚠ Fortnite has degraded performance

In 76657ce, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1800 ms

Resolved: Fortnite performance has improved in 13d93fd.


Create a gallery demo demonstrating iOS navigation patterns

Have a demo that uses #9926 and #7508 to create a sample app that behaves like the iOS App Store with multiple parallel Navigator stacks.
Potentially create a CupertinoScaffold equivalent to the UINavigationController to handle positioning, back gestures etc to make it easy to use.

I just saw that the CupertinoTabBar already exists for quite some time, but didn't know that because it is missing in the widget section on the website: https://flutter.io/widgets/cupertino/
I would also be nice to have a tutorial how to best make two native looking apps, so this probably will mean switching between CupertinoScaffold and MaterialScaffold and different navigation patterns. Maybe also an overview of views which have both a material and a cupertino variant, such as switches, buttons and loading indicators.

Hi @renefloor. Really appreciate your feedback.
 Thanks for catching. Adding now.
Making 2 native looking apps (which I assume you mean only on a superficial UI level with most of the structure and business logic shared) will be covered in #12805. Please let me know if it addresses what you're looking for.
Widgets with Material and Cupertino variants are currently all in the gallery app which you can build and install at [flutter root]/examples/flutter_gallery.

Yes, I think #12805 is exactly what I meant. Thanks for adding it on the website.

Done now, but #4630 is still a big annoyance.


fix(3156109805): source Menu - alignment to Figma design

Description of the Changes

Align the Source menu design to the Figma
Change TransferMenuTab to SourceMenuTab
Remove isDisabled from - NetworkMenu, Badge, NetworkTitle and TokenBalance

Solves #3156109805
Checklist

[x] Manually tests of the main Application flows are done and passed.
[ ] New unit / functional tests have been added (whenever applicable).
[ ] Docs have been updated (whenever relevant).
[x] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.9.0-dev.17 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update a couple recommended changes

Now that @conniey got recommended changes coming from the repo, we can more easily update them.

@weshaggard Does the Framework Description recommended change apply to any other types?

@Priya91 can you work with @twsouthwick get the recommeded changes updated for the RuntimeInformation API's you added.

@weshaggard Sure i'll follow up!

@twsouthwick

Use RuntimeInformation.ProcessArchitecture in place of System.Environment.Is64BitProcess
Use RuntimeInformation.OSArchitecture in place of System.Environment.Is64BitOperatingSystem

FrameworkDescription and OSDescription in RuntimeInformation are not replacements for Environment.Version or Environment.OSVersion, since these API can be used for making runtime decisions whereas the RuntimeInformation description APIs are only for logging and display purposes.

@Priya91 they don't have to be direct replacements but if we can point people to the new APIs that will help them satisfy some of their scenarios that is what we are after here in the recommended changes.

@Priya91 Keeping in mind that these are not 1:1 mappings as @weshaggard described, does this look right?

@twsouthwick Yes, LGTM!


Logging client and gossip_net files

Checklist:

[ ] Tests were added for the new behavior
[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

:+1: minus nits


Add temperature scaling to categorical distribution

Description of changes:
This PR adds an optional constructor parameter temperature to CategoricalOutput to enable temperature scaling in the categorical distribution.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Right, this parameter needs to be tuned on a validation set (like a lot of other parameters used by our models should). But this parameter doesn't necessarily need to be treated as a constant. Since temperature is a member variable you can access and set it anywhere in the model via distr_output.temperature and modify it if you want. I don't see any harm in having temperature be settable via the constructor.
Background: The main reason for this PR is to enable the same kind of temperature scaling that is currently being done in the WaveNetEstimator. As part of my changes to GluonTS via the representation module, the WaveNetEstimator will loose its temperature parameter (since we want WaveNetEstimator to support flexible distributions and not just discretized representations) and the best way to enable temperature scaling then is to add it to CategoricalOutput. I'm not sure how temperature is currently tuned in WaveNetEstimator but I would claim that the same tuning could still be done here with very little to no overhead. Maybe @rshyamsundar @vafl can comment?


[CMake]

add CMakeLists.txt in Service folder
update dependencies for Launcher

to fix absolute path problem in next version


Defaults cannot be created on columns with an IDENTITY attribute

Steps to reproduce
Model with such identity field
[Key]
public int NoteId { get; set; }
generated default value and fails to update db
migrationBuilder.AddColumn(
name: "NoteId",
table: "Notes",
nullable: false,
defaultValue: 0)
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
in DB context I have
public DbSet Notes { get; set; }
EF Core version: rtm
Operating system: win10
Visual Studio version: 2015 3
Other details about my project setup:

I'm seeing this too, if I add an integer column and configure it like
    e.Property(p => p.SomeInteger)
        ValueGeneratedOnAdd();

Closing this one as a dupe of https://github.com/aspnet/EntityFramework/issues/6035 as the other issue has more discussion etc.


The right way to use Jug with class object

Hi, I defined a class which has a init. There are some methods in this class is decorated with @TaskGenerator. These methods cannot get class instance correctly. I tried 2 ways to solve it and they all don't work.

decorate init with @TaskGenerator then init() return's a jug Task instead of None
put a barrier() after defining the class object then got TypeError: cannot serialize '_io.TextIOWrapper' object

Would you mind to tell me the correct way to do it?

This is interesting, can you please post an example jugfile.py that I can try running on my side?

Here is an example
import sys
from jug import TaskGenerator
from time import sleep

class tester:
    def __init__(self, a):
        self.a = a

    @TaskGenerator
    def do_something(self, sleep_sec):
        print("Here is a: {}".format(self.a))
        for i in range(1, 1 + sleep_sec):
            sleep(1)
            print("Process: {}/{} sec".format(i, sleep_sec))
        print("Sleeping {}sec Finished".format(sleep_sec))
        return sleep_sec

sleep_task_count = int(sys.argv[1])
t = tester("aaa")
print(type(t))
fullresults = [t.do_something(j) for j in range(1, sleep_task_count + 1, 1)]

This file needs one command line argument, which should be a number (sleep_task_count). The code should totally do (sum(1, ..., sleep_task_count)) seconds of sleep.

Thanks. I'm not sure how/whether this use can be supported.
Naturally, you can use a 1-line wrapper:
class tester:
    def __init__(self, a):
        self.a = a

    def do_something(self, sleep_sec):
        print("Here is a: {}".format(self.a))
        for i in range(1, 1 + sleep_sec):
            sleep(1)
            print("Process: {}/{} sec".format(i, sleep_sec))

@TaskGenerator
def do_something_wrapper(t, sleep_sec):
    return t.do_something(sleep_sec)

I'll see if I can figure out something better...

Hi sorry for the late replying. I just get time to try it. I think your way is good, and I will use it. Thanks!


router: Setting incompatible TLS env vars breaks the cluster

A user tried to change the TLS certs of the router but only set one of the two required variables:
$ flynn -a router env set TLSCERT="$TLSCERT"
unexpected close of deployment event stream
$ flynn -a router env get TLSCERT
Get https://controller.example.com/apps/router/release: dial tcp x.x.x.x:443: connection refused

This leads to the router exiting with the following:
22:11:34.655525 server.go:117: crypto/tls: private key does not match public key

but since the router deployment uses job events, the deployment succeeds, leaving the cluster with no router processes.
The router should instead use service events so that old router jobs are only killed after initial setup succeeds (i.e. once the router reaches this code).

This is not as straight forward as just setting service: "router-api" in the bootstrap manifest because the router uses the host network, meaning the service address for both the old and new process is the same (so rather than an up followed by a down event, the worker sees update events).

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


No mention of sap.ui.Global in the API reference

In the JavaScript Code Issues is written:

Commonly used names (However they can also be used as AMD references via sap/ui/Global)

However, when I try to check an API reference of sap/ui/Global or sap.ui.Global, I get «Not found».
P.S. It's a cross-posting of https://github.com/SAP/openui5-docs/issues/64.
Where should I open an API reference/documentation related tickets: https://github.com/SAP/openui5 or https://github.com/SAP/openui5-docs?

Hello @pubmikeb ,
Documentation, regarding sap/ui/Global can be found under the sap namespace:
https://openui5nightly.hana.ondemand.com/api/sap
Regards,
Iliana

@IlianaB I think this issue can be seen as an enhancement request. IMHO, the search field in the API reference page should also consider Module: ... when applying the filter.
Expected

Current state

@pubmikeb Would you agree?

@pubmikeb Would you agree?

Right, if I type sap/ui/Global or sap.ui.Global, I expect to get some results if there is such data. No data, please try with the global search means for me, that sap/ui/Global/sap.ui.Global doesn't appear in API reference at all, which is wrong.

Hello @pubmikeb and @boghyon ,
I have synced this suggestion with the DemoKit team and created Internal Incident<PHONE_NUMBER> for enhancement request, in order to track the progress. The status of this issue will be updated here in GitHub.
Regards,
Iliana

Backlog Item is created BGSOFUIPIRIN-5529.

@kgogov Thanks for the change. Unfortunately, the change doesn't really address the issue discussed here. E.g. from https://github.com/SAP/openui5/issues/3384#issuecomment-968965908:

[...] consider Module: ... when applying the filter.

It is still not possible to filter by "sap/ui/Global" since the filter doesn't take the Module: sap/ui/Global information into account.
On the other hand, now with the above change, searching by pseudo module IDs such as the sap/m/ButtonType (real module ID: sap/m/library) is unexpectedly showing the result in the tree, because the filter doesn't take the real Module: ... information into account.

Hello @boghyon,
Thank you for your feedback on the recent changes. I appreciate your detailed input. I'd like to address the concerns you've raised:

No mention of sap/ui/Global:
Upon reviewing the issue, we found that the information for "sap/ui/Global" is indeed accessible. You can view the necessary details by visiting this link: OpenUI5 Documentation. This should provide the information you need for "sap/ui/Global".

Filtering by module: ...:
Regarding the issue with filtering by module, we revisited this internally and concluded that the current filter setup is functioning as intended. We believe the current implementation effectively addresses the necessary use cases and maintains the expected behavior for our filtering process.

Now that sap/ui/Global is completely deprecated with https://github.com/SAP/openui5/commit/a0ecb879a6876965e7077025ad6113632a8bafa3 in favor of existing APIs, this issue is no longer relevant.
On the other hand "Module: sap/ui/Global" is no longer appearing in the API Reference — that I'm not sure since when.


Diagnosing temp file usage in an app service plan when you have several app services

I recently received an alert in azure portal about temp file usage. Collectively, we were using 721 GB's of file usage across our app services. I followed the advice the alert gave me, which was to navigate to one of my app services in this App Service Plan and follow these links:
Diagnose and solve problems -> Best Practices -> Best Practices for Availability, Performance -> Temp File Usage On Workers
From this, I saw the name of "Machine Name" and instance id. I went to the kudu site for the app service I was on, and confirmed that it had the same instance id. However, when I checked D:/local/Temp and D:/local/AppData, I found both of them to be empty. I was on the kudu site for only one of my app services and there are several. Should I check every app service? Is there an easier way for me to diagnose which one is causing this issue? Any help would be appreciated.

The main site and the scm site do not share temp folders, so what you see under Kudu is not the temp space that your app sees. See wiki for more info.

"For an interim workaround, review the File System Quota Utilization table below to identify which workers are consuming more than 60% of their allotted quota. Connect to the Kudu site of each of the defaulting workers and clear the temp file contents. You may review the Understanding the Azure App Service file system article for information on where the temp files are stored."
Why is this the suggested workaround if the kudu site and the app service site don't share temp folders? Even after setting "WEBSITE_DISABLE_SCM_SEPARATION" to true, we were unable to find the offending app service. We have 21 app services on our app service plan, and manually checking each one is not ideal. Is there another way we can troubleshoot this?

We've resolved the issue by deleting and re-creating all of our app services (Deleted staging slots recreated them,, deployed to staging slots, swapped, then deleted the staging slots, and recreated them). We're now down to ~300GB of file usage. We'll continue to monitor our app services in case this issue comes up again. Here's the full text of the alert:
"Your app {app service name}, and other apps within the same App Service Plan, have been identified as apps that may be affected by an upcoming infrastructure change to improve performance and uptime. As a part of the change, we will need to apply a quota on the amount of drive space your apps can use for temporary files. The quota is applied across all apps in the same App Service Plan, and differs based on plan. Details on the limits are outlined at https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system. Based on your current plan selection, you have an expected quota limit of 58 GBs, while peak usage was observed at 721.42 GBs on 1 or more workers. You can check your current limit and usage in portal by going to "Diagnose and solve problems" section of your App Service blade, selecting "Best Practices", "Best Practices for Availability, Performance", and then "Temp File Usage On Workers". In order to avoid impact, please update your app(s) to reduce usage and reliance on temporary files before November 2018."
The instructions for the workaround came from following "Diagnose and solve problems -> Best Practices -> Best Practices for Availability, Performance -> Temp File Usage On Workers". Those instructions don't appear if you're file usage isn't above a certain threshold.

@samuelbcollie 300GB of temp file usage is still enormous. Is that something expected for you based on what your apps are doing?

@samuelbcollie it's everything that ends up in d:\local. Notes:

Each site instance has a different d:\local
For each site, the main site and scm site have a distinct d:\local, as discussed above
D:\local\Temp is what %TMP% points to, so that's typically where most of the space is taken

Hi,
i'm having the same problem, i'm deploying 5 aspnet core web app on a linux app service, i have no clue on what is eating up the sapce and i do not have any visibility on that.
This guide is not right anymore (i see no Temp File Usage On Workers) :
Diagnose and solve problems -> Best Practices -> Best Practices for Availability, Performance -> Temp File Usage On Workers
How can i diagnose what's eating up 34GB of space ? since i just deployed 5 web app each is 10mb in size. I understand that maybe the debian image is about 200mb and they all share the same base image.
Thanks

I'm having the same issue - can someone please update https://github.com/projectkudu/kudu/wiki/Understanding-the-Azure-App-Service-file-system so I know where to find this metric? Diagnose and solve problems -> Best Practices -> Best Practices for Availability, Performance -> Temp File Usage On Workers doesn't exist for me.

@wShaw, did you have a Linux app ? This wasn't working for Linux apps. We've deployed a change and you should now be able to see it now.
If you still don't see it, let me know the site name and I will take a look.

@davidebbo - so how do you view the temp folder for the app service itself?
I have an app service that is occasionally hitting the temp space max causing errors on the site, and I can't figure out how to troubleshoot.  The guidance still says "Connect to the Kudu site of each of the defaulting workers and clear the temp file contents."  If I am understanding correctly, it sounds like that is not possible?

Is this Linux or Windows App Service?  Only the size (eg. remaining available space info is available on Kudu's Env tab) - not the actual local temp content of the main site.    You could also write codes in your application to periodically check local temp space and provide such information.

It's a Windows App Service.  Is implementing a custom solution in the application really the only way to monitor / troubleshoot temp space issues in an Azure App Service?

You can try setting WEBSITE_DISABLE_SCM_SEPARATION=true, which will make Kudu see the app's temp files. But you should only do it temporarily for testing as it's not a well supported setting. See https://github.com/projectkudu/kudu/wiki/Configurable-settings#use-the-same-process-for-the-user-site-and-the-scm-site.
  Also - can you explain what the risks are of changing it?  The documentation is not very clear on that, it just says it's not recommended.

Just set it as an App Setting in the Azure Portal (under Configuration). The risk is that it could break your app since it's not a well tested path. If the app is critical, I'd suggest trying that on a test site running the same bits.

Thanks for the assistance @davidebbo - I appreciate the help!


[WIP] Fix for #8434 - Add ability to scaffold IEntityTypeConfiguration classes

As per #8434, it would be nice to have the ability to scaffold IEntityTypeConfiguration classes as an option to either OnModelCreating or data attributes.
This is still WIP as I'm working on adding tests and looking for feedback on the approach I've taken
In the process of understanding how the scaffolding code works, I realised that the OnModelCreating/DbContext configuration generation output is very similar (if not identical) to the output required for IEntityTypeConfiguration.
I extracted the appropriate parts of that code into a new ICSharpFluentConfigurationGenerator (and appropriate implementation) that provides a single location for resolving the model and generating the code required for fluent config. These methods broadly return a list of lines to be written, allowing the consumer class to generate the correct code.
I added a new ICSharpEntityTypeConfigurationGenerator which is the class that actually generates an IEntityTypeCOnfiguration class for each entity.
I also put in new parameters into the ef scaffold command, which allow you to

Specify to scaffold IEntityTypeConfiguration classes
Specify a default suffix to add to these generated classes. (e.g. MyEntity[Suffix].cs)

I'm still working on adding appropriate tests to make sure it's generating correctly, but it seems to be working at least in the basic cases.
Some things I'm not 100% sure about and would love some feedback on:

I'm not sure if we need a new way to specify what configuration style to run (in the ef command). How do we handle if someone specifies -d|--data-attributes as well as the new command I added?
I added a EntityConfigurationLocation enum to "track" the "location" of the configuration, as if we have specified IEntityConfiguration classes, then we need to write a line into the OnModelCreating to search the assembly for these classes. Is this an acceptable approach?
The ef command parameter names are super long (imo) and probably could be more concise. Happy for some feedback on them.

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


airtable api in a component

Airtable api in a component named airtable-demo.js in the components folder
The page is cars.vue in the pages folder, BUT it is not ready with the displaying part
This is an initial commit to share the airtable api connection

@harshbrahmxatriya your deploy failed. See logs from Netlify
@amanuela97 would you like to help Harsh to fix it?


Newlines are no longer created for every progress bar update

The width reported on windows was off by one, which resulted in the too-long string forcing the terminal to print a new line. This pull request fixes that error.
Should close issue #17

Thanks @Geemili


Hard-code LSP binaries in lspconfig

Opting not to do this; sometimes, we want to install things in devshells.


Not having empty "username" and "password" tags for RabbitMQ message store causes an error

Description:
When creating a RabbitMQ message store, if a username or a password is not explicitly provided, the default values for them won't be picked unless the below lines are also included in the message store
<parameter name="store.rabbitmq.username"/>
<parameter name="store.rabbitmq.password"/>

This would cause the below error:

Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
at java.base/java.util.regex.Matcher.getTextLength(Matcher.java:1769)
at java.base/java.util.regex.Matcher.reset(Matcher.java:415)
at java.base/java.util.regex.Matcher.(Matcher.java:252)
at java.base/java.util.regex.Pattern.matcher(Pattern.java:1134)
at org.apache.synapse.message.store.impl.rabbitmq.RabbitMQStore.resolveVaultExpressions(RabbitMQStore.java:383)
at org.apache.synapse.message.store.impl.rabbitmq.RabbitMQStore.initConnectionFactory(RabbitMQStore.java:147)
at org.apache.synapse.message.store.impl.rabbitmq.RabbitMQStore.init(RabbitMQStore.java:110)
at org.apache.synapse.deployers.MessageStoreDeployer.deploySynapseArtifact(MessageStoreDeployer.java:59)

This needs to be fixed so that even if the empty tags are not provided, the default values will still be fixed.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


[webview_flutter] Disable flaky test on iOS

The test 'can open new window and go back' periodically times out on
iOS, often for all runs that happen within a certain period. This is
flaking often enough to have a noticable effect on tree greenness, so is
being disabled until we can investigate further.
While changing the skip logic in this file, removes logic and comments related
to an Android-only issue that was copied over during the federation of the
plugin (set to false during the copy to make it a no-op).
See https://github.com/flutter/flutter/issues/90976
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[ ] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

Landing on red to fix tree.


Add PHP language doc

@hassandraga perhaps this person should be added to the WebUI maintainers team & the repo added to the webui-dev org account


Added category distribution analytics as per #1920

Initial attempt to get the pull request before running too far behind

Your changes should be rebased with master.

I tested your PR, but tasks with no category don't appears on the chart. It would be nice if you could add some unit tests for the new methods.

Closing this PR until the comments are addressed.


stage xpro users_profile

[ ] what are the raw fields
[ ] write up a plan for each field, including modifications to the field name, data types, data to omit, etc.
[ ] open a PR the implements the plan for users_user

id - postgres table id - keep as is
gender - "m", "f" or "o" to encode Male , Female, Other/Prefer not to say. Can be blank too. - transform this to "Male", "Female" "Other/Prefer not to say"
company - text, can be blank - keep as is
user_id - primary key for users table -keep as os
industry -text, can be blank - keep as is
job_title - text can be blank - keep as is
birth_year - text -keep as is
created_on - drop, this is django internals
updated_on - drop, this is django internals


Fill skipped error with logutils.NoSuitableAddrStr prefix

To avoid fatal errors while setting empty Error in ErrorDescription we
should fill errStr properly
Signed-off-by: Petr Fedchenkov<EMAIL_ADDRESS>

LGTM What does it take to get this fatal? We check addrCount == 0 at the top so there must be some special condition where we later see no suitable addresses.

We do not fill errStr as part of checks https://github.com/lf-edge/eve/blob/42b33d85fb70084cc03291f158eb354f75a40b88/pkg/pillar/cmd/downloader/resolveconfig.go#L280-L282 and https://github.com/lf-edge/eve/blob/42b33d85fb70084cc03291f158eb354f75a40b88/pkg/pillar/cmd/downloader/syncop.go#L261-L263.

We do not fill errStr as part of checks

Sure, that I can read from the code.
But how can I force the crash? addrCount has to be > 0 and then somehow there is no suitable address.
Is it when the DNS resolver code reports no suitable address or some race condition where zedbox thinks there is an IP address but it was removed from the Linux kernel?


getContent to be called on re-render

Hi,
I have a use-case whereby a tooltip has dynamically generated content received from the server. The request for content is triggered by the initial tooltip trigger event. When content is received, props change, re-render occurs... but getContent is not called unless another trigger event is called. Ideally the user could see this content without having to re-hover over the tooltip, as is currently the default case. Is there a workaround for this that I am not aware of?

Well, sorry no, I can't think out other solution for this scenario.
getContent is just a function, it's not involved in the react lifecycle, so technically, it won't work.

Just try to add the static method ReactTooltip.rebuild() in your componentDidUpdate lifecycle hook, like so:
componentDidUpdate() {
  if (this.props.myTooltipData !== prevProps.myTooltipData) {
    ReactTooltip.rebuild();
  }
}

Worked for me.


Updated Readme.md for monorepo support

Updated documentation for monorepo support, covering the correct approach based on  issues / problems I ran into initially.

Sounds good! Closing the PR. Cheers.


Cryptic panic when livereload server fails to start

There's a couple issues here that need to be fixed:

For some reason the hot reload port wasn't released, despite the application port being released. I'm not able to reproduce this behavior at the moment, so let's just keep an eye on it for now.

Nil pointer panic on *exe.Close
panic: runtime error: invalid memory address or nil pointer dereference
				panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x148aa70]

goroutine 66 [running]:
github.com/livebud/bud/package/exe.(*Cmd).Close(0x0)
				/Users/m/dev/src/github.com/livebud/bud/package/exe/command.go:24 +0x70
panic({0x151a1a0, 0x19de710})
				/usr/local/go/src/runtime/panic.go:838 +0x207
os/exec.(*Cmd).Wait(0x173cec0?)
				/usr/local/go/src/os/exec/exec.go:499 +0x18
github.com/livebud/bud/package/exe.(*Cmd).Wait(...)
				/Users/m/dev/src/github.com/livebud/bud/package/exe/command.go:39
github.com/livebud/bud/runtime/command/run.(*Command).startApp(0xc000256f60, {0x173cec0?, 0xc00024d300}, 0xc000243490)
				/Users/m/dev/src/github.com/livebud/bud/runtime/command/run/run.go:115 +0x3c5
github.com/livebud/bud/runtime/command/run.(*Command).Run.func2()
				/Users/m/dev/src/github.com/livebud/bud/runtime/command/run/run.go:37 +0x29
golang.org/x/sync/errgroup.(*Group).Go.func1()
				/Users/m/dev/pkg/mod/golang.org/x/sync@v0.0.0-20220513210516-0976fa681c29/errgroup/errgroup.go:74 +0x64
created by golang.org/x/sync/errgroup.(*Group).Go
				/Users/m/dev/pkg/mod/golang.org/x/sync@v0.0.0-20220513210516-0976fa681c29/errgroup/errgroup.go:71 +0xa5

The problem is that process is nil for some reason when calling the following: https://github.com/livebud/bud/blob/63900d258ae92faa4faf14e834021347f202d8a1/runtime/command/run/run.go#L75

Need a better error for unable to start the live reload server. Perhaps:
fmt.Errorf("Error starting the live reload server on %s: %w", address, err)

Eventually, I'd like to find a free port and propagate the change accordingly, but for now, I think we just supply a better error.

Steps to reproduce

This can be reproduced by altering the following:

https://github.com/livebud/bud/blob/63900d258ae92faa4faf14e834021347f202d8a1/runtime/command/run/run.go#L117-L120
func (c *Command) startHot(ctx context.Context, hotServer *hot.Server) error {
	// TODO: host should be dynamic
+	return fmt.Errorf("failed to listen")
-	return hotServer.ListenAndServe(ctx, "<IP_ADDRESS>:35729")
}

Within the bud repository, call go run main.go -C examples/hn run

Not sure if this is still an issue anymore in v0.1.9


Fix windows build broken by #416

I am not a huge fan of doing this... is there not another lib we can use?

Maybe endless? But I only used this one.

@bkcsoft endless doesn't also support windows platform now. I do the same way in my gorush application.
for unix: https://github.com/appleboy/gorush/blob/master/gorush/server_unix.go
for windows: https://github.com/appleboy/gorush/blob/master/gorush/server_windows.go
LGTM 👍

LGTM

LGTM


Update sideload-apps-in-windows-10.md

Updated document to say that as of Windows Insider Build 18956, sideloading is enabled by default. Now, you can deploy a signed MSIX package onto a device without a special configuration.

Checking to see if this is live.

Only on Github so far. May take up to a week to get the docs.microsoft.com page updated with this change (unless any of the central admins decides to increase the schedule frequency).


add multi formats

add a short help message
add multiple formats support

Thanks - very nice! This also fixes the issue that the previous couldn't handle files with spaces in the name.


Colour contrast issue with blue links on white or light grey

This issue is from the accessibility audit of the Design System website by DAC in July 2024.
DAC's description

Page: Type scale – GOV.UK Design System
WCAG reference: 1.4.6 Contrast (Enhanced) (Level AAA)
Issue ID: DAC_Colour_Contrast_Text_01 and DAC_Colour_Contrast_Text_02

Blue on light grey
The colour contrast on the blue link text against the grey background failed to meet the expected ratio to pass WCAG 2.2 AAA. The expected ratio for colour contrast with text should be at least 7:1, however the colour contrast ratio for text within this element is 4.87:1. This may be problematic for visually impaired users.
Foreground: #1D70B8
Background: #F8F8F8
Font Size: 19px
Ratio: 4.87:1

Current code:

  Read the full release notes to see what’s changed.

Blue on white
The colour contrast on the blue link text against the white background failed to meet the expected ratio to pass WCAG 2.2 AAA. The expected ratio for colour contrast with text should be at least 7:1, however the colour contrast ratio for text within this element is 5.17:1. This may be problematic for visually impaired users.
Foreground: #1D70B8
Background: #FFFFFF
Font Size: 19px
Ratio: 5.17:1

Current code:

  The GOV.UK Design System helps teams that work on government services follow the Government Design Principles and GOV.UK Service
Manual.
  This website also follows the style guide and content design guidance used by GOV.UK.

DAC's proposed solution
For sites to meet AAA, they must comply with WCAG 2.2 checkpoint 1.4.6 for colour contrast.
As far as contrast ratio is concerned, it must at least be:

if text is not bold and its size is less than 18pt/24px/1.5em/150%: 7:1 for AAA level
if text is not bold and its size is at least 18pt/24px/1.5em/150%: 4.5:1 for AAA level
if text is bold and its size is less than 14pt/19px/1.2em/118%: 7:1 for AAA level
if text is bold and its size is at least 14pt/19px/1.2em/118%: 4.5:1 for AAA level

Thoughts on solution
This is a known issue (see links under 'related issues').
Making the link colour darker would mean it's harder to distinguish from the surrounding text, which is also an accessibility issue. For that reason we have previously never "fixed" this.
Due to potential upcoming work on colours, we should revisit that decision then.
Related to that, we had checked all of our colour combinations against the upcoming WCAG 3 APCA calculation. That would be worth sharing with the people working on said project.
Related issues

https://github.com/alphagov/govuk_publishing_components/issues/3862
https://github.com/alphagov/govuk-frontend/issues/2755
https://github.com/alphagov/govuk-design-system-backlog/issues/64#issuecomment-1932825812

Additional instances
Blue links on white are the standard, so happen on all pages. Blue links on grey only happen sometimes.
If we wanted to fix this, we'd need to check under which circumstances links can be on light grey and fix all of those instances.
Needed roles
Designer

We have decided not to do anything about this at the moment because we plan to work on colours in general soon as part of an upcoming project. As part of that project we will keep this and other colour considerations (like APCA) in mind.


Teodor Dichev | Week 07 | Tasks 09, 10

My faculty number is: 7MI0600424

Task 9 - The solution has logical problem. Your code says true about every 2x2 matrix. The problem comes from the indexes.
The problem is not only for 2x2 matrix. Try this input:
1 2 3
3 2 1
3 1 5
Should be false but prints true.
Task 10 - This task is perfect. I really like that you separate each separate logic into separate functions. Your code is easy to read.


Manual installation of language-purescript & atom-ide-ui necessary

The README says that these plugins will be installed automatically upon opening the first purescript file, but I found I had to install them manually. Until I did so, I got TypeError: Cannot read property 'executeCommand' of null errors upon trying to start the IDE server.

So you visited a PureScript file, and nothing much happened, then you tried to start the IDE server yourself? Or this happened when the plugin tried to start it for you?
I don't think installation of package deps in this package has changed for a very long time, but it's possible something else in the ecosystem has which has broken this.

Correct, nothing happened when I visited a PS file, and the error popped when I attempted to start the server explicitly from the package menu.

Having the same issue here!
TypeError: Cannot read property 'executeCommand' of null at exports.executeCommandImpl (/Users/hugosum/.atom/packages/ide-purescript/lib/main.js:6187:23) at /Users/hugosum/.atom/packages/ide-purescript/lib/main.js:1143:18 at /Users/hugosum/.atom/packages/ide-purescript/lib/main.js:3464:18 at


Error while creating an AWS Secrets Manager secret

Hi there!
Describe the bug:
Not able to create an AWS Secrets Manager secret, got the error:
2020-11-11T12:27:47.7662466Z E1111 12:27:47.765945       1 controller.go:117] controllers/ExternalSecret "msg"="error while reconciling ExternalSecret" "error"="cannot get ExternalSecret data from store: name \"mySecret\": error getting secret value: unknown endpoint, could not resolve endpoint, partition: \"all partitions\", service: \"secretsmanager\", region: \"eu-central-1\"" "externalsecret"={"Namespace":"default","Name":"test-one"}

The following resources were created:
apiVersion: secret-manager.itscontained.io/v1alpha1
kind: SecretStore
metadata:
  name: aws-secret-store
spec:
  aws:
    authSecretRef:
      accessKeyID:
        key: access-key
        name: aws-key
      secretAccessKey:
        key: secret-key
        name: aws-key

apiVersion: secret-manager.itscontained.io/v1alpha1
kind: ExternalSecret
metadata:
  name: test-one
spec:
  data:
  - remoteRef:
      name: mySecret
      property: key1
    secretKey: key1
  storeRef:
    name: aws-secret-store

The Secret used to authenticate on AWS is as follows:
apiVersion: v1
kind: Secret
metadata:
  name: aws-key
data:
  access-key: <redacted>
  secret-key: <redacted>
type: Opaque

The AWS Secrets Manager has the following secret:
$ aws secretsmanager get-secret-value --secret-id mySecret --region eu-central-1

{
    "ARN": "redacted",
    "Name": "mySecret",
    "VersionId": "35645498-8b3a-42bb-9e81-075807822659",
    "SecretString": "{\"key1\":\"value1\"}",
    "VersionStages": [
        "AWSCURRENT"
    ],
    "CreatedDate": "2020-11-10T14:35:03.762000+01:00"
}

I'm also used the Administrator user in the AWS authentication to eliminate any possible permission errors.
Expected behavior
Generate a new Secret with the information from AWS Secrets Manager.
Steps to reproduce the bug:

Install secret-manager via Helm
Create the resources above and watch the controller logs

Environment details::

Kubernetes version (e.g. v1.18.9): v1.17.0 (Kind)
Secret-Manager version (e.g. v0.2.0): v0.3.0
SecretStore type(e.g. Vault vs AWS SecretManager): AWS Secret Manager
Install method (e.g. helm or static manifests): Listed above

/kind bug

seeing the same issue with IRSA's ambient environment variables. have tried explicitly setting the region as well but it's not working. Interesting that it also happens with explicit access & secret key.

FYI overriding the endpoint in the env variable works as a workaround (though of course it isn't perfect and the root cause has to be figured out here)
I just set this int he Helm chart
extraEnv:
  - name: AWS_SECRETSMANAGER_ENDPOINT
    value: https://secretsmanager.eu-central-1.amazonaws.com

It still seems like the AWS sdk is having trouble resolving the endpoint based on the region for some reason.


[SPARK-19514] Making range interruptible.

What changes were proposed in this pull request?
Previously range operator could not be interrupted. For example, using DAGScheduler.cancelStage(...) on a query with range might have been ineffective.
This change adds periodic checks of TaskContext.isInterrupted to codegen version, and InterruptibleOperator to non-codegen version.
I benchmarked the performance of codegen version on a sample query spark.range(1000L * 1000 * 1000 * 10).count() and there is no measurable difference.
How was this patch tested?
Adds a unit test.

@hvanhovell @rxin

Test build #72643 has started for PR 16872 at commit 7d1c014.

Test build #72647 has started for PR 16872 at commit bb5a1da.

Test build #72643 has finished for PR 16872 at commit 7d1c014.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72643/
Test PASSed.

LGTM

Test build #72647 has finished for PR 16872 at commit bb5a1da.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/72647/
Test PASSed.

I'm going to merge this in master. If we find a way to optimize the test we can do a follow-up pr.


ShemarooMe

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I have a subscription on this platform. The streams are available, but when select a stream I'm getting a HTTP error.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
yt-dlp -vU -F --cookies-from-browser chrome https://www.shemaroome.com/shows/shravani/shravani-ep-28
[debug] Command-line config: ['-vU', '-F', '--cookies-from-browser', 'chrome', 'https://www.shemaroome.com/shows/shravani/shravani-ep-28']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (darwin_exe)
[debug] Python 3.8.9 (CPython x86_64 64bit) - macOS-13.4-x86_64-i386-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from chrome
[debug] Extracting cookies from: "/Library/Application Support/Google/Chrome/Default/Cookies"
[debug] using find-generic-password to obtain password from OSX keychain
[Cookies] Extracted 3160 cookies from chrome
[debug] cookie version breakdown: {'v10': 3110, 'other': 0, 'unencrypted': 50}
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 1f893f5fb990b1df08820be3fac6c46ee93c0b2f797b72a104bbd485139a8e9d
yt-dlp is up to date<EMAIL_ADDRESS>[ShemarooMe] Extracting URL: https://www.shemaroome.com/shows/shravani/shravani-ep-28
[ShemarooMe] shravani_shravani-ep-28: Downloading webpage
[ShemarooMe] shravani_shravani-ep-28: Downloading JSON metadata
[ShemarooMe] shravani_shravani-ep-28: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] Available formats for shravani_shravani-ep-28:
ID   EXT RESOLUTION │   TBR PROTO │ VCODEC        VBR ACODEC    ABR
───────────────────────────────────────────────────────────────────
552  mp4 640x360    │  552k m3u8  │ avc1.4D401E  552k mp4a.40.2  0k
859  mp4 854x480    │  859k m3u8  │ avc1.4D401E  859k mp4a.40.2  0k
1466 mp4 1280x720   │ 1466k m3u8  │ avc1.4D401F 1466k mp4a.40.2  0k
2743 mp4 1920x1080  │ 2744k m3u8  │ avc1.4D4028 2744k mp4a.40.2  0k
~ % yt-dlp -vU -f 2743 --cookies-from-browser chrome https://www.shemaroome.com/shows/shravani/shravani-ep-28
[debug] Command-line config: ['-vU', '-f', '2743', '--cookies-from-browser', 'chrome', 'https://www.shemaroome.com/shows/shravani/shravani-ep-28']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (darwin_exe)
[debug] Python 3.8.9 (CPython x86_64 64bit) - macOS-13.4-x86_64-i386-64bit (LibreSSL 2.8.3)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from chrome
[debug] Extracting cookies from: "/Users/Library/Application Support/Google/Chrome/Default/Cookies"
[debug] using find-generic-password to obtain password from OSX keychain
[Cookies] Extracted 3160 cookies from chrome
[debug] cookie version breakdown: {'v10': 3110, 'other': 0, 'unencrypted': 50}
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 1f893f5fb990b1df08820be3fac6c46ee93c0b2f797b72a104bbd485139a8e9d
yt-dlp is up to date<EMAIL_ADDRESS>[ShemarooMe] Extracting URL: https://www.shemaroome.com/shows/shravani/shravani-ep-28
[ShemarooMe] shravani_shravani-ep-28: Downloading webpage
[ShemarooMe] shravani_shravani-ep-28: Downloading JSON metadata
[ShemarooMe] shravani_shravani-ep-28: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[info] shravani_shravani-ep-28: Downloading 1 format(s): 2743
[debug] Invoking hlsnative downloader on "https://d10ywznpycs72s.cloudfront.net/shemaroo-vod/altplatform/646d0a528530b83c94a82a14/1080/media-1/video.m3u8"
[hlsnative] Downloading m3u8 manifest
ERROR: unable to download video data: HTTP Error 503: Service Temporarily Unavailable
Traceback (most recent call last):
  File "yt_dlp/YoutubeDL.py", line 3247, in process_info
  File "yt_dlp/YoutubeDL.py", line 2970, in dl
  File "yt_dlp/downloader/common.py", line 444, in download
  File "yt_dlp/downloader/hls.py", line 66, in real_download
  File "yt_dlp/YoutubeDL.py", line 3742, in urlopen
  File "urllib/request.py", line 531, in open
  File "urllib/request.py", line 640, in http_response
  File "urllib/request.py", line 569, in error
  File "urllib/request.py", line 502, in _call_chain
  File "urllib/request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 503: Service Temporarily Unavailable

This patch is confirmed as working by OP:
diff --git a/yt_dlp/extractor/shemaroome.py b/yt_dlp/extractor/shemaroome.py
index 7a78c6e054aa..ec9938b8cb8b 100644
--- a/yt_dlp/extractor/shemaroome.py
+++ b/yt_dlp/extractor/shemaroome.py
@@ -73,7 +73,10 @@ def _real_extract(self, url):
         key = bytes_to_intlist(compat_b64decode(data_json['key']))
         iv = [0] * 16
         m3u8_url = unpad_pkcs7(intlist_to_bytes(aes_cbc_decrypt(url_data, key, iv))).decode('ascii')
-        formats, m3u8_subs = self._extract_m3u8_formats_and_subtitles(m3u8_url, video_id, fatal=False, headers={'stream_key': data_json['stream_key']})
+        headers = {'stream_key': data_json['stream_key']}
+        formats, m3u8_subs = self._extract_m3u8_formats_and_subtitles(m3u8_url, video_id, fatal=False, headers=headers)
+        for fmt in formats:
+            fmt['http_headers'] = headers

         release_date = self._html_search_regex(
             (r'itemprop="uploadDate">\s*([\d-]+)', r'id="release_date" value="([\d-]+)'),


Making test suite run faster

At the moment of writing Marathon's test suite contains of 51 tests and it takes forever to run them (I know, I can buy iMac Pro... 🙄). It's really not cool to run them locally to check for regression as it takes a lot of time, so we leave regression to CI only 😂
I'd love to see Marathon's test suite run faster, so we can benefit from running tests often and encourage new contributors to write tests and maybe follow TDD.
I have a gut feeling that improving this can also fix #98 😜
This issue is rather a discussion ( @JohnSundell please add label ) as I don't have a clear vision on how to improve the speed. One thing which is obvious is that we don't have mocks at all, so in every test case, se run everything from scratch and it may brings some problems.

@cojoj This has already been discussed here: https://github.com/JohnSundell/Marathon/issues/35 🙂 Since we started running the tests in parallel we felt that they were running fast enough. Sure, they could still run faster, but since we do run everything with the real file system, performing real clone operations etc, things are always going to be a bit slow. It's a tradeoff worth making for this project IMO 🙂

I had one idea, but I guess with --parallel it doesn't make any sense. I see benefits of doing real operations (not mocking), and for this project I wouldn't change it, but I was thinking about reducing some actions by grouping together tests which can form some sort of scenario, but since --parallel... ¯_(ツ)_/¯

@cojoj The UUID subfolders are used to enable parallelization, to make sure all the test cases operate in a unique folder. All for cleaning up the .marathonTests folder, how are you thinking about doing that? Because it can only be cleaned once the entire suite has finished.

We can clean up in every tearDown since we're recreating everything in setUp, right? There's also one nice thing here https://stackoverflow.com/a/29822900/1911042

@cojoj We can't clean up the main Marathon-folder (~/.marathonTests) in a tearDown since the tests are parallelized 🙂

Yeah, ok, but take a look at override class func tearDown() - it's called after executing all tests.

Oooh! I've always thought that tearDown gets called after each test method 😮 Well, you live and you learn 😄 Then we should be able to use tearDown, like you say. Feel free to submit a PR 👍


Embelishment retextures do not render properly in third-person

Minecraft Version
1.18.2
Fabric/Quilt Version
0.14.12
Fabric/Quilt API Version
v0.67.0+1.18.2
Tinkers' Construct Version
v. 1.18.2-<IP_ADDRESS>
Describe your issue
When retexturing items, the embelishment look correctly on the inventory player model, but not in third-person (displays the Cobalt texture).
Weirdly, it only affects leggings, and nothing else.
Used a texture generator built into Tinker's/Hephaestus to automatically create textures.
In inventory:

In third person:

Also, searched Tinker's Construct's issues (this should be on the list of "searched for known issues")
Crash Report
No response
Other mods
Modpack: Sky FABRICation 3
Tried reproducing with just Tinkers?
No
Performance Enchancers
Sodium
Searched for known issues?
Searched open issues, Searched closed issues

Edit: Turns out, a game restart fixed this issue.

Edit 2: It seems that this occurs at random. Strange.

Edit 3: It also happens without retexturing anything, on a different modpack.


[BUG] Set-PnPListItemPermission -InheritPermissions unexpectedly breaks inheritance

Reporting an Issue
The -InheritPermissions parameter of the Set-PnPListItemPermission cmdlet breaks inheritance for any item that is already inheriting permissions from its parent.
Expected behavior
All list item permissions are cleared and reset to inherit from the parent, per documentation at https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnplistitempermission?view=sharepoint-ps
Actual behavior
List items with unique permissions have permissions cleared and are reset to inherit from the parent as expected, but list items already inheriting from the parent have inheritance broken and are given unique permissions.
Steps to reproduce behavior
Run the following command against a document library that contains a mix of files with inherited and unique permissions:
Get-PnPListItem -List Documents | Set-PnPListItemPermission -List Documents -InheritPermissions
What is the version of the Cmdlet module you are running?
PnP.PowerShell 1.5.0 in PowerShell 7.1.3
Which operating system/environment are you running PnP PowerShell on?
Windows
Workaround
Get-PnPListItem -List Documents | ForEach-Object { if (Get-PnPProperty -ClientObject $_ -Property HasUniqueRoleAssignments) { $_ | Set-PnPListItemPermission -List Documents -InheritPermissions } }

Very good catch! We just merged a fix for this issue and it will be available in the 1.5.26-nightly release tomorrow.
To install that version:
Install-Module -Name PnP.PowerShell -AllowPrerelease

To update to a specific version
Install-Module -Name PnP.PowerShell -AllowRerelease -RequiredVersion 1.5.26-nightly


Fix clustering test

Windows Build 2975 is now running using a merge of 167e15a0a9d1d5750dbe9e412d7b4a9b69d6c216

Linux Build 7936 is now running using a merge of 167e15a0a9d1d5750dbe9e412d7b4a9b69d6c216

Linux Build 7936 outcome was SUCCESS using a merge of 167e15a0a9d1d5750dbe9e412d7b4a9b69d6c216
Summary: Tests passed: 3060, ignored: 358 Build time: 00:48:52

Windows Build 2975 outcome was SUCCESS using a merge of 167e15a0a9d1d5750dbe9e412d7b4a9b69d6c216
Summary: Tests passed: 3060, ignored: 358 Build time: 00:50:29


Measure app example

Hello, i would like to get an idea of how a distance measuring app would work using Viro React. I'd be so glad if someone could help me with this one.

Here is a thread that can get you started on measuring distance using Viro. https://github.com/viromedia/viro/issues/54
We have had a couple Measuring/Ruler apps built with Viro.


Fix exception

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

IllegalMonitorStateException
ArrayStoreException
IllegalStateException
ClassCastException
EnumConstantNotPresentException
IOException

LGTM


Wrong protoc for FreeBSD

Hi
I'm trying to compile proto files with required version v261 and looks like protoc-jar takes wrong version, here is messages
protoc-jar: protoc version: 2.6.1, detected platform: osx-x86_64 (mac os x/x86_64)
protoc-jar: embedded: bin/2.6.1/protoc-2.6.1-osx-x86_64.exe

As you can see i have Mac osx and protoc takes exe Windows executable version, but it should be binary executable FreeBSD based protoc

I'm confused, what's your platform? Mac or BSD?
It seems to detect and run Mac executable


Daemonset: allow custom image to be used

Addressing the issue with the updateDeamonSetImages that would always reset the
image to falcon-node-sensor:latest.

Another thing that I was going to go back to address.
Ack


P8 Nine Patch clear fix

I still need to test this, but here is the draft PR.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

This will introduce back the bug showing overlap lines that your previous change fixed i believe.

Possibly, Id have to see it again.  I should be able to fix this up.
I'm fighting with my local playground to get spun up so I can test, but was just getting the ball rolling on this.

Snapshot stored with reference name:
refs/pull/14434/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14434/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14434/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14434/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14434/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14434/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14434/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14434/merge#BCU1XR#0

You are right it does, ill have to take a look at this after work today.  But Ill get a fix in asap!

Thanks a lot, @Pryme8 can you explain where the +1 and -2 come from ?

Its just moving the draw methods away from overlapping.


Installation confirmation for every installer is annoying

So, I've started using Winget today. I've seen that every package that I try to install with winget it doesn't do it silently, but it asks every time if I wanna execute the installer.
Shouldn't be automatic installation the purpose of Winget? I put a list of packages that I need to install on my machine and it will do it automatically? Without user interaction?
So I'd like to know if I'm missing something, if there is a command options that I need to provide to Winget to get a completely silent installation or this is the default current behaviour, and maybe it will be changed in the future when winget will get more mature

Run cmd/PowerShell as administrator. This provides winget and its child processes (the installers) with an administrator access token so that UAC will not request manual elevation.


PUT operations in OAM layer should return 204 (Implementation)

Problem description
For PUT request in OAM layer , after successful updation , server is returning 200 OK as the ResponseCode.
As per the specification and generic concepts, this is not correct.
Proposed solution
Since the PUT operation doesn't return any value in the ResponseBody , the ResponseCode should be 204 NO_CONTENT.

Issue fixed as a part of the pull request#25


Crash when adding a property on configured cluster on new Class

OrientDB Version: 3.1.5
Expected behavior
Create a class with a defined cluster using createClass method and adding a property after creation should work
Actual behavior
Created class is displayed with correct configured clusterID

Exception is thrown when add a property on the configured class from code or UI
Cluster id 5002 was not found in database

UI is blocked

Steps to reproduce

I missed that Individual Cluster creation is required. Thank you.


update config.mk for warp-ctc plugin configure

Haha, thanks!

how do u integrate baidu warp-ctc?
I have installed baidu warp-ctc and do as readme introduction, but it occurs an error:
AttributeError: 'module' object has no attribute 'WarpCTC'
how can I solve this problem


Parsing error: ESLint was configured to run on <tsconfigRootDir>/vite.config.ts using parserOptions.project:

Describe the bug
pnpm create vite
react typescript-swc
Reproduction
https://stackblitz.com/edit/vitejs-vite-psmxmw?file=tsconfig.node.json
Steps to reproduce
No response
System Info
OS: macOS 12.5.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 101.81 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
    pnpm: 8.5.1 - /opt/homebrew/bin/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 114.0.5735.198
    Safari: 15.6.1
  npmPackages:
    @vitejs/plugin-react-swc: ^3.3.2 => 3.3.2
    vite: ^4.4.0 => 4.4.0

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

No error happens when running npm run lint. Please describe what you think is the bug.

@vaynevayne I am having the same issue trying to start a new vite react typescript project.

I also encountered the same problem and created a new react + ts project through vite.

I was able to resolve this by removing the project: true line in .eslintrc.cjs.

Having the same issue

Having the same issue with npm

Having the same issue with npm

This helped me for the time being
https://github.com/vitejs/vite/issues/13747#issuecomment-1626611687

Same issue but using yarn.

Having the same issue

Same Issue

Problem solved
./.eslintrc.cjs ：change parserOptions.project to ['./tsconfig.json', './tsconfig.node.json']
https://github.com/vitejs/vite/issues/13747#issuecomment-1636870022

same :(

having the same issue inside src folder, another fix is to add src in ignorePatterns: ignorePatterns: [".eslintrc.cjs", "vite.config.ts", "src"], in .eslintrc.cjs.

you'd better delete src


Policy for editing the ontology

What is the motivation for your change request?
Using different tools/editors can result in different serializations, which makes the git diff function useless.
Describe the solution you'd like
We need to decide on a tool that we make mandatory to be used for edits. I suggest to require certain versions of Protege. Which versions are allowed will depend on their respective OWLAPI version.
Describe alternatives you've considered
A github action that re-serializes every commit in a particular order to make diffs easier to understand. Might be complicated and brings maybe new issues with it.
Additional context
Thanks to @StroemPhi for the discussions and hints!

It was clarified in today's onto call that the suggested solution needs some testing. @brianjlowe volunteered to set up a repo for that purpose.
Decision documented in https://wiki.lyrasis.org/display/VIVO/2024-09-04+Ontology+Interest+Group+Call.

Closed with https://github.com/vivo-ontologies/vivo-ontology/pull/51.
Habemus editing policy!


build from google/cloud-sdk:alpine

This significantly reduces the size of the image.

Pushed new image to quay.io/kinvolk/google-cloud-flatcar-image-upload:17da462.


[AutoPR] containerservice/resource-manager

Created to accumulate context: containerservice/resource-manager

(message created by the CI based on PR content)

@AutorestCI rebuild https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/readme.md

Working on generating https://github.com/azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/readme.md for you!!!

Nothing to rebuild, this PR is up to date

Codecov Report

Merging #4824 into master will decrease coverage by 0.06%.
The diff coverage is 40.55%.

@@            Coverage Diff             @@
##           master    #4824      +/-   ##
==========================================
- Coverage   49.07%   49.01%   -0.07%
==========================================
  Files        6443     6500      +57
  Lines      180293   183330    +3037
==========================================
+ Hits        88486    89862    +1376
- Misses      91807    93468    +1661

Impacted Files
Coverage Δ

.../mgmt/containerservice/container_service_client.py
50.52% <0%> (+0.52%)
:arrow_up:

...ainerservice/azure/mgmt/containerservice/models.py
100% <100%> (ø)
:arrow_up:

...zure/mgmt/containerservice/v2019_04_30/__init__.py
100% <100%> (ø)

...inerservice/azure/mgmt/containerservice/version.py
100% <100%> (ø)
:arrow_up:

...019_04_30/models/container_service_client_enums.py
100% <100%> (ø)

...azure/mgmt/containerservice/v2019_04_30/version.py
100% <100%> (ø)

...ontainerservice/v2019_04_30/operations/__init__.py
100% <100%> (ø)

...erations/open_shift_managed_clusters_operations.py
14.63% <14.63%> (ø)

...019_04_30/models/open_shift_managed_cluster_py3.py
29.41% <29.41%> (ø)

...nerservice/v2019_04_30/container_service_client.py
35.71% <35.71%> (ø)

... and 107 more

Continue to review full report at Codecov.

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


Add endReached & startReached

I have tried to implement a feature that would allow users to trigger "endReached " and "startReached" functions in order to implement some sort of infinite scroll pagination on horizontal scrolls with a big load of data, on both BarChart and LineChart
This would technically bring some way to fix #437
Please feel free to review my code. I have added an example for you in order to check the changes

Thank you so much @hkellou-vitalcare for this valuable contribution. This feature will make the library more useful !!

I have added a few comments @hkellou-vitalcare
Please resolve them.
Thanks once again for this PR!!

I have reverted package-lock back to original and fixed a prop i did forget on the Wrapper. Should be fine now

I think you forgot to push the example files- SimpleBarsEndReached and LineChartEndReached

That's correct. i think i didn't git add those files. Last commit should fix it

Hi @hkellou-vitalcare
It is now available from version 1.4.1 onwards.
I have renamed the props to- onStartReached and onEndReached.
Also added an extra prop named endReachedOffset.
See pagination related props


Update CNI plugins to v1.5.1

What type of PR is this?
/kind dependency-change
What this PR does / why we need it:
Update to the latest release.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/lgtm


Wrong Instance/Layer norm evaluation

It seems like your implementation of AdaILN/ILN layer in pytorch significantly differs from tf version (actually, tf version is the correct one).
in_mean, in_var = torch.mean(torch.mean(input, dim=2, keepdim=True), dim=3, keepdim=True), torch.var(torch.var(input, dim=2, keepdim=True), dim=3, keepdim=True)
ln_mean, ln_var = torch.mean(torch.mean(torch.mean(input, dim=1, keepdim=True), dim=2, keepdim=True), dim=3, keepdim=True), torch.var(torch.var(torch.var(input, dim=1, keepdim=True), dim=2, keepdim=True), dim=3, keepdim=True)

This block implies that when you are trying to evaluate variance of each tensor in the batch over appropriate dimension, instead of variation over axes [2, 3] in IN and axes [1, 2, 3] in LN you evaluate variation of variation in IN and variation of variation of variation in LN which is wrong

Thanks!


[METADATA UPDATE] Global metadata changes

This Pull Request was generated automatically as part of a global effort to improve metadata quality. Please review and merge this Pull Request within 5 days. If you have any questions or concerns about these metadata updates, please contact<EMAIL_ADDRESS>If you are not the correct contact for this content and repository, please notify<EMAIL_ADDRESS>Fixing#710530 Remove ms.prod value devops
If this Pull Request is not merged within 14 days, it will be automatically merged by our system to ensure the timeliness of the metadata update.Please notify<EMAIL_ADDRESS>if you would like Pull Requests for metadata updates to merge automatically in future.
After you accept changes of metadata used in reports and they're merged, standard dashboards and reports will reflect new values, so you'll need to use new filter values.If you have any custom dashboards or Kusto queries, you might need to update those also.
Why we make metadata updates
Metadata updates are a normal part of business.For example, we update our metadata to reflect a new product name when a product is rebranded.Metadata updates require content to be updated because some metadata values(slugs) are included in the content(YAML header).
For metadata used internally, these updates make reports cleaner, easier to use, more consistent, and more reflective of current business.For metadata exposed to Learn Platform users, these updates ensure our users are exposed to up-to-date information consistent with their overall Microsoft experience.
Frequently Asked Questions
Why does this Pull Request appear to be made by the Repository Owner? We open Pull Requests two different ways.For Git Repos with a permissioned Service Account, we open the request from our org's Service Account.For Git Repos that we either do not have Service Account permission for or the repo is in Azure Dev Ops(ADO) we are able to open the Pull Requests in an automated way, but only with the PR creator as the Repo owner.

Learn Build status updates of commit 7c1ed1b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildArtifactAddedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildChangesCalculatedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildCompletedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDefinitionChangedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDefinitionChangingEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDeletedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDestroyedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildPollingSummaryEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildQueuedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildsDeletedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildsDeletedEvent1.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildStartedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildTagsAddedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildUpdatedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/ConsoleLogEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/RealtimeBuildEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/SyncBuildCompletedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/SyncBuildStartedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/TaskOrchestrationPlanGroupsStartedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/TimelineRecordsUpdatedEvent.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Internals/BuildDefinition3_2.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Internals/BuildDefinitionTemplate3_2.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi/AccessDeniedException.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi/AgentPoolQueue.xml
:warning:Warning

Details

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi/AgentPoolQueueReference.xml
:warning:Warning

Details

This comment lists only the first 25 files in the pull request.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildArtifactAddedEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildChangesCalculatedEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildCompletedEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDefinitionChangedEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDefinitionChangingEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

azure-devops-dotnet/xml/Microsoft.TeamFoundation.Build.WebApi.Events/BuildDeletedEvent.xml

Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.
Line 0, Column 0: [Warning: ms-prod-missing - See documentation] Missing attribute: 'ms.prod'. If you specify 'ms.technology', you must also specify 'ms.prod'.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


crd definition support multiple evaluator

crd definition support multiple evaluator

Coverage remained the same at 71.479% when pulling ba1fba089e0a6e4a1af365648c59439ae733ed3b on oikomi:patch-4 into 3408d32b8e3c7ae672f643e7d3b832e47adb44ec on kubeflow:master.


koma-labeling:0.1.0

I am submitting

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

Description: The koma-labeling package for Typst is inspired by the labeling environment from the KOMA-Script bundle in LaTeX. It provides a convenient way to create labeled lists with customizable label widths and optional delimiters, making it perfect for creating structured descriptions and lists in your Typst documents.
Example:

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[ ] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

I think everything is fine now, thank you :)


Define adapter.getChainMetadata() to return decimals and ss58 from

          This is a good idea to retrive decimals and ss58 from RPC, and needs to go into adapter as a function, `getMetadata()`

Originally posted by @chrisli30 in https://github.com/OAK-Foundation/oak.js/pull/91#discussion_r1401382695

The chainMetadata() is used to retrieve the latest chain config via API, but should fall back to the hard-coded config values in @oak-network/config package, if failed.

These config values rarely change, so this is a low priority.


how to make an eval function?

Thanks for fe -- a very nice tiny interpreter.
How could I make an eval  function (or macro)?  i.e. such that
(= a '(+ 1 2))
(eval a) => 3
I tried using mac and fn but couldn't make it.  Did I miss something obvious?

Here's how I did it:

In fe.c, at line 44, add a new primitive type P_EVAL to the enum.  You can insert it anywhere before the final field, P_MAX.
In fe.c, at line 50, add the string name for P_EVAL as "eval".  N.B. you need to insert the string at the matching index based on the value of the enum field you just added.
In fe.c, at line 634, add this code:

case P_EVAL:
    va = checktype(ctx, evalarg(), FE_TPAIR);
    res = eval(ctx, va, env, NULL);
    break;

You now have a functional eval primitive.  The following scheme code should work:
(print "(eval '(+ 100 200)) =" (eval '(+ 100 200)))

(do
    (let expr '(for x (list 1 2 3 4 5)
                       (print "x =" x)))
    (print "(eval expr) =" (eval expr)))

Keep in mind that fe doesn't support tail call optimization. This implementation of the eval primitive invokes two peer recursive calls to the C eval function.

Thanks for your modification!
Any chance the original author (rxi) would include it in 'fe'?

I realized this well after my last post, but I sort of over fitted my implementation to your example.  You can simplify the case statement I provided:
case P_EVAL:
    res = eval(ctx, EVAL_ARG(), env, NULL);
    break;

The prior version would only evaluate function application.  This version will dynamically evaluate any legitimate s-expression.  For example:
        (do
            (let a 42)
            (print "(eval 'a) =" (eval 'a)))

Now works, evaluating the variable.  Either version works, depending on your needs.  Just thought I'd mention it.
I don't want to speak for @rxi but I think the idea is that fe is so simple others can take it and mold it to their specific requirements.  I've heavily customized fe for my use cases.
@rxi If you like the idea of officially adding an eval primitive to the interpreter, let me know.  I'd be happy to prepare a pull request.

@jeffpanici75 What is EVAL_ARG()? There is no mention of it at all in fe.c or fe.h.


Guidance on using emqttd for a chat app

I would like to leverage emqttd to build a whatsapp like chat app. Seeking some architectural guidance here, because I have zero experience with Erlang.
My question really is around the recommended server side architecture, on how to process messages that are exchanged between the clients. I need to apply some business rules (filter specific words, check if the recipient has blocked the sender, etc etc. I understand there is the template plugin I can leverage, but Ideally, I'd like to do the processing outside of Earlang entirely. I'd also like to store the message in an external database for archival purposes
I am thinking of creating 1 topic for each user that it subscribes to (readonly) for all incoming messages.  The message payload contain the additional metadata as to who is the real intended recipient, message content, etc. All users also publish only to a fixed set of topics.
I will then set up clients (in my prefered language of development) that listen to the topics where messages are published to, do the business rules processing and takes the appropriate action further, like publishing it to the intended recipient users topic, dropping the message, throttle the number of messages, whatever my business rules require. This is where I also archive the messages for future use
Would this be a reasonable architecture? Would it work at scale? Any better design / best practices recommendations?
Thanks!
PS: Awesome, awesome project!

Hi @pranavmehta, we built an emqchat app based on emqttd broker. We defined two types of topics for private/group chat:
Private Chat Topic: chat/user/${uid}/inbox

Group Chat Topic: chat/room/${room}/inbox

Thanks a lot for the response. Your suggestion makes a lot of sense.
Can you please make some recommendation regarding processing the messages before they are delivered to the recipient? Would you recommend having dedicated "listener" clients on the server that received all messages from the mobile devices, processes them and puts its in the intended users inbox? In this approach I am using emqttd for bi-directional messaging
Or you you recommend a standard REST API that all users post messages to, which in turn does the processing and puts the message to the recipient's inbox? In this approach, I am using emqttd purely to  push messages downstream from the server to the handsets.
Your feedback is very much appreciated. Thanks a lot!

Hi @pranavmehta, have tried the both approaches and can you share me the advantages and disadvantages of both.

@pranavmehta, I choose first way since HTTP API add overhead


2152 homer - Cleanup Install Script

Remove legacy dependencies

Store assets on persistent disk

@hashes4merkle OK this PR is prepared to be merged into dev branch for the v1.7.1RC2 release. Do you see still missing pieces?


Ripple Security Issue

@dkkoval  Hi. I've checked your branch. (https://github.com/dkkoval/peatio )
Thanks for your ripple work.
But I've found some issues in generating new address in ripple.

You used ripple Api v1 to generate address. Is it Ok now? now ripple api v2 is used. v1 api looks deprecated.
if  you generate new address with api, where secret key of new address is saved?
for security, it should not be saved in ripple api node (https://api.altnet.rippletest.net:5990).

Can you answer to this questions?
Waiting your replies.
Regards.

Hello @Apollo-IT. Please make sure you are using latest master in rubykube/peatio repository. We are not using that Ripple API now.
I'm closing this issue since it's not related to the fresh peatio version. Feel free to reopen if you have questions about the latest master.

thanks.

hi @dkkoval
please check this
i think this uses old api v1
https://github.com/rubykube/peatio/pull/602/commits/147843521f015407b92f1cb343cfe0bb7c3247d1
also i asked 2 questions above. but you've not answered

Hi @Apollo-IT,
We are working on new Rippled API client implementation. It will be compatible with latest Ripple JSON RPC.

but i cant find any code for it.
I mean generating new addess.

@Apollo-IT It is WIP.

i can help WIP
I'm working on ripple too

can you share with me ripple code?


Can we have a show method for DataContainers

from cil.framework import DataContainer
import matplotlib.pyplot as plt

def show(self, cmap = 'gray', cbar=False,
         vmin= None, vmax=None,
         title=None, figsize=None, filename=None, dpi=200,
         axis='off'):

    fig = plt.figure(figsize=figsize)
    plt.imshow(self.array, cmap=cmap, vmin = vmin, vmax=vmax)
    plt.axis(axis)
    plt.title(title)
    if cbar:
        plt.colorbar()
    if filename is not None:
        plt.savefig(filename, bbox_inches='tight', dpi=dpi)
    plt.show()

setattr(DataContainer, 'show', show)

Isn't show2D enough?

As discussed this morning, this will be achieved with a function in an utility file.


Add Logitech Options 8.20.329

Please note this installer can't be made silent, it's custom and does not accept any silent switch install, therefore I don't know if can be accepted.

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

@OfficialEsco thanks for your help! It worked.

This pops a UI which prevents silent install.

Please note this installer can't be made silent, it's custom and does not accept any silent switch install, therefore I don't know if can be accepted.
Chocolatey is using an autokey in order to accept prompts.

Closing because has been added with #5695


Add Ansible Lint workflow (small)

This PR is a subset of #187. It purely turns on the linting, though disables all rules that are currently being infringed.
This should be easier to review, and can be followed up by multiple PRs that progressively enable rules while fixing their issues.

This looks great @ind1go , thanks so much for helping out this community !!!!


UI will scroll to the task which is changed/added

Coverage increased (+0.3%) to 81.642% when pulling 4e99996691155c087d66eaa3f42857a6243cedba on UI_scroll_to_new_or_edited_task into a039cf833f8acf860859afa6eff98b24f884e0e5 on master.


When Drug Trial is locked the url links are not available

The URL links to the source of the data should function whether or not the record is locked.  If this is only an issue in the Admin interface, the fix is not urgent.

Let me correct that, the Source Link works, but the buttons to Open link in new Tab and Open link in new window do not work (are locked).

Open Link in New Tab and Open Link in New Window buttons will now work even when a drugtrial is locked: https://github.com/UPDDI/mps-database-server/commit/69d78c5024b643cdc7556a9c9ae2312574bc9bb5


(PUP-4524) Stub command execution in base service provider spec.

Rather than rely on executing ruby to manipulate a file to "emulate" a
service start/status/stop command, stub command execution itself to
ensure the base service provider is executing the commands as expected.

CLA signed by all contributors.


document error in stencil_instructions

Versions

Python: python 2, 3
OS: Windows
Kivy:1.10
Kivy installation method:pip

Description
I am not sure it is expression error here, https://github.com/kivy/kivy/blob/master/kivy/graphics/stencil_instructions.pyx#L16-L48
I am wondering PHASE 3 here. My understanding is that PHASE 1 is just PHASE 2's mask, PHASE 1 has no relationship with PHASE 3, because after StencilUnUse, PHASE1 is no longer take effect.
so, the next description make me lost
https://github.com/kivy/kivy/blob/master/kivy/graphics/stencil_instructions.pyx#L51-L55
it is said that
"Drawing in PHASE 1 and PHASE 3 must not collide or you will get unexpected results"
how to understand it, and the following example makes more confusion,
https://github.com/kivy/kivy/blob/master/kivy/graphics/stencil_instructions.pyx#L67-L92
in this example, PHASE 1 is the same with PHASE 3, it is contradict with the saying "must not collide" and the comments said
"# you must redraw the stencil mask to remove it".
so I am total lost here. I am not sure there is document error here, or I just missed something
Code and Logs
// REPLACE ME: Paste your code and logs here, a template can be found at https://git.io/vM1id.

This indeed is wrong and confusing.
To avoid weird artifacts, it's indeed necessary for the instructions in the "phase 3" here, to exactly match the ones in phase 1. and nothing in phase 3 will be drawn directly to screen until phase 4.

pushed a change to fix that, thanks for reporting!

pushed a change to fix that, thanks for reporting!


Enable changing node from test to test

Makes it possible to change the change blockchain node from test to test, but defaults to the Ganache VM.
Based off https://github.com/embark-framework/embark/pull/1846

@iurimatias and @emizzle I removed Ganache from the proxy itself. Now ganache registers itself as a VM and the proxy just uses the last one registered. This means that if a plugin registers a plugin, it will use that instead of Ganache. It's the same as a compiler for example


Can we use client_hint with OIDCStrategy?

Just asking because I tried without luck.

Frankly I did not remember, it was 3 years ago and I do not work on this project anymore :sweat_smile: But I will pass along this info


Populate participants for peer-reviewed step

https://github.com/elifesciences/data-hub-issues/issues/575

It would be good to review sql query together (as I am not sure about if it is the correct way to get editor names only from -PR- version of manuscript).


Add settings page and persistent settings

Currently all settings are fixed and cannot be changed without editing the .env file and restarting the app. It would be great to ba able to edit settings on a settings page and have them persist over restarts.
Potential solutions:

django-constance pypi package. On a setting change call a receiver signal to trigger the change (for example the camera resolution)
Create a Settings table in the database to store and set the custom settings. Then create a class with the settings as properties. A change of a property will induce the setting change in the DB and in the app. This may be favorable to avoid having a large switch case to consider every possible setting change in the signal receiver.

Once accounts are implemented, only admins should be able to edit global settings

Settings are now present in the settings page (cog wheel in the header bar)
The settings persist over restarts and over all workers thanks to django constance


Upgrade vineyard version to fixes some build failures on Mac.

What do these changes do?
Fixes the build failure on Mac and header not found issue after upgrading vineyard when compiling frames.
Related issue number
N/A

Codecov Report

Merging #1748 (29b561f) into main (96ffefe) will decrease coverage by 3.78%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1748      +/-   ##
==========================================
- Coverage   44.01%   40.22%   -3.79%
==========================================
  Files          89       89
  Lines        9764     9764
==========================================
- Hits         4298     3928     -370
- Misses       5466     5836     +370

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/deploy/hosts/cluster.py
31.64% <0.00%> (-55.70%)
:arrow_down:

python/graphscope/analytical/app/java_app.py
24.24% <0.00%> (-44.95%)
:arrow_down:

python/graphscope/framework/utils.py
40.10% <0.00%> (-14.85%)
:arrow_down:

python/graphscope/framework/app.py
69.95% <0.00%> (-10.33%)
:arrow_down:

python/graphscope/client/rpc.py
81.48% <0.00%> (-8.34%)
:arrow_down:

python/graphscope/framework/graph_schema.py
52.45% <0.00%> (-7.11%)
:arrow_down:

python/graphscope/tests/conftest.py
48.21% <0.00%> (-4.65%)
:arrow_down:

python/graphscope/client/session.py
63.75% <0.00%> (-3.22%)
:arrow_down:

python/graphscope/analytical/udf/utils.py
36.17% <0.00%> (-3.20%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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