fix for azure in meteringconfig.crd

added different configs for azure in the meteringconfig.crd to allow creating secrets for testing

/lgtm
/approve


Repo sync for protected CLA branch

The pull request is created from main637841055878520506 to main to fix git push error for protected CLA branch

@ghogen : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Add Support for sending raw photos.

Ideally have a url something like /raw/key which will copy the file to Output bucket and return the url.

added in https://github.com/PrimeDigitalGlobal/image-resize-lambda/pull/8


[AutoComplete] TextField lost focus when selecting suggestions with up/down buttons

After selecting autocomplete suggestions with arrow buttons you can't type anything and return to text field again with up arrow

(can't find gif capture tool that will show keys that i pressed)
Especially pissing me of when pressing backspace to remove text returns me to previous page

Moving this issue to  #5062


Use mmap'd *.cwasm as a source for memory initialization images

This commit addresses #3758 and makes it possible to avoid memfd_create when loading a module from a precompiled binary stored on disk. In this situation we already mmap the file from disk, and we can use the same technique that memfd uses where a copy-on-write mapping is made whenever a module is instantiated. This measn that all Unix platforms, not only Linux, can benefit from copy-on-write so long as the module comes from a precompiled module on disk.
The first commit here is refactoring to enable this functionality on Linux. After the first commit we avoid creation of a memfd and instead map the raw underlying *.cwasm into memories. This involved moving the creation of the memory image to compile-time of Module rather than construction-time of Module, as well as aligning the data section to ensure it shows up at a page-offset boundary in the file (which is required by mmap). The second commit then enables this support to work on macOS which involved some #[cfg] followed by tweaking the madvise logic to instead blow away the mapping (no reuse on systems without madvise(DONTNEED) as there's no portable way to reset the CoW overlay)
I tried for a bit to get this working on Windows, but while I could get things to compile I don't believe the same technique we're using here for Unix works on Windows. Windows appears to reject mapping a file onto a pre-existing region allocated with VirtualAlloc, meaning that all attemps to map the file into memory have failed so far for me. This StackOverflow question seems to suggest that this may simply not work on Windows unless we use undocumented APIs. In any case the major benefit of this PR is avoiding extra file descriptors on Unix for modules created from files on disk, so while having Windows support would be nice it's not necessarily required.

A very conservative answer to the above risk would be a new Module constructor that is something like Module::map_file_direct(File), and then explicitly avoid the direct-mmap for the existing API that just takes a filename -- though I'm ambivalent about that as it would mean perf benefits are hidden in a non-default place that the average user might not find either.

Given that as you say this already is a bad idea, I think the downside you point out here weighs heavy. Is there any kind of actual safety downside to this relative to the current situation? If not, then we should either make the current behavior safer by default, or continue making use of the benefits we get from this approach. (I also think that it's fine to assume continued existence of files like this, with the argument being "don't shared libraries work this way, too" or something similarly handwavy in that direction.)

For performance numbers I actually naively assumed it wouldn't really matter here. I don't think our microbenchmarks will really show much today though since it's all just hitting the kernel's page cache. I don't know enough about mmap performance from files to know whether this is what we'd continue to see out in the wild though.
What I got though for "instantiate large module" is below. In this benchmark it was purely instantiation so only setting up vma mappings and not actually doing anything with them:
parallel/pooling/rustpython.wasm: with 1 thread
                        time:   [5.1166 us 5.1196 us 5.1226 us]

parallel/pooling/rustpython.wasm: with 1 thread (loaded from *.cwasm)
                        time:   [5.0117 us 5.0143 us 5.0170 us]

I then modified the benchmark to write 0, from Rust, to every single page of memory after instantiation succeeded and I got:
parallel/pooling/rustpython.wasm: with 1 thread
                        time:   [4.0414 ms 4.0418 ms 4.0422 ms]

parallel/pooling/rustpython.wasm: with 1 thread (loaded from *.cwasm)
                        time:   [4.0682 ms 4.0686 ms 4.0690 ms]

Running a few times this seemed consistent, although the "load all the pages" had some variance in time to the point that I think they were roughly equivalent.
The full diff for the benchmark was https://gist.github.com/alexcrichton/7e555a405f2815ec69fcac659b5d85de and the first numbers were collected without the changes to the instantiate function which write to memory.

In terms of safety, Module::deserialize_file is already unsafe because loading arbitrary data is not memory safe, so adding to the list of requirements "this needs to stay as-expected for the entire duration of the lifetime of the Module doesn't seem so bad to add. I don't think it makes the safety any worse relative to what we have today?

a thought occurred to me: this is mostly improving module-load performance, so it would be interesting to benchmark module loading

This is a great idea and something I forgot! I was inspired to write this up in a benchmark from this -- https://github.com/bytecodealliance/wasmtime/pull/3790. My first attempt at benchmarking this showed no improvement from this PR but I was alarmed at the relatively slow deserialize time, which spawned https://github.com/bytecodealliance/wasmtime/pull/3789. Upon further thought though I remembered that memfd creation is lazy and consequently not affected by what I was benchmarking (purely deserialization, not deserialization plus instantiation).
I then updated the existing code to more eagerly construct the memfd, and that regressed relative to this PR by ~10x, with most of the time spent in write and memcpy (movment from data segments to the image). So it looks like this can definitely help improve first-instantiate time and we can probably make memfd creation un-lazy after this.

Anyway I will get to the rest of the review in a moment now...

I then updated the existing code to more eagerly construct the memfd, and that regressed relative to this PR by ~10x, with most of the time spent in write and memcpy (movment from data segments to the image). So it looks like this can definitely help improve first-instantiate time and we can probably make memfd creation un-lazy after this.

This is great! And yeah, I agree, given that the memfd state is now cheap to create on load (a wrapper around the Arc<File> with some metadata basically) there's no reason for it to be lazy anymore.


removes pod install warnings

fix for #10
Try a pod install without this, and you may see the warnings as copied into the issue. This removes those warnings. Basically, I just had to follow the instructions given in the warnings themselves.

Do we know when this occurred? Did cocoapods do this or was this a result of changes @jgsamudio  made?

Happened as of this commit: https://github.com/prolificinteractive/PIDatePicker/commit/4d12e69aeacc48b0bd20dc6cf5c124544caa0c71

Hey guys, I removed the link to the pod under build settings because I was receiving a warning when I compiled that there were two classes for the PIDatePicker. One locally and the other was from the PIDatePicker pod.

Oh hey, I just noticed that the date picker pod files are in the example project as well as the Pods directory. This isn't correct. We should fix this.

Ahh ok gotcha. I've never updated pod files before so can they be edited locally?

Yeah they can be. I will file an issue.


New Component: Wrapper TSX or JSX- Good First Issue

With the file structure created, its time to add some TSX (if not familiar with typescript, feel free to submit the solution HERE on a comment, in JS. I will personally convert to TSX, also here. You can then update and submit the PR)

[ ] The Wrapper component will nest children
[ ] It will hold all the MAIN components of the app, semantic HTML counts here =)
[ ] Its requirements are height of 85vh and width of 100vw
[ ] Export default and import in App.tsx
[ ] It will wrap the main content between Header and Footer
[ ] Add any element with some mock text in between the wrapper for now

<Wrapper>
This is some mock text
</Wrapper>

If willing to take on this task, please comment below to be assigned to it, read the contributing.md, and remember to submit PRs to development branch.
Thank you and happy collab!

Hi, I want to solve this issue, please!


Adding partner embed to settings and template

What's this PR do?
Adds the partner embed option to the settings (per campaign)
Renders the markup on the template

How should this be reviewed?
does the buttons do what they say they do

@weerd Ready for review!

@weerd Had to be isset not !is.. otherwise all good on my end!

oh yeah, duh. tee hee

@weerd Thanks for closing my PR! 😆


Rev pub packages

Also, teach big_red_button how to make a REVISION file in sky_engine/lib.

TBR @eseidelGoogle

lgtm


Remove item on the SinglyLinkedList

On the remove item function
           previous.next = undefined;
should be
            previous.next = current.next;
This line will relink the node if the current one (to be deleted) has a next node.
I already added the change on the doubly.
see 88e49639d527cc5676149e3b45b277fe4492f75c.

/**
     * Removes the first instance of an element from the SinglyLinkedList
     * @param {T} item The element to remove from the SinglyLinkedList
     * @returns {T} The removed element from the SinglyLinkedList; undefined if the SinglyLinkedList is empty.
     */
    public remove(item: T): T {
        if (this.empty()) {
            return undefined;
        } else {

            let current: Node<T> = this._head;
            let previous: Node<T>;

            while (current.data !== item) {
                previous = current;
                current = current.next;
            }

            previous.next = current.next;
            return current.data;

        }
    }

Running tests on it throws this error:
TypeError: Attempted to assign to readonly property
Not sure why this happens


/usr/local/opt/fzf/shell/key-bindings.zsh:32: parse error near `}'

After upgrading to 0.21.1 i now get this error in my terminal
/usr/local/opt/fzf/shell/key-bindings.zsh:32: parse error near `}'

Mac OS 10.14.6
zsh 5.3 (x86_64-apple-darwin18.0)
brew info fzf
fzf: stable 0.21.1 (bottled), HEAD
Command-line fuzzy finder written in Go
https://github.com/junegunn/fzf
/usr/local/Cellar/fzf/0.21.1 (17 files, 3.7MB) *
  Poured from bottle on 2020-04-06 at 09:17:04
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/fzf.rb

zsh --version ?

I already mentioned zsh version above: zsh 5.3 (x86_64-apple-darwin18.0)

Ok, resolved. I created an alias called 'done' that broke zsh. :-(


Typo in the guide

Q
A

Is bugfix?
no

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues

Merged. Thanks!


Online-1182 Add marketing configs and URLs

Description

We want to make the footer identical to the learning MFE, Learning MFE has separate TOS and Honor links. Currently, TOS & Honor link is not working on the legacy site. Also, as mentioned in the ticket, we want to disable all other links like About, Blog, Contact, Donate, etc.
Motivation and Context

Fixes https://github.com/mitodl/mitxonline/issues/1182
How Has This Been Tested?

I tested this locally by changing the settings.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Enhancement (improves on existing behavior)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. (Did you install and run the pre-commit hooks?)
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Hello @blarghmatey,
It seems like the settings added under this PR are not picked by edX. I am working on making the footer consistent across MITx Online, I just noticed this.
Could you please check the values of these settings from edX?

MKTG_URLS
MKTG_URL_LINK_MAP
MKTG_URL_OVERRIDES

MKTG_URL_LINK_MAP should be {'TOS': 'tos', 'HONOR': 'honor'}. If not, please check why these settings are not reflected in edX.

I just checked against the production MITx Online and got the following:
>>> from django.conf import settings
>>> settings.MKTG_URL_LINK_MAP
{'ABOUT': 'about', 'CONTACT': 'contact', 'FAQ': 'help', 'COURSES': 'courses', 'ROOT': 'root', 'TOS': 'tos', 'HONOR': 'honor', 'TOS_AND_HONOR': 'edx-terms-service', 'PRIVACY': 'privacy', 'PRESS': 'press', 'BLOG': 'blog', 'DONATE': 'donate', 'SITEMAP.XML': 'sitemap_xml', 'WHAT_IS_VERIFIED_CERT': 'verified-certificate'}

It shouldn't be that. It should be {'TOS': 'tos', 'HONOR': 'honor'}. Could you please identify why the changes in this PR are not picked up by edX?

I'll take a look

So, I looked at the lms.yml file as it exists on disk and it has the proper values for MKTG_URL_LINK_MAP and MKTG_URL_OVERRIDES. That leads me to suspect that there's something in the platform code that is merging those values with another data structure to produce the output that I pasted above.

@blarghmatey you are right. MKTG_URL_LINK_MAP  is updated in production.py using the values from common.py and lms.yml so it keeps the common key-value pairs resulting in the above value.
I have updated my current PR https://github.com/mitodl/ol-infrastructure/pull/1370 accordingly to handle this issue. An alternate method is to add site configs at /admin/site_configuration/siteconfiguration but it just works for MKTG_URL_OVERRIDES .


[A11Y] [Web] Share Icons on Component Page not labeled

ENVIRONMENT:
Build number: 56.0.2924.87 beta (64-bit)
Form factor: Chromebook
Browser: Chrome
PRE-REQUISITE
chromevox is ON
STEPS TO REPRODUCE:

Open https://ampstart.com
Navigate to Components Tab
Using chromevox, navigate to Share Icons
Cycle through Share Icons

ACTUAL RESULTS:
Share Icons read as link
EXPECTED RESULTS:
Icon should read properly ie bird icon for twitter etc.
ATTACHMENT:

In my a11y bugs branch
Commit Fix


About "task-specific" prefix in Prefix tuning

Feature request
Thanks for your great job.
I wonder in prefix training, the virtual tokens seem to be initialized like this:
self.prompt_tokens[adapter_name] = torch.arange(
config.num_virtual_tokens * config.num_transformer_submodules
).long()
Does this corresponds to random initialization? Have you offered the "task-specific" prefix code?
Looking forward to your reply! @tmm1 @hotchpotch @kashif @srush Thanks!
Motivation
Try to figure out the principle of prefix tuning. Thanks!
Your contribution
Not sure.

Does anyone know this? Does prefix tuning implementation in Hugging Face use random initialization?
I read in the paper that :
In particular, initializing with task relevant words such as “summarization” and “table-to-text” obtains slightly better performance than task irrelevant words such as “elephant” and “divide”, but using real words is still better than random.

First off, HF has chosen to implement two variants of Prefix Tuning depending on the value of prefix_projection passed to PrefixTuningConfig:
a. Use a torch.nn.Embedding() lookup table for the prefix tokens. Then project that into the same feature dimensionality as the input to a transformer submodule using two linear layers and a tanh in between.
b. Only use a torch.nn.Embedding() for the prefix tokens & make sure the dimensionality is already compatible with that of the input for concatenation.
If you look at the code for PrefixEncoder here, yes, it does seem like random (well, standard Gaussian for the embedding layers atleast) for everything.
This is unlike Soft Prompt tuning, where they use some text your provide to initialize the soft prompt tokens.


Dragonsteel Prime in own section?

How it is right now, the Dragonsteel Prime chapters are with the WoK Prime chapters under the same name, which seems a little confusing to me. Is it a better idea to split them up?

I was going by https://brandonsanderson.com/category/deleted-scenes/the-way-of-kings-deleted-scenes/

@allanburleson I've added you as a collaborator to the repo, going by the pull-request-hack. I'm not actively following the prime chapters, so you might be a better judge of organizing that. Feel free to go ahead and improve the split :100:

This chapter comes from the 2000 draft of a book called Dragonsteel. Some of the settings, situations, and characters were repurposed into The Way of Kings (2010).

Brandon's website still tags them as WoK:Prime, so closing this.

Now that WoK Prime is officially available (https://www.brandonsanderson.com/the-way-of-kings-prime/), I removed WoK Prime code from this repo. However, noticed today that the DragonSteel Prime chapters are not present in the published edition.
So this issue becomes relevant now! If someone has a cover idea for DS:Prime, please reply.


tests: consolidate opentelemetry-collector

Please provide a description of this PR:
fix: https://github.com/istio/istio/issues/40495
cc @howardjohn

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
6dd242b252f48142ead2137a1b9b2837efff33e4
link
true
/test integ-telemetry

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
6dd242b252f48142ead2137a1b9b2837efff33e4
link
true
/test integ-telemetry

integ-telemetry-istiodremote_istio
6dd242b252f48142ead2137a1b9b2837efff33e4
link
true
/test integ-telemetry-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
6dd242b252f48142ead2137a1b9b2837efff33e4
link
true
/test integ-telemetry

integ-telemetry-istiodremote_istio
d29e1a35fb139267528980bd4a7522d9c7b4a4f2
link
true
/test integ-telemetry-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster

In response to a cherrypick label: new pull request created: #40677


Referenced watchers with only idle workers

Idle workers shouldn't keep the loop running, but the stderr piping keeps the loop running with only idle workers.

This has been fixed.


No error detection using C++

Description of the problem or steps to reproduce
Whenever I edit a *.c file the error detection works perfectly fine, but when I am trying to edit a *.cpp or *.hpp files no error notifications pop up at all.

Specifications
Commit hash: c51f849
OS: Pop!_OS 19.04
Terminal: XTerm / Gnome Terminal

@zyedidia, why did you close my issue without any explanation?

 Sorry for my inattention.

No problem, thanks for reporting the issue!


When changing zoom factor, sometimes the weekend dates is displayed

Hi,
First, I changed the value of GRIDX to 20 because I want to show all the dates in a daily chart.

When changing the zoom factor via the mousewheel, sometimes the weekend dates is being displayed.

I saw this too, the reason is the grid augmentation algo:  https://github.com/C451/trading-vue-js/blob/master/src/components/js/grid_maker.js#L193
Need to improve this.

Thanks for the pointer. From a bit of debugging I found that the weekend grid is shown if extend_left push a value to xs. If extend_left doesn't push any value the weekend days is not shown.
I personally prefer that date without value is hidden (just like the weekend days), so for my solution I'll simply comment the mentioned lines.
Also I rather like the weekend/holiday gap since from my observeration people seem to like to buy on monday and sell on friday (shorting is rare in my country). So although it is uncommon to show weekend gaps, for some people it could be a feature.

Yes, this needs to be reviewed.


The error thrown in async effect is not passed to the app.config.errorHandler

Version
3.0.5
Reproduction link
https://codepen.io/foyzhao/pen/OJbJYWV
Steps to reproduce
import { createApp, ref, watch, watchEffect } from 'vue'

const app = createApp({
  setup() {
    const count = ref(1)

    watch(count, () => {
      throw new Error('error1')
    }, { immediate: true })

    watch(count, async () => {
      throw new Error('error2')
    }, { immediate: true })

    watchEffect(() => {
      throw new Error('error3')
    })

    watchEffect(async () => {
      throw new Error('error4')
    })
  }
})

app.config.errorHandler = (err) => {
  console.log(err)
}

app.mount('#app')

What is expected?
Error 1~4 should all be passed to app.config.errorHandler
What is actually happening?
Error 4 was not passed to app.config.errorHandler

maybe dumplicate of https://github.com/vuejs/vue-next/issues/2736

maybe dumplicate of https://github.com/vuejs/vue-next/issues/2736


i got problem before i  packet .py to .exe

dose anyone packet this module to .exe . it's always cue that error

Sorry, but your message does not have any information that helps target was is going wrong. In any way, freezing is not yet officially supported (see #260 and #433).

thanks. that's very helpful supported.  I guess the errors from packet relationship. I may con't use cx_freez or pyinstall in rigth way.

Duplicate of #260

Not yet, but issue #260 described the same issue; we'll be using that to track progress, and I closed this as being a duplicate.


Azure CLI SDK code gen for Azure Automanage

Related command
No response
Resource Provider
providersMicrosoft.Compute/virtualMachines//providers/Microsoft.Automanage
Description of Feature or Work Requested
Autorest code generation support for Azure CLI extensions.
Minimum API Version Required
2022-05-04
Swagger PR link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/automanage/resource-manager/Microsoft.Automanage/stable/2022-05-04/automanage.json
Request Example
Create configuration profile
Create configuration profile assignment
Target Date
2022-08-19
Additional context
No response

@jsntcy for awareness

Hi @AndrewCS149,
If this is a request for onboarding a service RP, here is the Azure formal onboarding process via a survey. Noted that it'is one of necessary step to onboard the new RP with CLI team(https://aka.ms/PLRCLIOnboardSurvey).
you might also need the CLI onboarding meeting conversation if possible (Please book 15-min slot here if you have not already done so: https://aka.ms/PLRCLIOnboardCalendar) APEX onboarding.
Let us know anything we could help. Thx.

Thanks @Jacekey23! I've submitted the form.

CLI package is ready for this feature, feel free to follow below steps for test:
install/update cli:
pip install azure-cli -U
install Automange extension
az extension add -n automanage
try new commands:
az automanage -h to see all the commands and you can use -h for the commands to see their required arguments
az automanage configuration-profile create -h
az automanage configuration-profile-assignment vm create -h


Replace commons-lang equals, hashCode, and toString with generated code

commons-lang is a relatively large library for users to include just for adding toString(), equals(), and hashCode(). This removes that dependency and uses generated code instead.
It avoids calls like Objects.hash(), Double.hashCode(), and Objects.equals() that were added in later versions of Java.
Generated code looks something like this:
public class ComplexTypesArray {
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(ComplexTypesArray.class.getName())
                .append('@')
                .append(Integer.toHexString(System.identityHashCode(this)))
                .append('[');
        sb.append("additionalProperties");
        sb.append('=');
        sb.append(((this.additionalProperties == null)?"<null>":this.additionalProperties));
        sb.append(',');
        if (sb.charAt((sb.length()- 1)) == ',') {
            sb.setCharAt((sb.length()- 1), ']');
        } else {
            sb.append(']');
        }
        return sb.toString();
    }

    @Override
    public int hashCode() {
        int result = 1;
        result = ((result* 31)+((this.additionalProperties == null)? 0 :this.additionalProperties.hashCode()));
        return result;
    }

    @Override
    public boolean equals(Object other) {
        if (other == this) {
            return true;
        }
        if ((other instanceof ComplexTypesArray) == false) {
            return false;
        }
        ComplexTypesArray rhs = ((ComplexTypesArray) other);
        return ((this.additionalProperties == rhs.additionalProperties)||((this.additionalProperties!= null)
                && this.additionalProperties.equals(rhs.additionalProperties)));
    }
}

I wasn't able to get jsonschema2pojo-gradle-plugin to pass tests. It looks like
classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:latest.integration' in jsonschema2pojo-gradle-plugin/example/java/build.gradle actually pulls in the latest repository version of jsonschema2pojo-* rather than the one from the project.

Great stuff. Thanks for this! Are you aware of any functional difference between the commons-lang implementations and the code you have generated?

I should look into in more (or add more tests). I tried to match the behavior of toString. Equals should generally do the right thing.
HashCode is probably different. The only time I can think of a change to hashCode making a difference is a serialized HashMap. Luckily, OpenJDK's HashMap rebuilds the map on deserialization. Since this doesn't change any fields or method signatures, these classes will have the same SerialVersionUID.

Great. I don't think identical behaviour is required, here (particularly, as you say, for hashCode). I only ask so that we can understand any difference that may exist, and also preempt support questions.
I'll merge this for the next release.

I might add a few tests to check the string format.

I added a test class for toString as a separate commit. It looks like the output is generally compatible. The might be an edge case, but it's really close.

@joelittlejohn Any idea when you'll make the next release?


manual vs instant seal mode

Description
There are no options right now to start the node in "manual seal" mode, where a block is authored on demand when the user
fire a call to the engine_createBlock endpoint.
My understanding is that we create a block whenever we fire a call to this RPC or when a transaction is created.
Required Tasks
To create a block on demand, we would need to update that part of the code, we would need to add a new option or environment flag to the client, to setup the command_stream defined in service.rs as such:
let commands_stream = if instant_seal {
    stream::select(rpc_commands_stream, pool_import_commands_stream);
} else {
    rpc_commands_stream;
}

Please let me know if I missed something or if there is an easier way to enable this

Both manual seal via RPC and instant seal is enabled at the same time (at this line https://github.com/AstarNetwork/swanky-node/blob/a0da15772d48035426f2ed241a31d473534a6839/node/src/service.rs#L219C6-L219C21)
Do you mean having a feature to let users to run swanky-node with only manual seal mode without instant seal?


Can I export the pruned model?

Hello, great work! How to export the pruned model?

Hi detectRecog, thank you :)  During training, the best sparse and dense checkpoints, as well as the last checkpoint, are saved automatically, it will be wherever you set your --experiments_root_path to, along with all other artifacts of the run, something like my_experiment_root_path/run_type/run_name/timestamp/best_sparse_checkpoint.ckpt or my_experiment_root_path/run_type/run_name/timestamp/last_checkpoint.ckpt. Please feel free to reopen if this doesn't seem to be happening for you.

@ohaijen Hi Jen, thank you for your rapid response! I find the location of the 'best_sparse_checkpoint.ckpt' file and I can observe the notably high sparsity achieved by ACDC. However, I don't know how to export the pruned network (such as using torch.jit.trace) with removing zero-weight channels and even conv blocks to accelerate the inference speed on the edge device. Do you have any ideas?

hi @detectRecog, if you are looking for real speedups at an edge device, you might prefer a pruning approach that gives structured pruning (ie, removes entire filters). Since AC/DC is generally unstructured, you actually keep most filters (95% sparsity on ResNet50 removes something like 20% of filters completely). Would you like me to point you to some structured pruning resources?

hi @detectRecog, if you are looking for real speedups at an edge device, you might prefer a pruning approach that gives structured pruning (ie, removes entire filters). Since AC/DC is generally unstructured, you actually keep most filters (95% sparsity on ResNet50 removes something like 20% of filters completely). Would you like me to point you to some structured pruning resources?

Yes, you're so kind. Thank you so much. I also notice that deepsparse starts to offer libraries for running sparse models on CPU. It is a good beginning for deploying sparse models. I believe sparse models are very promising on edge inference.

hi @detectRecog, if you are looking for real speedups at an edge device, you might prefer a pruning approach that gives structured pruning (ie, removes entire filters). Since AC/DC is generally unstructured, you actually keep most filters (95% sparsity on ResNet50 removes something like 20% of filters completely). Would you like me to point you to some structured pruning resources?

could you recommend some structured pruning methods?


WIP -- update the nova policy file with correct perms

The following changes are in this PR.

Pick up some of the updated to the nova in-code policy.
Simplified and removed some of the rules as they were redundant.
Some access rules around servers were too restrictive and did not match the default community permissions for the members, for example server start  and stop (and other actions) were restricted only to the admin, cloud_admin, project_admin and the user that created the resource. These actions should be allowed by any member of the project.
Some access rules were too lenient that needed to be restricted to the owner of the resource and, admin and cloud_admin. For example, all rules for os-keypairs and keypairs, that allowed access to them by admins as well as other members of the project.

retry

retest

LGTM

retest


[Bug]: Interface 'JestImportMeta' incorrectly extends interface 'ImportMeta'

Version
29.5.0
Steps to reproduce
This is similar to https://github.com/jestjs/jest/issues/14097
but it reappears again
The error is:
node_modules/@jest/environment/build/index.d.ts:401:26 - error TS2430: Interface 'JestImportMeta' incorrectly extends interface 'ImportMeta'.
  The types of 'jest.replaceProperty' are incompatible between these types.
    Type '<T extends object, K extends Exclude<keyof T, keyof { [K in keyof T as Required<T>[K] extends ClassLike ? K : never]: T[K]; } | keyof { [K in keyof T as Required<T>[K] extends FunctionLike ? K : never]: T[K]; }>, V extends T[K]>(object: T, propertyKey: K, value: V) => Replaced<...>' is not assignable to type '<T extends object, K extends keyof T>(obj: T, key: K, value: T[K]) => ReplaceProperty<T[K]>'.
      Types of parameters 'propertyKey' and 'key' are incompatible.
        Type 'K' is not assignable to type 'Exclude<keyof T, keyof { [K in keyof T as Required<T>[K] extends ClassLike ? K : never]: T[K]; } | keyof { [K in keyof T as Required<T>[K] extends FunctionLike ? K : never]: T[K]; }>'.
          Type 'keyof T' is not assignable to type 'Exclude<keyof T, keyof { [K in keyof T as Required<T>[K] extends ClassLike ? K : never]: T[K]; } | keyof { [K in keyof T as Required<T>[K] extends FunctionLike ? K : never]: T[K]; }>'.
            Type 'string | number | symbol' is not assignable to type 'Exclude<keyof T, keyof { [K in keyof T as Required<T>[K] extends ClassLike ? K : never]: T[K]; } | keyof { [K in keyof T as Required<T>[K] extends FunctionLike ? K : never]: T[K]; }>'.
              Type 'string' is not assignable to type 'Exclude<keyof T, keyof { [K in keyof T as Required<T>[K] extends ClassLike ? K : never]: T[K]; } | keyof { [K in keyof T as Required<T>[K] extends FunctionLike ? K : never]: T[K]; }>'.

401 export declare interface JestImportMeta extends ImportMeta {

Should be able to repro by installing both jest and @types/jest.
Expected behavior
no err
Actual behavior
error
Additional context
No response
Environment
System:
    OS: Linux 5.14 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz
  Binaries:
    Node: 16.11.1 - ~/.nvm/versions/node/v16.11.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.11.1/bin/yarn
    npm: 8.0.0 - ~/.nvm/versions/node/v16.11.1/bin/npm

Duplicate of #14097
Already fixed in #14008. Will be included with the next release.

do you have any idea when the next release will come out?

Just got published: https://github.com/jestjs/jest/releases/tag/v29.6.0


CMake workaround

CMake task has a regression. We should be able to work around it with a script task

After some discussion we will be merging this and using script going forward to improve compatibility.


Uploader flattens page hierarchy

If you have a page hierarchy like so:
master_doc.rst
other_doc.rst
other_doc_includes/other_doc_part1.rst
other_doc_includes/other_doc_part2.rst

The uploader does not preserve the page hierarchy as expected and instead creates four documents at the root of the space.

Hmm I guess there's no real way to make this extensible since you don't know if there is going to be an other_doc_2.rst that also includes other_doc_includes/other_doc_part1.rst

The only way I can see for one to properly take on some level of page hierarchy support is to rely on Sphinx's toctree markup (please, correct me if I'm wrong). I do not believe this extension should be defining an elaborate hierarchy configuration (i.e. mapping per-page structure) or custom Sphinx markups in order to support some level of page hierarchy (while I don't think this was proposed, I'd rather explicitly rule it out now).
Taking a look at toctree, a capability could be added to that from a master_doc page and a defined toctree (and nested toctree markups), one could provide some level of page hierarchy support. For example, using Kernel documentation as an example, there could be a mapping such as:

Welcome to The Linux Kernel's documentation ref

The Linux kernel user's and administrator's guide

Bisecting a bug
Kernel Support for miscellaneous (your favourite) Binary Formats v1.1
Linux Braille Console
Linux allocated devices (4.x+ version)
...

Development tools for the kernel ref

Coccinelle
The Kernel Address Sanitizer (KASAN) ref
Using gcov with the Linux kernel
...

...

Some other points to consider:

Support for page hierarchy should only be enabled if:

A configuration option indicates to enable support;
A project has a master_doc defined; and,
A project's master document defines a toctree.

It might be ideal to have a configuration option to decide if the entries in a toctree should be siblings  or children of the nested page.

Would be nice to see this utilize the confluence 'children display' and/or TOC macros.

@JPTeasdale, I was finally able to look at your PR (#38; well, a part of it so far). I wanted to make a series of internal changes first with publishing (specifically, with the order of publisher) before trying to take in your changes. I basically copied/modified your contributions (at least for the hierarchy mode support for now) in the following (temporary commits):

publisher: return rest-made new page ids 0e02fc1078658f9060768f8bd0ce17607c9cc362
builder: add hierarchy support add6c106b60cb619922db7ff7f872ae00932a733

If you wish to make comments on these changes, please feel free to. Note that these commits are part of a forgotten-autumn branch which will most likely be re-based in the future. Hopefully I'll be able to look at adding the unit test work you've done for this feature as well as looking at the max depth capability as well.
@spyoungtech, good idea! I'll take a look to see how easy this can be done. I'd be nice to (maybe) even apply the maxdepth markup value to the macro's depth attribute.

@spyoungtech, fyi

wiki-translator: option to use children display macro in hierarchy mode 97d804a07c5df8627c11424bf2af718b660319eb

This work should be completed with the changes from PR #70 (specifically, see 9d0dda592a9aabc10634019eb9842eccf705a8ae). The changes are currently available in master and should be made available for next release.
To take advantage of the feature, use the configuration options confluence_max_doc_depth and confluence_page_hierarchy.
@JPTeasdale, thanks for the initial changes/pull requests. Hopefully the feature works as expected. Any issues experienced from using this feature, please make a new issue to cover the specific issue. I'll mark this issue has closed.


Aria-label of the day is not localised

There is a aria-label on the div of each day. It looks like "day-X".
The "day" prefix is hardcoded so if you use another locale, it stills shows "day".

https://github.com/Hacker0x01/react-datepicker/pull/1919


v4: Validation states on custom forms

Alternate fix to #17965. Updates to use the new class name and adds some basic docs for custom checkbox/radio validation. Nothing added for custom selects or file inputs—yet.
/cc @zalog

Yeah, that's better! Thanks!


CollisionPayload - event and other types not directly available.

Using:
"@react-three/fiber": "^8.15.11",
"@react-three/rapier": "^1.1.2",

This sensor example, from docs, for context.
When using a CuboidCollider with a prop/function for onIntersectionEnter, the event passed into that function from that handler is of type CollisionPayload. That type is not directly exported or available from the library. I was able to import it like:
import type { CollisionPayload } from "@react-three/rapier/dist/declarations/src";

Which is really not ideal.  Is there supposed to be an easier way that I'm just not seeing? OR do some of these types need to be easier to import? If this is the only way- then that's the issue. Types not directly exported to the library.

Actually, maybe none of my types are working properly? No auto-imports etc.  I often have issues with types on CodeSandbox. However, the type is definitely exported. This is in a fresh Next.js project.

This is the default tsconfig.json.
{
  "compilerOptions": {
    "target": "es5",
    "lib": ["dom", "dom.iterable", "esnext"],
    "allowJs": true,
    "skipLibCheck": true,
    "strict": true,
    "noEmit": true,
    "esModuleInterop": true,
    "module": "esnext",
    "moduleResolution": "bundler",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "jsx": "preserve",
    "incremental": true,
    "plugins": [
      {
        "name": "next"
      }
    ],
    "paths": {
      "@/*": ["./src/*"]
    }
  },
  "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
  "exclude": ["node_modules"]
}

@wiledal I'm just using vscode. what's your package.json look like?

Here!
{
  "name": "r3r-test",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@react-three/fiber": "^8.15.12",
    "@react-three/rapier": "^1.2.0",
    "next": "14.0.3",
    "react": "^18",
    "react-dom": "^18",
    "three": "^0.159.0"
  },
  "devDependencies": {
    "@types/node": "^20",
    "@types/react": "^18",
    "@types/react-dom": "^18",
    "autoprefixer": "^10.0.1",
    "eslint": "^8",
    "eslint-config-next": "14.0.3",
    "postcss": "^8",
    "tailwindcss": "^3.3.0",
    "typescript": "^5"
  }
}

But that shouldn't really matter -- usually if this happens it means your tsconfig is strange, or you just need to restart your TypeScript server.

That should re-index the project.

after more closely following a dependency list like yours, and deleting and reinstalling node_modules, it all works fine now. thanks


Add in --pull option to rancher-compose up so new images would be pulled before starting

Currently, pulling new images is only available through either rancher-compose upgrade --pull, rancher-compose pull or adding the io.rancher.container.pull_image: always label.
Someone suggested a rancher-compose up --pull.

This already exists in the latest release of Rancher-compose v0.6.2.


Corrected spelling error.

Coverage remained the same at 90.553% when pulling d12f089af5bc1f64fd6934abb8bd461fccb4523c on justinpoh:Event-passed-correction into 6463b8b840d8d83f6ddf5b3515084302e90669c0 on CS2103AUG2017-W14-B1:master.


copy layered worldstate fix for eth_call

PR description
This is mitigation fix for eth_call concurrency failures, similar to #5076.
This mitigation will be obseleted by #5123.
Fixed Issue(s)

#5175
Documentation

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

Acceptance Tests (Non Mainnet)

[ ] I have considered running ./gradlew acceptanceTestNonMainnet locally if my PR affects non-mainnet modules.

Changelog

[ ] I thought about the changelog and included a changelog update if required.

Tested with @ahamlat . Ethcall fails 1/3 times without the fix and with the fix it works every time so LGTM


Grabber won't start up after updating to 4.6.0

error 0xc000007b when trying to startup.

VC redist installed.

There are a couple things you can do to try to solve this error

Reinstall Grabber
Reinstall the VC Redistributable
Check your windows files for errors. Launch cmd.exe as administrator and run sfc /scannow

For more detailed steps you can try reading http://www.techcrises.com/how-to/how-to-fix-error-code-0xc000007b-in-windows-7-8-8-1/

Maybe you downloaded the old 4.6.0 installer which did not include the VC redist downloader. You can try reinstalling from the latest download, and if it doesn't works do what Flat suggested in his post.

Tried all of that but none of that worked.
This error doesn't show up in any other application or games i have, only happens with grabber 4.6.0 and up.

I already solved this so please close this issue, so here is what i did.
Dependency walker showed up a lot of ms-api missing files but i actually have them in system32, so i manually copied all of them and downloaded the rest and placed them in the grabber folder.
It was a tedious process but it works now


Add additional information to ProjectInformation

ProjectInformation does not capture details about Razor files since MSBuild treats them as "Content" instead of "Compile" items.

The general ask is to as closely match what VS and VS for Mac report in their equivalent events for file extension. In this case, that means ensuring the existing "fileextensions" property includes all files that VS and VS for Mac would, and adding a new property (e.g. "filecounts") that contains the counts for those extension in the same order.
While we're at it, we'd like to get the following details captured in the event too please:

.NET SDK version (suggested property name 'netsdkversion')
Project output type (suggested property name 'outputtype', note in VS this is reported as a number, e.g. 3 for Class Library, but we can handle whatever you provide)
Solution ID (suggested property name 'solutionid', this should be marked as requiring hashing at ingestion)

Should have some PRs out today, just wanted to clarify these two details.

.

Solution ID (suggested property name 'solutionid')

Are you looking for this to be a session id?

@DamianEdwards Closing this as ProjectInformation will now contain the following:
SolutionId - Hash of the hash of the machine id concatenated with the hash of the solution's path.
SessionId - Hash of a GUID generated when OmniSharp was started.
OutputType - Roslyn's OutputKind for this project.
FileExtensions - Hashed extensions for both Compile and Content targets.
FileCounts - Associated counts for each extension.
NetSdkVersion - dotnet --version reported from project path (takes into account global.json).

Missing Project capabilities (this is just a space-separated concatenation of all ProjectCapability item names)


Added initial tests

I would like to see a 100% for the serializer. The rest is not as important, but serialization should be well tested.
Serializer needs to get an own error type instead of random log messages and then we can test error messages as well.


clientOptions['load']

Allow overrides clientOptions['load']

If you use $url feature you do not need $clientOptions['load'] feature and vise versa. Look at $url as simplifier usage of $clientOptions['load'] feature.


Training when images may not have any ground truth bboxes

Hi,
I've a dataset which has images which may or may not have ground truth boxes. I've tweaked the dataloader and MultiboxLoss accordingly. In cases where the image doesn't have any ground truth bbox, loss_l is zero (because all default boxes are negative, and loss_l is computed only for positive default boxes) and I take top 10 negative default boxes (HNM) and compute loss_c. Normally, the loss is averaged out using the number of positive default boxes, what about the case I mentioned, where we don't have any positive default box? or what else I should take into account in such case.

I also meet the same question.Have you solved it?

I set [0,0,0,0] as a box for those cases and it works pretty well. (All the priors come out to be negative, so no loc_loss for them and all of them are expected to be background for cls_loss computation).

That also solved my problem. Thanks.

@pyaf hello, did you ever trained SSD for coco keypoints dataset?

@pyaf can you post the code you used please? i use [0, 0, 0, 0]  as a box
and I still get a loc_loss != 0
What are the modifications you implemented in multibox_loss.py?
Thank you!

@pyaf can you post the code you used please? i use [0, 0, 0, 0] as a box and I still get a loc_loss != 0 What are the modifications you implemented in multibox_loss.py? Thank you!

have you tried implementing this?


Email without body. In GMail

Since I updated huginn from the last commit I have been getting emails with out body text. Subject line is ok but once I open the email is blank. I'm using hugin in open shift.
Is this just me or anyone else having same issue.

I use gmail SMTP like the instruction

Hey @signallhill, thanks for letting us know!  I think I broke something.  Could you show me your email agent configuration?

Here it is. I followed the instructions to do this but it has worked until I updated. I have 2 instances of huginn one running the latest update and the other that I have not updated. The old one works fine but the new updated on does not show anything in the body of the email. How can i find out the commit number for the instance so I can reverse?
{
"subject": "{{header}}",
"headline": "{{header}}",
"expected_receive_period_in_days": "5",
"recipients"<EMAIL_ADDRESS>"body": [
"{{message}}",
"" "",
"" "",
"{{link}}"
]
}

The email agent receives payload from Event Formatting Agent (EFA). When I look at the EFA events I can see that the payload is properly formatted and populated with data when it leaves EFA and into Email Agent. But when the email goes to my inbox, the body of the email is blank.

I'm surprised that body formatting worked before? Or was it being ignored?
Please see the help text for the agent now: the body should be a single
string, or you can skip it entirely to have it act how I think it was
acting for you.
On Friday, February 6, 2015, signallhill<EMAIL_ADDRESS>wrote:

The email agent receives payload from Event Formatting Agent (EFA). When I
look at the EFA events I can see that the payload is properly formatted and
populated with data when it leaves EFA and into Email Agent. But when the
email goes to my inbox, the body of the email is blank.
—
Reply to this email directly or view it on GitHub
https://github.com/cantino/huginn/issues/699#issuecomment-73343546.

It was working before. I removed body and I'm getting the full email now. Thank you.
Huginn is truly amazing.

Sorry about that!  I added the ability for body to be a formatted message, and happened to collide with your settings.  body wasn't something that already existed, was it?
So glad you like Huginn!


Fix problem

delete testcase confirm
change judge type will remove file confirm
hide problem tags while contest

fixed

+1, @CHIAHSINHOU please test

got a syntax error

fixed QAQ

download partial and download special also need to do permission checking.

fixed

I can still read the tags while a contest is running.

for problems not in contest, user can see their tag but can not add

No, I meant I could still read the tags even though the problem was in a running contest.

fixed

@CHIAHSINHOU please test again,
@geniusgordon please merge the latest code.

This PR is ok for me.

merged

+1, going to merge


HoloMaps gets confused about options

%%output backend='matplotlib'  size=150
%%opts Spikes Scatter {+framewise}
opt1=dict(s=50, color='darkgreen')
opt0=dict(s=50, color='indianred')

SZ=8000; N=44; M=4
ddf  = pd.DataFrame( dict(err      = 5+np.random.normal(size=SZ),
                          Accept   = np.random.randint(2,size=SZ),
                          resultID = np.random.randint(N,size=SZ),
                          probID   = np.arange(SZ)
    ))
ddf.ix[ddf['resultID']==0,'Accept'] = 0

dd_plots={}
for n in np.arange(N):
    hv_df = hv.Table(ddf[ddf['resultID']==n], kdims=['probID'], vdims=['err','Accept', 'resultID'])
    if len(hv_df) is 0: continue

    h = hv.Spikes( hv_df, kdims=['probID'], vdims=['err']).opts(plot=dict(xticks=5, yticks=5, fig_size=600, aspect=5))

    tmp1 = hv_df[hv_df['Accept']==1]
    if len(tmp1) > 0: h = h * hv.Scatter( tmp1, kdims=['probID'], vdims=['err'] ).opts(style=opt1 )
    tmp0 = hv_df[hv_df['Accept']==0]
    if len(tmp0) > 0: h = h * hv.Scatter( tmp0, kdims=['probID'], vdims=['err'] ).opts(style=opt0 )

    dd_plots[n] = h.relabel('Error Evolution resultID = %d' % n)

(hv.HoloMap(dd_plots)+dd_plots[0]).cols(1)

results in a HoloMap that has the coloration of dd_plots[0] wrong.
Real data has resulted in behavior such that all options are replaced with either opt0 or opt1.
In one instance I observed one of the ScatterPlots not being displayed at all.
A fix is to always add a Scatter().opts() element even if there is no data
(i.e., I added artificial data and reset the ranges so it would not be displayed...)

Okay after investigating this, there are two seeming bugs here:

In matplotlib the first frame of the upper plot is incorrectly colored 'darkgreen' when it should be 'indianred'
In bokeh all frames after the first one are missing the 'indianred' scatter points.

Actually, there is other pathological behavior that I have observed but can't readily duplicate:
e.g., some of the Scatter markers have gone missing altogether (bokeh)

That's what I was trying to say with 2., I can reproduce, so I'll look into it.

I'm not going to get to this before release, but the behavior at least seems to have improved, both for matplotlib and bokeh.

It would be good to know which parts are actually fixed and which bits are still broken. If the behavior improved enough it would be fixed and we could close the issue...

Most issues here seem to have been fixed but the issue is not very specific so it's hard to tell if that covers all of them. If there are remaining bugs here they should be filed as separate issues with very specific descriptions of what is actually going wrong.


Program admin can download CSVs of applicant data from the program admin view

See the product requirements doc, the UI/UX issue (#652), and the Tailwind prototype issue (#653) for this task.

I think Nathan's PR fixed this one


fhir-audit: create integration test

Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
fhir-audit: create integration test
Describe alternatives you've considered
n/a
Additional context
n/a

it's now integrated and merged

it's now integrated and merged


Add indexes to the db

In order to make Hasura go faster, we need to add proper PostgreSQL indexes to the tables that are joined together (e.g on height columns, validator's address, etc).

Please also add GIN indexes for those jsonb fields which the values will be searched. Consider if we need queries that search for existence of a value or just using containment. If we are only using containment operator, we can use json_path_ops type.
And I suggest indexing height in descending orders.


docs-bug(Menu): "Testing with MatMenuHarness" example does not run in Chrome or Firefox

Documentation Feedback
When running the Stackblitz example, there is an error, and the tests do not run:
Chrome <IP_ADDRESS> (Mac OS 10.15.7) ERROR
  An error was thrown in afterAll
  Uncaught TypeError: __webpack_require__(...).context is not a function
  TypeError: __webpack_require__(...).context is not a function
      at Object.4289 (https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/main.js:123:42)
      at __webpack_require__ (https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/runtime.js:23:41)
      at __webpack_exec__ (https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/main.js:160:48)
      at https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/main.js:161:54
      at Function.__webpack_require__.O (https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/runtime.js:57:23)
      at https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/main.js:162:56
      at webpackJsonpCallback (https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/runtime.js:140:39)
      at https://j4sbjmrun-ck3n--9876.local-credentialless.webcontainer.io/_karma_webpack_/main.js:1:75
Chrome <IP_ADDRESS> (Mac OS 10.15.7): Executed 0 of 0 ERROR (0 secs / 0 secs)

Affected documentation page
https://material.angular.io/components/menu/examples

I believe this may be a regression in stackblitz itself


how to monitor h2 workers ?

hello,
I upgraded apache to 2.4.25 from debian 9 sources and enbled http2 and my monitoring tools shows that number of requests per second dropped from 250 rps to 40-50 rps. I'm using zabbix and netdata and both interrogate mod_status from apache . I read that http2 has his own workers which don't appear in mod status, so my question is if there something that i can use to monitor number of requests  ?
I presume that those 40-50 maybe are http 1.1 requests
Please help :(

I guess, someone needs to implement that functionality then.

I know, what i don't understand is why when this module http2 was added, the status module was not modified to also monitor the h2workers or to offer some alternative to monitor the h2workers.

If you'd had a time machine, that knowledge could be useful in changing the past, I agree.

Looking forward: do you know which data exactly they screen-scrape from mod_status? Because I see h2 requests being reports on my 2.4 instance, as in:
...
Total accesses: 186990 - Total Traffic: 159.3 MB
CPU Usage: u19.44 s20.9 cu0 cs0 - 224% CPU load
10400 requests/sec - 8.9 MB/second - 893 B/request
...

(From a freshly started server running h2 load tests, no h1 requests)
So, can you specify exactly what you are missing? Otherwise, this might be more a question for zabbix or netdata?

With mod http2 enabled number of requests per second from apache2ctl status is not changing at all, but when i disabled the http2 module and restart apache, number of requests is changing, this is my behavior now

Ok, i will compile a new version and come back with a result


Error with multiple-month frequency when data is misaligned

Description
A problem occurs when a dataset with frequency which is multiple months is fed to a model, and the series are not "aligned" according to the frequency. For example (see reproducing snippet below), when using freq="2M" and there are two series:

training works fine if the two series start at, respectively

"2021-01-01"
"2021-03-01" (or any other date which is a multiple of 2 months away from the previous)

training breaks if the two series start at, respectively

"2021-01-01"
"2021-02-01" (or any other date which is not a multiple of 2 months away from the previous)

To Reproduce
from gluonts.dataset.common import ListDataset
from gluonts.model.deepar import DeepAREstimator
from gluonts.mx.trainer import Trainer

dataset = ListDataset(
    data_iter=[
        {"start": "2021-01-01 00:00:00", "target": [1.0] * 20},
        {"start": "2021-02-01 00:00:00", "target": [1.0] * 20}
    ],
    freq="2M"
)

estimator = DeepAREstimator(
    freq="2M", prediction_length=4, context_length=10,
    trainer=Trainer(epochs=5)
)

predictor = estimator.train(dataset)

Error message or code output
Traceback (most recent call last):
  File "pandas/_libs/index.pyx", line 444, in pandas._libs.index.DatetimeEngine.get_loc
  File "pandas/_libs/hashtable_class_helper.pxi", line 1625, in pandas._libs.hashtable.Int64HashTable.get_item
  File "pandas/_libs/hashtable_class_helper.pxi", line 1632, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError:<PHONE_NUMBER>000000000

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3080, in get_loc
    return self._engine.get_loc(casted_key)
  File "pandas/_libs/index.pyx", line 413, in pandas._libs.index.DatetimeEngine.get_loc
  File "pandas/_libs/index.pyx", line 446, in pandas._libs.index.DatetimeEngine.get_loc
KeyError: Timestamp('2021-02-28 00:00:00', freq='2M')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/indexes/datetimes.py", line 686, in get_loc
    return Index.get_loc(self, key, method, tolerance)
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3082, in get_loc
    raise KeyError(key) from err
KeyError: Timestamp('2021-02-28 00:00:00', freq='2M')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "reproduce.py", line 18, in <module>
    predictor = estimator.train(dataset)
  File "/Users/xyz/gluon-ts/src/gluonts/mx/model/estimator.py", line 233, in train
    cache_data=cache_data,
  File "/Users/xyz/gluon-ts/src/gluonts/mx/model/estimator.py", line 186, in train_model
    shuffle_buffer_length=shuffle_buffer_length,
  File "/Users/xyz/gluon-ts/src/gluonts/model/deepar/_estimator.py", line 403, in create_training_data_loader
    with env._let(max_idle_transforms=maybe_len(data) or 0):
  File "/Users/xyz/gluon-ts/src/gluonts/itertools.py", line 23, in maybe_len
    return len(obj)
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 101, in __len__
    return sum(1 for _ in self)
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 101, in <genexpr>
    return sum(1 for _ in self)
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 105, in __iter__
    self.base_dataset, is_train=self.is_train
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 124, in __call__
    for data_entry in data_it:
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 124, in __call__
    for data_entry in data_it:
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 128, in __call__
    raise e
  File "/Users/xyz/gluon-ts/src/gluonts/transform/_base.py", line 126, in __call__
    yield self.map_transform(data_entry.copy(), is_train)
  File "/Users/xyz/gluon-ts/src/gluonts/transform/feature.py", line 373, in map_transform
    i0 = self._date_index[start]
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/series.py", line 853, in __getitem__
    return self._get_value(key)
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/series.py", line 961, in _get_value
    loc = self.index.get_loc(label)
  File "/Users/xyz/.virtualenvs/gluonts/lib/python3.7/site-packages/pandas/core/indexes/datetimes.py", line 688, in get_loc
    raise KeyError(orig_key) from err
KeyError: Timestamp('2021-02-28 00:00:00', freq='2M')

Environment

Operating system: macos
Python version: 3.7
GluonTS version: master
MXNet version: 1.8.0
Pandas version: 1.2.4

Breaking down the problem a bit. Data is set up like in the OP:
from gluonts.dataset.common import ListDataset

dataset = ListDataset(
    data_iter=[
        {"start": "2021-01-01 00:00:00", "target": [1.0] * 20},
        {"start": "2021-02-01 00:00:00", "target": [1.0] * 20}
    ],
    freq="2M"
)

Printing it reveals the timestamp "massaging" that happens:

My very small grain of salt.
This is potentially related to the notion of offsets when dealing with dates. For the very particular case of bimonthly data there is an example on how offsets can be handled: https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#using-offsets-with-series-datetimeindex
On the other side, if the issue is only by the fact of having bimonthly data on the beginning of the corresponding months, then the offset can be handled via freq='MS' where MS stands for "month start frequency" (https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases)

It is related with offset, for sure. However, what breaks in the example above is the construction of features as @jaheba identified. AddTimeFeatures transformation has a baked-in assumption that all given time series start at points which are k * freq away from each other, for some integer k: we have some magic in place, that tries to "align" start timestamps from each series, so that they all satisfy such assumption and features can be computed fine. It just happens that for multiples of months (and potentially other frequencies) such magic does not work as expected and AddTimeFeatures has trouble working.
I believe the assumption is used for performance reasons, so that AddTimeFeatures can cache a lot of stuff: in the extreme case where all time series span exactly the same time range, you'll be essentially computing all features once and for all.
I see two solutions:

Improve the "alignment" of start timestamps, so that it works on these more complex frequencies too. That is to say, when given the "broken" example in my previous post, the second time series has its start timestamp shifted to something which is k * 2 * months away from the other series (end of January just like the first series, or end of March).
Improve the caching logic of AddTimeFeatures so that it doesn't break. This means that the timestamp alignment can stay as it is now, which makes sense the more I think of it (why should a data point that refers to February be moved to March or January? Even if data was aggregated bi-monthly, some series can start in January and some in February, and their forecasts will be shifted by a month and that should be fine)

I tend to think that 2 is the better solution among the two.


PUBLIC NOTICE: Azure Storage Python 0.30 Release

We are pleased to announce the 0.30 preview release of the Azure Storage Python Client Library. With this version comes all features included in the 2015-04-05 REST version including support for the following features:

Append Blob support
File service support
Lazy Enumeration for listing APIs
Account SAS support
Table Batch refactors
JSON Table formatting support

The team has worked to address many of the customer concerns and gaps to bring it up parity with our other libraries. Please see our Getting Started Docs to check out all of these new features. The 0.30 release has many breaking changes, so to help transition from older versions of the library please review our latest reference documentation, upgrade guide, usage samples and Breaking Changes log.
As always, we will continue to do our work in the public GitHub dev branch for visibility and transparency. Please let us know if you have any concerns or suggestions with the new library as community feedback is very important to us.
Thank you,
The Azure Storage Team

For those curious, some of the major features being considered for the next couple releases are:

Retry by default for transient errors. Retry policy support for custom retry logic. This will help with 2. since rather than failing the request on transient connection issues we'll retry if we have time and in many cases the issue should resolve itself.
Client side timeout. Better timeout handling on the socket connection. Max execution time managed across multiple service requests. (#17, #65)
MD5 calculation for upload and download. Off by default, but a bool to turn it on rather than requiring folks calculate and pass the MD5 themselves. (#99, #11)
Some form of setting/getting client request id from requests as well as setting other custom headers. (#15)

The work for all of these will be done in the public dev branch. As JC mentioned above: Please let us know if you have any concerns or suggestions with the library!

0.32.0 solves 3 and 4. It also fixes some bugs and adds a couple other features.


"Corod", "Blânzi", "Brătulești" and "Cărăpcești" are listed in the drop-down menu

Description:
"Corod", "Blânzi", "Brătulești" and "Cărăpcești" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Corod" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Corod, GALAȚI (Corod)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Blânzi" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Blânzi, GALAȚI (Corod)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Brătulești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Brătulești, GALAȚI (Corod)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Cărăpcești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Cărăpcești, GALAȚI (Corod)".


⚠ Bofrost.es has degraded performance

In f28b59f, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1595 ms

Resolved: Bofrost.es performance has improved in 03d6d40 after 7 minutes.


update URL

I can verify that https://github.com/SimonDanisch/GeometryBasics.jl.git redirects to https://github.com/JuliaGeometry/GeometryBasics.jl.

For consistency, I'd like to leave the .git at the end of the URL.

Thanks :)


Extra noise in controller's input covariance

I've noticed that the original implementation of PILCO adds an extra variance, equal to the noise of the underlying GPs, in the controller's input. This is done in this line.
Currently, we don't do this, so I disabled the relevant line for the unit tests to pass.
@kyr-pol what do you think. Should we add in our code?

Let's do this, at least for the sake for compatibility.


Problem with filenames including underscores?

Help!
I'm on a Mac thing!
Errors!!
:D

There was a bug in the pipeline that couldn't handle underscores in filenames, as underscore was also used to separate SAD name from the original file name in the intermediate files produced by the SAD(s). This caused errors in splitting longer files into utterance-sized chunks for WCE calculation. This error should be now fixed.
A quick way to get the update (without doing vagrant destroy + git pull + vagrant up) is to run:
$ vagrant up
$ ssh vagrant
$ cd ~/repos/WCE_VM/
$ git pull


[7.16] [all] Add support to ingress networking.k8s.io/v1 & ingressClassName (#1409)

Backports the following commits to 7.16:

[all] Add support to ingress networking.k8s.io/v1 & ingressClassName (#1409)

transient error


tests/test_official_json.py::test_decimal PASSED

tests/test_official_json.py::test_decimal didn't pass

Makes sense. Thanks! 👍


Starting JBoss as service fails

When provisioning JBoss EAP 6.4.0 and patching to 6.4.7 on a samdoran/rhel7 bos via vagrant 2.2, the playbook continuesly fails at the task "Enable jboss-as Service".
I am using samdoran/rhel7 as box and for Java provisioning I use the role "williamyeh.oracle-java".
It seems the service to be started is "jboss-as-standalone.sh" but systemctl requires the service name wihtout trailing ".sh".
Please find attached the Ansible verbose output log
jbossEnableServiceIssue.txt

I just read through tasks/main.yml and it seems, the wrong variable is used in the failing task:
used: {{jboss_eap_service_file}}
should be: {{jboss_eap_service_name}}
Could you please correct this?

thanks for reporting the issue @titotarantula, will get back to this over the week and fix the same

thank you @kameshsampath. Please let me share some more observations:
For continuity reasons, the variable {{jboss_eap_service_name}} should also be used in the following tasks:
"Copy jboss-as-{{jboss_eap_mode}}.sh or jboss-eap-rhel.sh file to /etc/init.d"
"Add jboss-as Service"
Further more, the task "Add jboss-as Service" succeeds in adding the service, yet the sevice is not enabled to be run at startup. This can be accomplished by another command:
chkconfig {{jboss_eap_service_name}} on
Would you please add this task accodringly?


Probes status in Cloudprober UI

Currently Cloudprober runs probes, and surfaces the generated data (success, failure, latency, etc) to other metrics systems like Prometheus, Cloudwatch, etc. It itself doesn't expose data directly to the users, in a useful format that is. It will be nice if it did that.

Cloudprober now already provides a way to configure surfacers to export probes data as GAUGE metrics. We can possibly implement a surfacer that collects the metrics internally (in-memory), and makes them available through a readable UI. For example, something like this:

Probe
Status

probe1
GGRRGRGGG

probe2
RRGGGGGGG

G,R stand for green and red color boxes.
Few things to think about:

How much data to store, i.e. how long back do we go. This will directly impact the memory usage.
Do we show latency at all?
Should color boxes above be clickable, and take one to logs for that probe, does that mean we need to store logs as well.
etc.

How much data to store, i.e. how long back do we go. This will directly impact the memory usage.

I think we can keep the probe's summary since the start of Cloudprober. Summary could be like:
Failure ratio in the last: 10m, 1h, 6h, 12h, 1d, 7d, 30d, 1y

I forgot that we'll need to include targets in above presentation. So it will likely look like:

Probe
Target
Status
Summary (1h)
12h
1d
7d
30d
1y

probe1
target1
GGRRGRGGG
99%
99.7%
99.6%
99.5%
99.6%
99.4%

probe1
target2
RRGGGGGGG
98%
97.9%
97.5%
97.2%
96.9%
98%

probe2
target
GGGGGGGGG
100%
99.97%
97.5%
97.2%
96.9%
98%

Just realized, we can show this summary on terminal as well.
An example program using termbox-go to show live ping results on terminal:
Demo: https://github.com/hirose31/pinger
Code: https://github.com/hirose31/pinger/blob/master/pinger.go

This is how it looks like at present:

Added graphs also, see: #132.
Screenshot:

I'll go ahead and mark this as resolved. We'll track enabling this probestatus by default in a separate issue.


Add domain directory in bySiteStructure filenameGenerator

Resources from different domain should not be mixed in one folder.
Actual behavior

/ => DIRECTORY/index.html
/about => DIRECTORY/about/index.html
https://another-site.com/about => DIRECTORY/about/index.html  (same as prev!)

Should be changed to
Need to save files from different domains to different subdirectories (like wget do). Assuming we are downloading site http://example.com:

/ => DIRECTORY/example.com/index.html
/about => DIRECTORY/example.com/about/index.html
https://another-site.com/about => DIRECTORY/another-site.com/about/index.html

done in #213, will be released in 3.0.0 soon


Blog app views

I did the following in Blog app views:

Make sure that there are no linter errors
Make sure that you used correct flow Gitflow
Make sure that you documented your work in a professional way
Implement the design from the sneak peek wireframes
Make sure everything functions first

@Reem-lab Thanks


Min & Max size of the CROP frame

Hi Jeduan,
Thanks for the very good work, is there any way to set the size for the default crop frame?
In my app we have some limitation for the cropped image size, so how to pass the maximum width and height of the cropped frame?
Thanks in Advance.

Not right now. Here's the relevant lines in case you want to modify it or take a stab at a PR (which I would appreciate)
https://github.com/jeduan/cordova-plugin-crop/blob/master/src/ios/CTCrop.m#L47
https://github.com/jeduan/cordova-plugin-crop/blob/master/src/android/CropPlugin.java#L39

@kosurusekhar Looking for something similar, did you manage to do this?


Create unit/integration tests

We need some unit tests!
What we need most (imo) is automatic testing of code generation, ensuring it succeeds and is able to perform web api requests against a test service.

You are absolutely right @onionhammer.
In principle, generation tests don't need to connect to an actual service, as it only requires the metadata response which could be mocked, making verifying the results more accurate.

Unless we really need a set of complete end to end integration tests, if it will add any value

I've had some success hosting webapis in-proc (started by the test), not that much harder to do, then we actually exercise the httpclient.

Interesting. @onionhammer care to share an example of how you used it?

in a base test, you basically instantiate an HttpServer object (new HttpServer(config)).
I can dig up the code, but it's similar to this: http://blogs.msdn.com/b/youssefm/archive/2013/01/28/writing-tests-for-an-asp-net-webapi-service.aspx

What about testing the JavaScript client?

I've not done much JS unit testing, there are some good options I'm sure, and it would be valuable, but you'll have to get someone else to answer that question :)


Need to fix makeMove

makeMove method has error where it is not changing what row the counter is being placed in. It is only placing it on the bottom row, even if there is already a counter there.

Line 64

I have made the change that will hopefully fix this, will close once its been confirmed with testing.

Verifiably works with testing.


ERROR:    Exception in ASGI application

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

install auto1111 webui in a docker
install the extension for openOutpaint
try to use the tab
See error

Screenshots
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 270, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 124, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in call
await responder(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in call
await self.app(scope, receive, self.send_with_gzip)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 706, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 235, in app
raw_response = await run_endpoint_function(
File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
return await run_in_threadpool(dependant.call, **values)
File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/asyncio.py", line 867, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 243, in file_deprecated
return file(path)
File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 236, in file
raise ValueError(
ValueError: File cannot be fetched: extensions/openOutpaint/app/index.html, perhaps because it is not in any of {'/tmp/tmpevjsdp2t', '/tmp/tmp5hfsbey9', '/tmp/tmpzogxz0ia', '/tmp/tmpa7ada0s', '/tmp/tmpbld27a32', '/tmp/tmpllpavcs4', '/tmp/tmpe5xv8afr', '/tmp/tmp__pl42yf', '/tmp/tmpulhe_bao', '/tmp/tmpcj75cgcj', '/tmp/tmpq3jyc6b1', '/tmp/tmppet837j0', '/tmp/tmpo3aod73d', '/tmp/tmp6xwco976', '/tmp/tmpcvuv7f2x', '/tmp/tmp5s8n2gl4', '/tmp/tmpaq5imlvi', '/tmp/tmp_z2pm2oc', '/tmp/tmpfroin42y', '/tmp/tmp7seq5r5v', '/tmp/tmpesmrvc04', '/tmp/tmpt8k950hh', '/tmp/tmp2y9dwinh', '/tmp/tmpfsdfabb9', '/tmp/tmpt6q2wyvu', '/tmp/tmpgjt1akdu', '/tmp/tmpimncjgmy', '/tmp/tmpjy7fx3uu', '/tmp/tmp1m74wn_q', '/tmp/tmpv2a0jmaz', '/tmp/tmpff68dlnz', '/tmp/tmpqhtgurr7', '/tmp/tmp7t2bhx37', '/tmp/tmp91q98u4t', '/tmp/tmpf8rsxz6k', '/tmp/tmp0qmfshmo', '/tmp/tmp3c4b_sgy', '/tmp/tmptxk2ly50', '/tmp/tmpbkskttw6', '/tmp/tmpw_hpttf3', '/tmp/tmptvp40g3j', '/tmp/tmp5t5jq7a9', '/tmp/tmphxegihkn', '/tmp/tmp74a3jswd', '/tmp/tmp1mk9ajrk', '/tmp/tmpb5r656vc', '/tmp/tmpjl7t73zk', '/tmp/tmpivtdt05r', '/tmp/tmpva0oxk9k', '/tmp/tmpc1s4qjiy', '/tmp/tmperbdztcn', '/tmp/tmpjqzbir31', '/tmp/tmp92vttral', '/tmp/tmp5pc474lx', '/tmp/tmp1b8fo8bi'}
Desktop (please complete the following information):

Env: docker for nvidia cuda 11.6
OS and Version: [e.g. iOS 15, win10x64 v22h2, palmOS 3]
GPU: RTX2070Super
Browser: chrome

Hi! Could you provide the Dockerfile used for this? And the command used to start the container?

I have the same error. The docker file is from here: https://github.com/AbdBarho/stable-diffusion-webui-docker/
Installed Openoutpaint extension from Extensions tag of AUTOMATIC1111 automately.  Unselected openOutpaint-webUI-extension and restart UI, then errors gone.
Could you please provide a docker file for Openoutpaint? If Openoutpaint run independely in docker, then it may switch the connection of my local docker SD webui and my colab SD webui.

webui-docker-auto-1  | ERROR:    Exception in ASGI application
webui-docker-auto-1  | Traceback (most recent call last):
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
webui-docker-auto-1  |     result = await app(  # type: ignore[func-returns-value]
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
webui-docker-auto-1  |     return await self.app(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 270, in call
webui-docker-auto-1  |     await super().call(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 124, in call
webui-docker-auto-1  |     await self.middleware_stack(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
webui-docker-auto-1  |     raise exc
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
webui-docker-auto-1  |     await self.app(scope, receive, _send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in call
webui-docker-auto-1  |     await responder(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in call
webui-docker-auto-1  |     await self.app(scope, receive, self.send_with_gzip)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in call
webui-docker-auto-1  |     await self.app(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
webui-docker-auto-1  |     raise exc
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
webui-docker-auto-1  |     await self.app(scope, receive, sender)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
webui-docker-auto-1  |     raise e
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
webui-docker-auto-1  |     await self.app(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 706, in call
webui-docker-auto-1  |     await route.handle(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
webui-docker-auto-1  |     await self.app(scope, receive, send)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
webui-docker-auto-1  |     response = await func(request)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 235, in app
webui-docker-auto-1  |     raw_response = await run_endpoint_function(
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
webui-docker-auto-1  |     return await run_in_threadpool(dependant.call, **values)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
webui-docker-auto-1  |     return await anyio.to_thread.run_sync(func, *args)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 31, in run_sync
webui-docker-auto-1  |     return await get_asynclib().run_sync_in_worker_thread(
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
webui-docker-auto-1  |     return await future
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 867, in run
webui-docker-auto-1  |     result = context.run(func, *args)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 243, in file_deprecated
webui-docker-auto-1  |     return file(path)
webui-docker-auto-1  |   File "/usr/local/lib/python3.10/site-packages/gradio/routes.py", line 236, in file
webui-docker-auto-1  |     raise ValueError(
webui-docker-auto-1  | ValueError: File cannot be fetched: extensions/openOutpaint-webUI-extension/app/index.html, perhaps because it is not in any of {'/tmp/tmpmfkgtn9e', '/tmp/tmp7e6rjsin', '/tmp/tmpfep_ww7w', '/tmp/tmps7l67dyh', '/tmp/tmp3vmqgc5n', '/tmp/tmprrjw8chc', '/tmp/tmpy268farm', '/tmp/tmppmvl5on6', '/tmp/tmprptpy3nk', '/tmp/tmpznim6pvj', '/tmp/tmpwogqnn_0', '/tmp/tmpolsumrdk', '/tmp/tmpvrpb5abe', '/tmp/tmpch42g7y7', '/tmp/tmp8f4p7g0w', '/tmp/tmpgulnb21k', '/tmp/tmpjb9fo22i', '/tmp/tmprlz0eejo', '/tmp/tmpy3ydtwoo', '/tmp/tmpub5vnry9', '/tmp/tmphaq1oas3'}

@changhefirst thank you! Could you verify for me if other extensions such as image browser and dreambooth work?

Also, a Dockerfile for openOutpaint would be as simple as a base Apache2 alpine  container copying openOutpaint to the web directory.

So, the issue seems to be that the extensions directory is a symbolic link in the container.

This causes the /file/ route to access the extensions file as an external source:

And gradio blocks the access, as it is not inside the webui directory. Not really sure how we could solve this, as basic file hosting access is a basic requirement for the openOutpaint extension, and the routes.py file does not seem to have a bypass for this behavior:

As we can see in the selection, only cwd and temp dirs are accepted as valid  file origins.
Currently, a workaround would be to remove the volume link manually:

But in this case, extension volume persistence is lost, and creating a new container will not retain installed extensions. For normal user usage this should be enough for now...
Another workaround would be to change docker compose to mount the extensions folder directly. But I think in this case that it would be too big an architectural change of the docker compose file itself...
So, for now, @changhefirst and @martinobettucci, you can try doing the following:

Changing this part of entrypoint.sh to:
#MOUNTS["${ROOT}/extensions"]="/data/config/auto/extensions"
if [[ -f "${ROOT}/extensions" ]]
then
  rm "${ROOT}/extensions"
  mkdir "${ROOT}/extensions"
fi

and running a docker-compose up --build auto once. (Must not run it again, or else container and extensions will probably reset)
However, this will remove currently installed extensions, and if you have to recreate the container (for Dockerfile updates, for example), extensions will not be kept.
We would need to contact the developers of the https://github.com/AbdBarho/stable-diffusion-webui-docker/ repo to reach a more reasonable compromise... Will mark this as external, as we can't really do much to fix this for now.

Also, this seems to be an extension-only issue, so will be moving this issue to the extension repo.


Google Calendar - New Theme

I created a theme for Google Calendar. I've enjoyed using it, and thought maybe the community would like it as well.
I'm an accountant more than a designer, so if there are critiques or fixes that I could address, I'm happy to do so.
Here's the repository: https://github.com/accountingnerd/google-calendar/
Thanks, team!

Hey, that's very cool! ✨
I just sent you an invitation to join the organization.
I also cloned your repository for Dracula's organization, so you can go ahead and delete or archive yours:

Your repository.
New repository.

Thanks for building this! 🎉


Allocate a bigger ("controller") VM for monasca

Monasca needs 10+GB of memory to start up, so we need
to allocate a second controller VM for it to succeed.

(still need to test it)


Getting error when running gulp && gulp watch

This is the error that I'm getting it does not stop the gulp tasks but I think this should be fixed.
error  The "$on" call should be assigned to a variable, in order to be destroyed during the $destroy event  angular/on-watch

@jadjoubran  I will submit a pull request for this shortly :wink:


Instance name in "Trained Model Testing"

What am I supposed to put here?
The same instance name i set up earlier? (In my case, sks)
Or is it a new name. Sorry for the noob question
Antoine

yes, same name, and you don"t have to use sks every time, you can use any name you want, preferable a name unknown by stable diffusion.


update email

removed 'pending approval'. We'll accept open source collectives straight away

Coverage remained the same at 81.019% when pulling b71e3dbe9784fda539379fa94058e39fef351b07 on piamancini-patch-4 into 60fbef3921822c46c5a5bf25c26d02481b35f7e6 on master.

Coverage increased (+0.005%) to 81.024% when pulling f5e5d856e680d2fab4000f69fb20febc2465a729 on piamancini-patch-4 into 60fbef3921822c46c5a5bf25c26d02481b35f7e6 on master.

Waiting to merge this as sending the PR is still not fully automated

Do we need to wait for that? Even if that happens a couple of days after,
it's better to unblock github flow signups immediately and let them start
raising money.
On Fri, Jun 9, 2017 at 4:26 PM Xavier Damman<EMAIL_ADDRESS>wrote:

Waiting to merge this as sending the PR is still not fully automated
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/opencollective-api/pull/877#issuecomment-307491265,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF0vParWCg44krwr5rnbxPIewLoxlYH0ks5sCaptgaJpZM4NdBI4
.

I like the idea of having them review and merge the pull request as part of the flow to activate their collective. Also we say in the default tiers that sponsors' logo would show on their GitHub readme.

completed in a different PR


When no file selection is not made for upload, the upload button is still responsive

Hi
When no file selection is not made for upload, the upload button is still responsive and
it creates file with strange name and with size of 0 bytes.
This would be nice to be fixed.
Thanks
Tornike

Merged and fixed


How to refresh user data?

Ask your question
Is it somehow possible to update logged in user data in the session? For example, when user updates their details via form.
Additional information
No response

Sure!
You can:

add code to refresh the session from whereever you're getting it to the right callback (see https://next-auth.js.org/configuration/callbacks)
then force a session refresh by calling await getSession() (read: https://sidebase.io/nuxt-auth/application-side/session-access-and-management)

Does that help?

@BracketJohn Thanks for the reply, but I'm not sure if I understand.
Do you mean that I could add some logic to get new user details to the session callback, e.g.:
async session({ session, user, token }) {
  // Fetch user details from backend
  const userDetails = await $fetch('http://localhost:8055/users/me', {
                        method: 'GET',
                        headers: {
                            'Content-Type': 'application/json',
                            'Accept-Language': 'en-US',
                            Authorization: `Bearer ${token.accessToken}` // is this correct token?
                        }
                    })
  // update user details in the session
  session.user = userDetails.data
  // return session
  return session
}

And then, whenever I call await getSession() from the client, it will refresh the user details in my nuxt server session?

Yes, that's what I mean (: See here for an exampkle of another user figuring this out: https://github.com/sidebase/nuxt-auth/issues/148#issuecomment-1407490921

Closing this now as replied to + no activity - just add another comment or open a new issue if you need further help (:

I'm doing the same

@BracketJohn Thanks for the reply, but I'm not sure if I understand. Do you mean that I could add some logic to get new user details to the session callback, e.g.:
async session({ session, user, token }) {
  // Fetch user details from backend
  const userDetails = await $fetch('http://localhost:8055/users/me', {
                        method: 'GET',
                        headers: {
                            'Content-Type': 'application/json',
                            'Accept-Language': 'en-US',
                            Authorization: `Bearer ${token.accessToken}` // is this correct token?
                        }
                    })
  // update user details in the session
  session.user = userDetails.data
  // return session
  return session
}

And then, whenever I call await getSession() from the client, it will refresh the user details in my nuxt server session?

I'm doing the same but the user const doesn't change:
<script...>
const { user } = useAuth();
...
</script>


[DO NOT MERGE] Auto PR to update dependencies of old_pilot_repo

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
7e1abda4093dcca097d1eca7fe9129d37519197a
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


pkgConfig template is generating prompts to email maintainers despite urls being declared

The pkgConfig.cmake.in falls back to maintainer name and email if there's an error even if there is a valid url declared.
https://github.com/ros/catkin/blob/kinetic-devel/cmake/templates/pkgConfig.cmake.in#L102
However projects with valid url tags declared are generating these errors:
-- ==> add_subdirectory(image_pipeline/depth_image_proc)
CMake Error at /home/matt/catkin_ws/devel/share/eigen_conversions/cmake/eigen_conversionsConfig.cmake:106 (message):
  Project 'eigen_conversions' specifies
  '/home/matt/catkin_ws/build_isolated/orocos_kdl/devel/../../include' as an
  include dir, which is not found.  It does neither exist as an absolute
  directory nor in
  '/home/matt/catkin_ws/src/geometry/eigen_conversions//home/matt/catkin_ws/build_isolated/orocos_kdl/devel/../../include'.
  Ask the maintainer 'Tully Foote<EMAIL_ADDRESS>to fix it.
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package)
  image_pipeline/depth_image_proc/CMakeLists.txt:4 (find_package)

I checked that catkin_pkg appears to be parsing correctly and defaulting the website value.
$ python cmake/parse_package_xml.py ~/work/github/ros/geometry/eigen_conversions/package.xml /tmp/out
tfoote@snowman:~/work/github/ros/catkin Last: [0] (0s Seconds)
$ cat /tmp/out
set(_CATKIN_CURRENT_PACKAGE "eigen_conversions")
set(eigen_conversions_VERSION "1.11.8")
set(eigen_conversions_MAINTAINER "Tully Foote<EMAIL_ADDRESS>set(eigen_conversions_PACKAGE_FORMAT "1")
set(eigen_conversions_BUILD_DEPENDS "cmake_modules" "geometry_msgs" "eigen" "orocos_kdl" "std_msgs")
set(eigen_conversions_BUILD_EXPORT_DEPENDS "geometry_msgs" "eigen" "orocos_kdl" "std_msgs")
set(eigen_conversions_BUILDTOOL_DEPENDS "catkin")
set(eigen_conversions_BUILDTOOL_EXPORT_DEPENDS )
set(eigen_conversions_EXEC_DEPENDS "geometry_msgs" "eigen" "orocos_kdl" "std_msgs")
set(eigen_conversions_RUN_DEPENDS "geometry_msgs" "eigen" "orocos_kdl" "std_msgs")
set(eigen_conversions_TEST_DEPENDS )
set(eigen_conversions_DOC_DEPENDS )
set(eigen_conversions_URL_WEBSITE "http://ros.org/wiki/eigen_conversions")
set(eigen_conversions_URL_BUGTRACKER "")
set(eigen_conversions_URL_REPOSITORY "")
set(eigen_conversions_DEPRECATED "")

I tried building eigen_conversions and the generated CMake config file selects the message with the website. Please provide a reproducible example which leads to your error message.

The above string came in from an external user.
And this is what's in the debians:
tfoote@snowman:~ Last: [0] (0s Seconds)
$ cat /opt/ros/kinetic/share/eigen_conversions/cmake/eigen_conversionsConfig.cmake | grep tfoote
        message(FATAL_ERROR "Project 'eigen_conversions' specifies '${idir}' as an include dir, which is not found.  It does not exist in '${include}'.  Ask the maintainer 'Tully Foote<EMAIL_ADDRESS>to fix it.")
      message(FATAL_ERROR "Project 'eigen_conversions' specifies '${idir}' as an include dir, which is not found.  It does neither exist as an absolute directory nor in '/opt/ros/kinetic/${idir}'.  Ask the maintainer 'Tully Foote<EMAIL_ADDRESS>to fix it.")

But it looks like this has been resolved in #861 but it will only propagate when packages are rereleased with the next released version of catkin.