dragging a 'js block' just highlights

(using /beta on Chrome on macOS 10.12)
Given the way the block editor trains users to 'drag' blocks, I can imagine that many people will try to 'drag' the "JS blocks" (JS snippets in toolbelt) into their code somewhere.
I guess this has two parts

Should this work? (I think it probably should in the long run, maybe that's a separate issue/enhancement)
Even if it doesn't, let's do something better than highlighting text (highlighting isn't expected when there's a finger icon anyway)

Just an example of what I mean by highlighting:

To reproduce

click on an item in the toolbar to reveal the 'JS blocks'
click and drag on a block, dragging down (as if towards middle of code)
...notice that the other blocks get highlighted

Yes, long term is to support drag and drop of those blocks in the javascript editor. Still working out the details with the monaco editor.

@sam, need to update CSS of toolbox items to prevent text selection.

Fix for text selection https://github.com/Microsoft/pxt/commit/c459172bd7a2e31e6877012756dfa59809ede59a

Fixed with the latest version of the monaco editor. Drag and drop support.


add test build action

TODO

[ ] Support release publishing to Github
[ ] Test action on development branch
[ ] Create a pre-release

Closing since this will be easier to do after restructure: https://github.com/onflowser/flowser/pull/197


Test call does not connect

Describe the bug
The test call does not connect:

ngrok shows an open connection
no printout on the server console, as expecged from the " logger.verbose(req);" statement
when I press "hangup call" in the fonoster console, there is a message "call not established, cannot hangup"

To Reproduce
Steps to reproduce the behavior:

Go to 'https://fonoster.com/docs/getting_started/make_a_hello_world/'
Follow the instructions
See error

Expected behavior
Should have sounded "hello world"
Screenshots
If applicable, add screenshots to help explain your problem.
System information (please complete the following):

OS: [e.g. Linux] WSl (Linux on Windows)
NodeJS, NPM versions: Node v21.4.0, NPM v10.2.4
CTL version [e.g. 0.1 ]

Additional context
Add any other context about the problem here.

It didn't work when the URL from ngrok started with 'tcp://'.
I changed the protocol to 'http://" and it connected!
But - I still don't hear the sound (speaker is OK).


[DRAFT] Strongly-typed static code generation for IntelliSense support

This implements static code generation for everything via onnx.defs.get_all_schemas_with_history while preserving the existing dynamic functionality (support for calling any arbitrary schema (domain, version, opname)).
444 ops are defined statically with 7 ops skipped (see TODO) for now.
Note that while we originally discussed this as being a .pyi typing overlay, the extra effort to go to 100% functional static code was miniscule, and the fully generated code is much nicer for debugging/stepping.
Using the Hardmax example, I have tested this PR for both ONNX model exporting and eager mode evaluation and observed no differences in behavior. No changes to existing ONNX Script code are needed.
Note that the onnx_opset/_impl directory is meant to hide the op classes and modules themselves from IntelliSense.
Notable Changes

To make any of the strong typing useful, the first commit in this PR changes the various TensorTypes from instances of TensorType to distinct subclasses of TensorType.
Shape annotation subscripts still work by extending the class with __class_getitem__ along with a default instance stored on the class.
Prior to this change, the instances of TensorType would resolve as Any through Pylance/VS Code, because they cannot be statically reasoned about.
No breaking changes observed to existing ONNX Script code.

Introduce a very simple Python AST for generating the code needed to support the ops. Using Python's built-in ast for construction is far too tedious.

Introduce the code generator for ONNX ops built upon (2), organizing each (domain, version) as its own Python module and class therein.
Each version of an opset for a given domain subclasses the previous version to ensure the appropriate union across all opsets (<=version) are statically available. The first version of any opset subclases the original (dynamic) onnxscript.values.Opset.

Introduce the opgen command to setup.py to as entrypoint for code generation. Generated code is run through black and isort for consistent formatting. I am inclined to want to store the resulting code in the repository so we can see diffs over time, but I have no real strong preference. The generated code is included in this PR for now for the sake of code review.

Remaining TODO

[ ] Add class-level doc comment for each Opset
[ ] Add tests to ensure static vs dynamic op call paths are identical.
[ ] Implement heterogeneous support
[x] Verify or implement variadics support.
[ ] How do we want to document differentiability?
[ ] Audit the rest of OpSchema to make sure everything has coverage.
[x] The Optional(15) op results in a conflict with typing.Optional, so optional(...) types are not yet supported
[ ] The Split(1) op is unsupported because it has both an input and an attribute named split which presents a conflict in Python. Split(2,11,13,18) generates just fine, so this is probably safe to ignore.

I haven't looked at the details yet. But for variadic arguments, one key point is to distinguish the homogeneous from the heterogeneous types. In the first case, all the variadic inputs are expected to have the same type, and in the second, this is not the case.
I wonder if we can use python's TypeVar to make this distinction. Eg, could we use
   def MyOp ( *varargs: Union[type1, type2])

versus
   T = TypeVar("T", type1, type2)
   def MyOp ( *varargs: T)

I am not sure about Python's semantics for these, need to check.

Is the plan to use qualified names to handle the conflicts around Optional and Sequence?

Regarding using TypeVar for generics, unfortunately it seems useless from an IntelliSense UX perspective, which defeats the entire purpose of this PR.

Regarding using TypeVar for generics, unfortunately it seems useless from an IntelliSense UX perspective, which defeats the entire purpose of this PR.

Would it make sense to define a few sets of common type collections as TypeVar, so we get both?

Regarding using TypeVar for generics, unfortunately it seems useless from an IntelliSense UX perspective, which defeats the entire purpose of this PR.

That's unfortunate! Yes, it is hard to reconcile the use of different tools, which may not all support all the features of python.

Re. the point about Split having an attribute and input with the same name. That is not in the same version: in opset 11 it was an attribute, and in opset 13, it was changed to an input. Why is this an issue or concern?

@gramalingam looks like it's opset1:

Attributes
axis: Which axis to split on
split: length of each output
Inputs
Between 1 and 2 inputs.
input (heterogeneous) - T: The tensor to split
split (optional, heterogeneous) - T: Optional list of output lengths (see also arg ‘split’)

@gramalingam looks like it's opset1:

Attributes
axis: Which axis to split on
split: length of each output
Inputs
Between 1 and 2 inputs.
input (heterogeneous) - T: The tensor to split
split (optional, heterogeneous) - T: Optional list of output lengths (see also arg ‘split’)

Oh, thanks, I didn't go back all the way :) ... I thought I would fix the issue in the op definition if it was in the latest (opset 18) by renaming the input. I guess the code-generator could make the input-name unique in such cases by adding some prefix/suffix like "input_". The attribute name is significant, but the input name is not.

Codegen is now at 100% spec coverage and all tests are passing.
However, I'm not entirely sure what to do about these failing CI steps:

codecov/patch and codecov/project: I assume this is now scanning the generated code? Can we exclude froms scanning?

Lint / Lint Python: it's funny that now the ONNX Script CI is catching errors in ONNX docs, because the docs are now code! However, this shouldn't fail ONNX Script (again, exclude from scanning?)

It seems all this does is look for misspellings? Can we label the step to indicate that?
lintrunner -m origin/main is happy locally... this step should run as part of lintrunner?

codecov is non-blocking. It is just using algo to suggest a target coverage. If desired codecov.yml can be configured: https://docs.codecov.com/docs/ignoring-paths.
Lint Python is non-blocking and yes it's just checking for misspellings :). It's mainly useful for PR reviews to catch typos.
Version: I made a PR to add the annotations future import to all files, so we can use the new syntax and maintain compatibility with older pythons. I think this will position us the best in terms of modern python support and allow the most users as most people are still on python 3.7 iirc (or 3.6? even though it's no longer supported https://w3techs.com/technologies/details/pl-python/3) @gramalingam @xadupre for comments?

@justinchuby does codecov only apply to the current PR? In other words if this is merged as-is does codecov start failing for subsequent PRs or is a new baseline established?
As for the Python version we discussed this in the morning meeting and decided to defer to you. I also added from __future__ import annotations to this PR, so we at least have consistency. My preference is to use the builtins vs typings when applicable.

There will be a new baseline established. The rest sounds perfect. Thanks!

Can we label the step to indicate that?

I will change the workflow name

@abock : question: I thought your plan was not to include the generated code in the repos? If so, I guess those files need to be removed?
In this case, it would be useful to add some documentation, preferably in readme.md, informing users what they need to do to generate and use it for intellisense etc.

@gramalingam actually I'm not sure we settled on it. I originally didn't care much one way or another. I don't typically love generated code in the tree, but I can also see some value in it.
If we don't include it in the repo, it needs to be invoked during build/install, so I could use some guidance there.
To run the generator, from the top of the repo:
python -m opgen

@gramalingam I've added another commit to the PR that demonstrates what this would like like over time. This commit reflects updates to generated code from updating ONNX from 1.12.0 to 1.13.0rc1. You can see some of the bug fixes with regards to type changes, documentation fixes to older opsets, and the introduction of opset18.

Personally I like the idea of checking these in first before we make it a build step, so that we can leverage all the goodness before we figure out the build.

@gramalingam actually I'm not sure we settled on it. I originally didn't care much one way or another. I don't typically love generated code in the tree, but I can also see some value in it.

Sounds good. I think we can merge it in its current form, and revisit this if we need to.


Add list of Outreachy contributors to website

The 6 previous Outreachy interns should be listed on the main modeci website, perhaps under https://modeci.org/#communityPage (or under a dedicated Outreachy section).
@mqnifestkelvin and @Onoyiza have expressed interest in being ModECI Outreachy Ambassadors, to help future applicants/interns, and should be listed as such.

One option might be to duplicate https://github.com/ModECI/Website/blob/main/_includes/about.html, and everywhere about is used (e.g. https://github.com/ModECI/Website/blob/main/_data/about.yml)  make an equivalent file/entry for outreachy, and fill with previous intern info.

Good morning mentor I am looking at this now and will make a PR when I got something functional working


Capital letter

**bullet point 3 under the 'Log Network Activity' section has a capital letter where it doesn't belong. The 'H' in 'Choosing' is capitalized in the live version. It shouldn't be.
'....Initiator. The cause of the resource request. CHoosing a link in the Initiator column takes you to the source code that caused the request.'**
[Enter feedback here]

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

ID: eb159348-28e5-18af-cba2-1dbcde857de0
Version Independent ID: 1049da4f-215a-0f72-f25a-9eba13bca908
Content: Inspect network activity - Microsoft Edge Development
Content Source: microsoft-edge/devtools-guide-chromium/network/index.md
Product: microsoft-edge
Technology: devtools
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

Fixed; find "clicking" and "won't", in h2 section https://docs.microsoft.com/en-us/microsoft-edge/devtools-guide-chromium/network/#log-network-activity


media: handle failed sfu connection in bwtester

Description
Summary:

Related Issue:

Testing

Screenshots/GIFs (if applicable)

Checklist

[ ] My code follows the project's coding standards.
[ ] Prefixed the PR title and commit messages with the service or package name
[ ] I have written unit tests (if applicable).
[ ] I have updated the documentation (if applicable).
[ ] By submitting this pull request, I confirm that my contribution is made
under the terms of the MIT license.

Additional Information

/canary


bug: Bug: Native scroll break in Android 4.1

Type: bug
Platform: android 4.1 webview
I updated my application to ionic 1.1.0 to use native scroll with ion-infinite-scroll in all views but does not work on Android 4.1 (In IOS 7.1, 8 and Android 4.4, 5 and 5.0.2 it works perfectly) In the documentation you put that works with Android 4.1+ but not so
The bug is: When data is added to the array in the ng-repeat is updated in the content but not the scroll. I tried with $ionicScrollDelegate.resize(); but still does not work.
Only it allows me to scroll down when I have side menus and open and close one.
I need to know if there is any solution because I have to upload my app to markets.
PD: The problem is not ng-repeat , as also happens with reactJS

Greetings @victorAlvarez!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

do you have an example/codepen I could test against?

Hey @mhartington thanks for answering.
I created a basic codepen: http://codepen.io/anon/pen/PqrKQP?editors=101

I met the same issue,  native scroll  work well at android 4.4, but not work in android 4.1,4.2, 4,3

Totally forgot that you mentioned android 4.1 -4.3.
Yes this is to be expected. Since neither of those version have proper scroll events, native-scrolling doesn't really work here.
http://blog.ionic.io/native-scrolling-in-ionic-a-tale-in-rhyme/
An option would be to use crosswalk.
Closing since this is a limitation of the webview.


Creating a Process of how the project work in Readme file

It will be good if process of project will be added in Readme file so one can easily understand how the project works

@Vikash-8090-Yadav If you find it valueable then please assign me this under iwoc with any difficulty tag

It will be good if process of project will be added in Readme file so one can easily understand how the project works

please elaborate this .

Sir basically my aim is that we should have a process like how is this project working,aim of the project,workflow etc... It will be added in README file so one easily understand the purpose of project , workflow and many other concepts related to the project

u want  to create readme instruction for  all the project's ?

u want  to create readme instruction for  all the project's ?

Yes sir like how the project is running and what is in the project and all and in readme file

ok , start working on  this

ok , start working on  this

Ok sir sir my aim is to describe all projects in readme and also describe total aim of project

Thanks for this opportunity sir @Vikash-8090-Yadav

sir i have to describe process of all the projects in web 3.0 world project

@Vikash-8090-Yadav Sir bascially there are 2 files which contains projects .
So can i describe each project one by one what is the project and aim of project with some photographs

One by one describing each project  and at last will descibe the total Web3.0 World project .Whole aim of this project @Vikash-8090-Yadav

Can i go on with my idea

Can i go on with my idea

ya sure , go with this idea . And feel free to ask if u stuck at nay point !!

@Bharadwajshivam28 don't create the readme for the frontend project as per now !! go with the level 0,1,2 .

ok sir @Vikash-8090-Yadav

sir each project readme will be seprate or in one readme that exist in repo

Can i go on with my idea

ya sure , go with this idea . And feel free to ask if u stuck at nay point !!
ok sir

These are the projects in each level so the process and description  of these will be added in the one Readme file or seprate

For each level there is already readme file present ,check level 0 for better understanding, create same  for level 1 and level 2 .Hope u get the point .

ok sir

sir can the images be used  like

and stylish fonts and emoji ?

sir for 0 it is created but can i make o also good more with better explanation

and stylish fonts and emoji ?

ya . go for it

sir for 0 it is created but can i make o also good more with better explanation

yup , update the things . then i ll review and merge it .

ok sir i will also add describing the projects with images and all

Thanks sir working on it


COVID-19 Globa Vaccine Data Announcement: New Sources

The Johns Hopkins Coronavirus Resource Center will begin incorporating global vaccine data from publicly reported national sources on May 10, 2021 for the following countries: Austria; Belgium; Bulgaria; Canada; Chile; Denmark; France; Germany; India; Ireland; Italy; Latvia; Luxembourg; Poland; Spain; UAE; Ukraine; United Kingdom. We already sourced the  United States total independently.
This will replace data previously sourced from Our World in Data. We will continue to provide a composite of the country and aggregated sources. As we stand up additional global sources, we will continue to incorporate them. We will continue to supply this data as a daily timeseries and hourly snapshot in a long format, but will also supply a wide format.
The new dataset can be found here. The data dictionary and list of sources can also be found in that repository.

There is now missing data on 5/10 and you have changed some names, such as changing United States to US. There is also a US (aggregate) in there.

Some are missing 5/9. The UK data is way different.

I just know, just experimenting

Fahadq820


Buildkite should test PR merge commits

It does not appear that Buildkite merges the target branch before testing a PR.

I'm emailing @buildkite support now.


Provide high-fidelity output diffing

Similar to #65, I'd like to do high-fidelity output diffing to test different strategies for Mesop (https://github.com/google/mesop/issues/62 https://github.com/google/mesop/issues/63).
I implemented a diffHtml test util in https://github.com/wwwillchen/mesop/commit/fd5effc48e8dd71bf84b558c9bb8745b75d8257d, however it's failing in GitHub actions because it looks like Playwright doesn't allow you to omit the -${platform} postfix for the snapshot filename.
Options:

A) Feature request to Playwright to have a configuration to omit the -${platform} postfix.
B) Copy all files from *-darwin.html and paste them as *-linux.html (or do a symlink). This is a little tedious to remember every time I create a test, so I may want to use pre-commit hook to automate this.
C) Do homegrown diffing (e.g. read/write from filesystem manually without relying on Playwright)
D) Use another tool

Closing: this doesn't seem worth the effort.


Black screen in release mode

https://user-images.githubusercontent.com/65075504/169685227-311e2966-8d0a-4331-8115-db8c9236cdf5.mp4
To replicate this, run any app with swipable stack in release mode.

https://user-images.githubusercontent.com/65075504/169686511-8b39e5e6-0080-41da-9b3b-e9a81a4f363b.mp4
Works consistently when used like this. What could be the issue?

After some experimentation, I found that giving a 50ms delay or so fixes the issue, is it required to give such a delay or is there any other way? @HeavenOSK

I couldn't reproduce this problem.

facing the same issue, is there any way to fix it?


UIScrollView doesn't work with dynamic content

UIScrollView works fine when we describe our view hierarchy using only xml.
<UIScrollView>
    <UIStackView>
        <View1/>
        <View2/>
        <View3/>
    </UIStackView>
</UIScrollView>

But with dynamic content I have some troubles. UIScrollView not working at all. It displays content, but doesn't scroll it.
For example, I have structure of UIViewController:
<UIScrollView outlet="scrollView">

    <UIStackView outlet="stackView"
        width="parent.width"
        alignment="fill"
        axis="vertical" />

</UIScrollView>

Then, I add some views using stackView.addArrangedSubview(SomeViewComponent()). And after this scroll view doesn't work.
Layout v0.6.18

The problem is fixed by adding stackView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor).isActive = true after initialization. Can we do it automatically?

I have controller with view, and add 50 label dynamically.
TestController.swift
class TestController: UIViewController, LayoutLoading {
    @IBOutlet var scrollView: UIScrollView!
    @IBOutlet var stackView: UIStackView!

    override func viewDidLoad() {
        super.viewDidLoad()
        loadLayout(named: "TestController")
        stackView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor).isActive = true
        (1...50).forEach { index in
            let label = UILabel()
            label.text = "Label \(index)"
            stackView.addArrangedSubview(label)
        }
    }
}

TestController.xml
<UIScrollView outlet="scrollView"
    contentSize.height="auto - 1"
    backgroundColor="white">

    <UIStackView outlet="stackView" axis="vertical" />

</UIScrollView>

In this example scroll works fine. But if I remove contentSize.height="auto - 1" or stackView.bottomAnchor.constraint(equalTo: scrollView.bottomAnchor).isActive = true line, it breaks and scroll stop working.
Also I discovered
contentSize.height="auto - 1" - works fine
contentSize.height="auto + 1" - works fine too
contentSize.height="auto" - not works

But after change orientation, scroll still stops working.


Update BitCore version to <IP_ADDRESS>

See https://github.com/LIMXTEC/BitCore/releases/tag/<IP_ADDRESS>

don't modify, create new property

don't modify, create new property

done


Source generate IoC dependency injection.

Kill DynamicMethod.
Requires https://github.com/space-wizards/RobustToolbox/pull/4348

Doesn't seem worth the hassle, not pulling this one over the finish line unless we REALLY wanna NativeAOT some time.


Pickling error of config function

In a previous Issue I showed requested support for the multiprocessing library to help launch multiple experiments.
# this works
def run_ex(print_usage=False, *args, **kwargs):
    # assumes kwargs is a strict subset of your config
    ex.run(config_updates=kwargs)
    if print_usage:
        usage = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
        print('resources used: {}'.format(usage))
    gc.collect()

# processes default to 1 as if using GPU backend, TF will likely crash
def pool_run(*args, processes=1, print_usage=False, **kwargs):
    with multiprocessing.Pool(processes=processes) as pool:
        results = pool.apply(run_ex, (print_usage, *args), kwargs)
    gc.collect()
    return results

pool_run(print_usage=True, **options)

If I make the slight change to this:
# now I pass the experiment function so that these functions can be re-used

def run_ex(ex, print_usage=False, *args, **kwargs):
    ex.run(config_updates=kwargs)
    if print_usage:
        usage = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
        print('resources used: {}'.format(usage))
    gc.collect()

def pool_run(ex, *args, processes=1, print_usage=False, **kwargs):
    with multiprocessing.Pool(processes=processes) as pool:
        results = pool.apply(run_ex, (ex, print_usage, *args), kwargs)
    gc.collect()
    return results

pool_run(ex, print_usage=True, **options)
# throws error

the error I get is:

PicklingError                             Traceback (most recent call last)
<ipython-input-5-2bab0a1545e1> in <module>

---> 14 pool_run(ex, processes=1, print_usage=True, **opts)

~/Projects/my/module/file.py in pool_run(ex, processes, print_usage, *args, **kwargs)
     10 def pool_run(ex, *args, processes=1, print_usage=False, **kwargs):
     11     with multiprocessing.Pool(processes=processes) as pool:
---> 12         results = pool.apply(run_ex, (ex, print_usage, *args), kwargs)
     13     gc.collect()
     14     return results

/anaconda3/lib/python3.6/multiprocessing/pool.py in apply(self, func, args, kwds)
    257         '''
    258         assert self._state == RUN
--> 259         return self.apply_async(func, args, kwds).get()
    260
    261     def map(self, func, iterable, chunksize=None):

/anaconda3/lib/python3.6/multiprocessing/pool.py in get(self, timeout)
    642             return self._value
    643         else:
--> 644             raise self._value
    645
    646     def _set(self, i, obj):

/anaconda3/lib/python3.6/multiprocessing/pool.py in _handle_tasks(taskqueue, put, outqueue, pool, cache)
    422                         break
    423                     try:
--> 424                         put(task)
    425                     except Exception as e:
    426                         job, idx = task[:2]

/anaconda3/lib/python3.6/multiprocessing/connection.py in send(self, obj)
    204         self._check_closed()
    205         self._check_writable()
--> 206         self._send_bytes(_ForkingPickler.dumps(obj))
    207
    208     def recv_bytes(self, maxlength=None):

/anaconda3/lib/python3.6/multiprocessing/reduction.py in dumps(cls, obj, protocol)
     49     def dumps(cls, obj, protocol=None):
     50         buf = io.BytesIO()
---> 51         cls(buf, protocol).dump(obj)
     52         return buf.getbuffer()
     53

PicklingError: Can't pickle <function config at 0x1c35b18ea0>: it's not the same object as my.module.experiment.config

Could you provide a minimal complete script of the not working example including your ex setup? I thought I had successfully forked processes passing the experiment object...

https://colab.research.google.com/drive/1oJDfvIWnf7sY5uFcJ7XhTSEdA1n_3Jxv

@JarnoRFB  any ideas?

This problem is probably related to the fact that wrapt functions cannot be pickled. Since sacred uses wrapt internally for the captured functions, that will make an experiment (or even captured functions) unpicklable.

@Qwlouse  ok... do you have suggestion for another approach for pool_run then? That functionality is something I would like to compartmentalize away from writing of an experiment itself, so having to have the ex in scope is a bit of an annoyance

@Qwlouse or could Sacred not use wrapt functions? I want to combine ray tune with sacred and that requires a pickleable function...

Sacred works very well with ray tune. You can import the experiment inside the trainable function, apply config updates provided by tune, and then run the experiment.

@flukeskywalker can you provide an example / colab?

Here's an example adapted from code I've used successfully, assuming train.py is a regular sacred experiment file in the same directory that constructs an experiment ex. I don't use the tune reporter since reporting is done through sacred.
Note: the sleep line is a hack I use to prevent multiple experiments from being assigned the same ID. This issue should no longer exist according to sacred devs, but somehow I still faced it so I use this simple fix.
import ray
import ray.tune as tune
from sacred.observers import MongoObserver

def train(config, reporter):
    import time, random
    time.sleep(random.uniform(0.0, 10.0))
    from train import ex
    ex.observers.append(MongoObserver.create(db_name='my_db'))
    config['verbose'] = False
    ex.run(config_updates=config)
    result = ex.current_run.result
    print(f'Types of result is {type(result)}')
    reporter(result=result, done=True)

ray.init(num_cpus=64, num_gpus=0)

if __name__ == '__main__':
    tune.register_trainable("train_func", train)
    tune.run_experiments({
        'my_experiment': {
            'run': 'train_func',
            'stop': {'result': 1000},
            'config': {
                'n_layers': tune.grid_search([5, 6]),
                'batch_size': tune.grid_search([256, 1024, 2048]),
            },
            'resources_per_trial': {"cpu": 1, "gpu": 0},
            'num_samples': 10,
        }
    })

@flukeskywalker so I made a simple project based on your guidance and it works! Thanks :) However it only works if everything is in the same level module.
Here is a more "complete" project setup, and currently tune isn't running.
https://gitlab.com/SumNeuron/extune
please take a look

Sorry, I don't have time to look into the code these days. My guess is that this is related to the module being in the Python path for each ray actor, but that's all I can say at this point.
I personally do not prefer organizing code the way you are doing in extune. I usually have the Sacred experiment and the tune script(s) in the project's base dir. This is simple and avoids another level of organization. Of course, you may like things differently.


Code for the example GIF

Firstly, this library is awesome.
I was wondering if you have the exact code for the example GIF you have in the README? I love the search feature and the collapsible context menu list, I'm struggling to replicate it :). (Currently my implementation takes the entire screen  :( )

To get around this I just overrode the maxHeight and found the search bar at the top; my bad!

Should note though, it does not avoid the keyboard


Feyree charger temperature problem

There is a probleme with the temperature with the Feyree charger, the decimal point was forgotten on the value, for example it shows me 312°C on the integration while on the application the temperature is 31.2°C.
Thank you for your work

Duplicate of #1795


Add support of close_on_exit into outline

Is your feature request related to a problem? Please describe.
If there is a buffer related to file, with outline window, now I want to exit nvim with :q, then the buffer will be closed but the outline window still is here...
Describe the solution you'd like
I want the outline window closes automatically when nvim exits.
Describe alternatives you've considered
None.
Additional context
None.

already support in #586  wait for merge.


Convert osbuild-dnf-json-tests to using asserts + test docs

@msehnout the asserts part should be straight forward but can you pay attention to the test docs? Is this what you meant in your commment here https://github.com/osbuild/osbuild-composer/issues/309#issuecomment-598589328

Note: not sure if the last commit must be squashed into the first one. Some of the changes do not seem related to what I am doing or maybe I don't understand everything.

Thanks!


Update ITT2022 Cycle Deadlines

Context
We needed to agree the cycle timelines in order to communicate these to providers. This PR amends them to the agreed times.
Changes proposed in this pull request
Amending times as defined in the cycle deadlines rb file.
Guidance to review
Are there any tests which break?
I still need to add the banner deadline on here.
Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

I was hoping we would follow the new current agreed process around adding dev tickets for these changes and discussing as a team especially for visibility, as this is a big change and we all need to be aware of this.
If we would like to revisit our process,  happy to discuss and agree with the wider team otherwise and iterate.

discussed with @MylesJarvis and team and closing in favour of new dates/rules in https://github.com/DFE-Digital/apply-for-teacher-training/pull/7035


do not send the gif if it is the user-displayed name

Fix this very very very very very very very very very very annoying bug
IF YOU DON'T MERGE IT I WILL HATE AND HARASS YOU FOR THE RESTE OF UR LIFE and the bot will be banned too :)
Have a nice day :D

lgtm


[REQUEST] macos support (x86 & ARM)

Is your feature request related to a problem? Please describe.
Currently there is no macOS DMG installer available for Hydra Launcher. This prevents users on Apple computers from being able to easily install and use the game launcher.
Describe the solution you'd like
I would like to see official macOS builds of Hydra Launcher made available, with support for both Intel x86 and Apple Silicon ARM processors. This would allow the application to run natively on all modern Mac computers.
The macOS builds should include:

A DMG installer package
Automatic updates to keep the launcher up-to-date
Full functionality of the embedded BitTorrent client and repack scraper

Describe alternatives you've considered
One alternative would be to provide instructions for manually building Hydra from source on macOS. However, this would be much more technically complex for most users compared to a simple DMG install.
Another option could be to recommend using Hydra on macOS via a virtual machine or Wine compatibility layer. But this adds unnecessary complexity and overhead compared to a native macOS build.
Additional context
Hydra Launcher is a very useful tool for PC gamers, providing an all-in-one solution for launching games, downloading repacks, and managing downloads. Expanding support to macOS would allow many more users to benefit from the application.

We see no use in a macOS release. The games would just not run on a macOS

We see no use in a macOS release. The games would just not run on a macOS

Just like people use Wine on Linux, MacOS users make use of CrossOver which is a massive Wine modification that lets Apple Silicon computers run Windows games smoothly. I myself use Hydra on MacOS to download games to play with CrossOver later

There's games with macos support, but they hard to find because we're don't have one comfortable place for it (exclude appstorrent website, they are awesome). Seems to be good idea to scrape torrents for MacOS gaming too. Also there's project that allows you to port some windows unity games to Linux and it has unofficial way to port Linux and windows unity games to MacOS (already compiled builds, if they uses opengl renderer. So, we'll happy to see official support for MacOS in hydra launcher.

A modern Wine wrapper for macOS built with SwiftUI - Join the Mac gaming revolution
Experience the latest titles effortlessly with Whisky.
https://getwhisky.app/

for mac os, there is many games torrented included, check https://appstorrent.ru/

#529 adds support for a MacOS build (only ARM). We still need some testing (especially on downloads), if anyone feels like helping on tests, feel free to download the artifact built by the pipeline that is available on the PR .
PS: The package will probably be flagged as not secure by the OS and when trying to open it, a pop up saying the package is broken will appear. I had to manually run a command so the OS would allow the package to run

If anyone has problems with downloads, please attach your logs here, they are located at ~/Library/Application Support/Hydra/logs

#529 adds support for a MacOS build (only ARM). We still need some testing (especially on downloads), if anyone feels like helping on tests, feel free to download the artifact built by the pipeline that is available on the PR .
PS: The package will probably be flagged as not secure by the OS and when trying to open it, a pop up saying the package is broken will appear. I had to manually run a command so the OS would allow the package to run

Can you tell me in which PR is mac build available. I'm interested in using and testing it.

@ayushs-2k4 we had to drop it (at least temporarily) because the downloads were not working in macos.
If you have some knowledge in programming you could:

Clone the project and get aria2 from homebrew, copy the aria2c file into the project
Or you can checkout the v1.2.4 tag and build locally, you would need to install python 3.9.0 for it

We see no use in a macOS release. The games would just not run on a macOS

Just like people use Wine on Linux, MacOS users make use of CrossOver which is a massive Wine modification that lets Apple Silicon computers run Windows games smoothly. I myself use Hydra on MacOS to download games to play with CrossOver later

Also, there are many games that you can run on Apple Silicon computers natively and torrent trackers with release groups for these. As i saw in Telegram chat yesterday, there are lots of MacOS users who find building the app themselves each update too hard and boring.

бро можешь подсказать как запустить гидру через кроссовер ?
со стимом все ок, гидра не запускается

We see no use in a macOS release. The games would just not run on a macOS

Just like people use Wine on Linux, MacOS users make use of CrossOver which is a massive Wine modification that lets Apple Silicon computers run Windows games smoothly. I myself use Hydra on MacOS to download games to play with CrossOver later

Also, there are many games that you can run on Apple Silicon computers natively and torrent trackers with release groups for these. As i saw in Telegram chat yesterday, there are lots of MacOS users who find building the app themselves each update too hard and boring.

did you find a way to use hydra on crossover? when I open it I get an error


[Enhancement] Wrong language passed via the "Language:" system info

Issue
Aider seems to pass in system information, which includes the system's language. In my case, it's this:
 • Platform: Windows-11-10.0.22631-SP0
 • Shell: COMSPEC=C:\WINDOWS\system32\cmd.exe
 • Language: Czech_Czechia
 • Current date: 2024-09-01

However, I DON'T want it to speak to me in czech. Leaving aside that it decreases performance, it is most certainly not my preferred language. So I would love to either

Have the language removed from system information
Be able to change the language

Side question: in #1181 (related issue), you recommended to use conventions.md as a workaround. Is it loaded into the system prompt, or how exactly is it handled? I would like to avoid polluting the LLM's context in any substantial way.
Version and model info

Aider v0.54.12
claude-3-5-sonnet-20240620
no git repo

You can update it to whatever language you prefer.

Alright, that will do. I am hesitant whether this should be the go-to solution, but you can reconsider later when/if more people start reporting that it is an issue for them. Let's mark this as closed then if no one has any other insights.

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

I'll just chime in and say thank you for the ongoing development of Aider. It's really a miraculous tool, and a very well written one. Love the terminal UX. I am appreciating it each time I use Aider, and I've been using it for about two months now on a daily basis.

New user here. For what it's worth, I was quite confused when the model suddenly started to respond in my system language rather than that of my prompts. Also, setting the LANG environment variable did not work for me on Windows (Aider still sends the system's user interface language in the system prompt).
So I think a more explicit config option to tweak/disable this behavior would be very helpful for multilingual users.

How did you update the LANG variable on Windows? If you used setx, did you restart your terminal for it to take effect?

Did you try restarting the terminal? I did $env:LANG = "en" (you can check the output with echo $env:LANG), and did not have any problems since.

I have tried both set and setx, ensuring that the shell picks up the changes in the environment. I still get the following output:
PS C:\test> echo $env:LANG
en
PS C:\test> aider --show-prompts
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Aider v0.55.0
Main model: openrouter/anthropic/claude-3.5-sonnet with diff edit format, infinite output
Weak model: openrouter/anthropic/claude-3-haiku-20240307
Git repo: .git with 0 files
Repo-map: using 1024 tokens, auto refresh
SYSTEM Act as an expert software developer.
SYSTEM Always use best practices when coding.
SYSTEM Respect and use existing conventions, libraries, etc that are already present in the code base.
SYSTEM
SYSTEM Take requests for changes to the supplied code.
SYSTEM If the request is ambiguous, ask questions.
SYSTEM
SYSTEM Always reply to the user in the same language they are using.
SYSTEM
SYSTEM Once you understand the request you MUST:
SYSTEM
SYSTEM 1. Decide if you need to propose SEARCH/REPLACE edits to any files that haven't been added to the chat. You can create new files without asking!
SYSTEM
SYSTEM But if you need to propose edits to existing files not already added to the chat, you MUST tell the user their full path names and ask them to add the files to the chat.
SYSTEM End your reply and wait for their approval.
SYSTEM You can keep asking if you then decide you need to edit more files.
SYSTEM
SYSTEM 2. Think step-by-step and explain the needed changes in a few short sentences.
SYSTEM
SYSTEM 3. Describe each change with a SEARCH/REPLACE block per the examples below.
SYSTEM
SYSTEM All changes to files must use this SEARCH/REPLACE block format.
SYSTEM ONLY EVER RETURN CODE IN A SEARCH/REPLACE BLOCK!
SYSTEM
SYSTEM 4. Concisely suggest any shell commands the user might want to run in bash blocks. SYSTEM SYSTEM Just suggest shell commands this way, not example code. SYSTEM Only suggest complete shell commands that area ready to execute, without placeholders. SYSTEM Only suggest at most a few shell commands at a time, not more than 1-3. SYSTEM SYSTEM Use the appropriate shell based on the user's system info: SYSTEM - Platform: Windows-11-10.0.22631-SP0 SYSTEM - Shell: COMSPEC=C:\WINDOWS\system32\cmd.exe SYSTEM - Language: Russian_Russia SYSTEM - Current date: 2024-09-05 SYSTEM - The user is operating inside a git repository SYSTEM SYSTEM SYSTEM Examples of when to suggest shell commands: SYSTEM SYSTEM - If you changed a self-contained html file, suggest an OS-appropriate command to open a browser to view it to see the updated content. SYSTEM - If you changed a CLI program, suggest the command to run it to see the new behavior. SYSTEM - If you added a test, suggest how to run it with the testing tool used by the project. SYSTEM - Suggest OS-appropriate commands to delete or rename files/directories, or other file system operations. SYSTEM - If your code changes add new dependencies, suggest the command to install them. SYSTEM - Etc. SYSTEM SYSTEM # Example conversations: SYSTEM SYSTEM ## USER: Change get_factorial() to use math.factorial SYSTEM SYSTEM ## ASSISTANT: To make this change we need to modify `mathweb/flask/app.py` to: SYSTEM SYSTEM 1. Import the math package. SYSTEM 2. Remove the existing factorial() function. SYSTEM 3. Update get_factorial() to call math.factorial instead. SYSTEM SYSTEM Here are the *SEARCH/REPLACE* blocks: SYSTEM SYSTEM mathweb/flask/app.py SYSTEM python
SYSTEM <<<<<<< SEARCH
SYSTEM from flask import Flask
SYSTEM =======
SYSTEM import math
SYSTEM from flask import Flask
SYSTEM >>>>>>> REPLACE
SYSTEM SYSTEM SYSTEM mathweb/flask/app.py SYSTEMpython
SYSTEM <<<<<<< SEARCH
SYSTEM def factorial(n):
SYSTEM     "compute factorial"
SYSTEM
SYSTEM     if n == 0:
SYSTEM         return 1
SYSTEM     else:
SYSTEM         return n * factorial(n-1)
SYSTEM
SYSTEM =======
SYSTEM >>>>>>> REPLACE
SYSTEM SYSTEM SYSTEM mathweb/flask/app.py SYSTEMpython
SYSTEM <<<<<<< SEARCH
SYSTEM     return str(factorial(n))
SYSTEM =======
SYSTEM     return str(math.factorial(n))
SYSTEM >>>>>>> REPLACE
SYSTEM SYSTEM SYSTEM SYSTEM ## USER: Refactor hello() into its own file. SYSTEM SYSTEM ## ASSISTANT: To make this change we need to modify `main.py` and make a new file `hello.py`: SYSTEM SYSTEM 1. Make a new hello.py file with hello() in it. SYSTEM 2. Remove hello() from main.py and replace it with an import. SYSTEM SYSTEM Here are the *SEARCH/REPLACE* blocks: SYSTEM SYSTEM hello.py SYSTEMpython
SYSTEM <<<<<<< SEARCH
SYSTEM =======
SYSTEM def hello():
SYSTEM     "print a greeting"
SYSTEM
SYSTEM     print("hello")
SYSTEM >>>>>>> REPLACE
SYSTEM SYSTEM SYSTEM main.py SYSTEMpython
SYSTEM <<<<<<< SEARCH
SYSTEM def hello():
SYSTEM     "print a greeting"
SYSTEM
SYSTEM     print("hello")
SYSTEM =======
SYSTEM from hello import hello
SYSTEM >>>>>>> REPLACE
SYSTEM SYSTEM # *SEARCH/REPLACE block* Rules: SYSTEM SYSTEM Every *SEARCH/REPLACE block* must use this format: SYSTEM 1. The *FULL* file path alone on a line, verbatim. No bold asterisks, no quotes around it, no escaping of characters, etc. SYSTEM 2. The opening fence and code language, eg:python
SYSTEM 3. The start of search block: <<<<<<< SEARCH
SYSTEM 4. A contiguous chunk of lines to search for in the existing source code
SYSTEM 5. The dividing line: =======
SYSTEM 6. The lines to replace into the source code
SYSTEM 7. The end of the replace block: >>>>>>> REPLACE
SYSTEM 8. The closing fence: ```
SYSTEM
SYSTEM Use the FULL file path, as shown to you by the user.
SYSTEM
SYSTEM Every SEARCH section must EXACTLY MATCH the existing file content, character for character, including all comments, docstrings, etc.
SYSTEM If the file contains code or other data wrapped/escaped in json/xml/quotes or other containers, you need to propose edits to the literal contents of the file, including the container markup.
SYSTEM
SYSTEM SEARCH/REPLACE blocks will replace all matching occurrences.
SYSTEM Include enough lines to make the SEARCH blocks uniquely match the lines to change.
SYSTEM
SYSTEM Keep SEARCH/REPLACE blocks concise.
SYSTEM Break large SEARCH/REPLACE blocks into a series of smaller blocks that each change a small portion of the file.
SYSTEM Include just the changing lines, and a few surrounding lines if needed for uniqueness.
SYSTEM Do not include long runs of unchanging lines in SEARCH/REPLACE blocks.
SYSTEM
SYSTEM Only create SEARCH/REPLACE blocks for files that the user has added to the chat!
SYSTEM
SYSTEM To move code within a file, use 2 SEARCH/REPLACE blocks: 1 to delete it from its current location, 1 to insert it in the new location.
SYSTEM
SYSTEM Pay attention to which filenames the user wants you to edit, especially if they are asking you to create a new file.
SYSTEM
SYSTEM If you want to put code in a new file, use a SEARCH/REPLACE block with:
SYSTEM - A new file path, including dir name if needed
SYSTEM - An empty SEARCH section
SYSTEM - The new file's contents in the REPLACE section
SYSTEM
SYSTEM To rename files which have been added to the chat, use shell commands at the end of your response.
SYSTEM
SYSTEM
SYSTEM ONLY EVER RETURN CODE IN A SEARCH/REPLACE BLOCK!
SYSTEM
SYSTEM Examples of when to suggest shell commands:
SYSTEM
SYSTEM - If you changed a self-contained html file, suggest an OS-appropriate command to open a browser to view it to see the updated content.
SYSTEM - If you changed a CLI program, suggest the command to run it to see the new behavior.
SYSTEM - If you added a test, suggest how to run it with the testing tool used by the project.
SYSTEM - Suggest OS-appropriate commands to delete or rename files/directories, or other file system operations.
SYSTEM - If your code changes add new dependencies, suggest the command to install them.
SYSTEM - Etc.
USER I am not sharing any files that you can edit yet.
ASSISTANT Ok.
USER Hello!
USER
USER # SEARCH/REPLACE block Rules:
USER
USER Every SEARCH/REPLACE block must use this format:
USER 1. The FULL file path alone on a line, verbatim. No bold asterisks, no quotes around it, no escaping of characters, etc.
USER 2. The opening fence and code language, eg: python USER 3. The start of search block: <<<<<<< SEARCH USER 4. A contiguous chunk of lines to search for in the existing source code USER 5. The dividing line: ======= USER 6. The lines to replace into the source code USER 7. The end of the replace block: >>>>>>> REPLACE USER 8. The closing fence:
USER
USER Use the FULL file path, as shown to you by the user.
USER
USER Every SEARCH section must EXACTLY MATCH the existing file content, character for character, including all comments, docstrings, etc.
USER If the file contains code or other data wrapped/escaped in json/xml/quotes or other containers, you need to propose edits to the literal contents of the file, including the container markup.
USER
USER SEARCH/REPLACE blocks will replace all matching occurrences.
USER Include enough lines to make the SEARCH blocks uniquely match the lines to change.
USER
USER Keep SEARCH/REPLACE blocks concise.
USER Break large SEARCH/REPLACE blocks into a series of smaller blocks that each change a small portion of the file.
USER Include just the changing lines, and a few surrounding lines if needed for uniqueness.
USER Do not include long runs of unchanging lines in SEARCH/REPLACE blocks.
USER
USER Only create SEARCH/REPLACE blocks for files that the user has added to the chat!
USER
USER To move code within a file, use 2 SEARCH/REPLACE blocks: 1 to delete it from its current location, 1 to insert it in the new location.
USER
USER Pay attention to which filenames the user wants you to edit, especially if they are asking you to create a new file.
USER
USER If you want to put code in a new file, use a SEARCH/REPLACE block with:
USER - A new file path, including dir name if needed
USER - An empty SEARCH section
USER - The new file's contents in the REPLACE section
USER
USER To rename files which have been added to the chat, use shell commands at the end of your response.
USER
USER
USER ONLY EVER RETURN CODE IN A SEARCH/REPLACE BLOCK!
USER
USER Examples of when to suggest shell commands:
USER
USER - If you changed a self-contained html file, suggest an OS-appropriate command to open a browser to view it to see the updated content.
USER - If you changed a CLI program, suggest the command to run it to see the new behavior.
USER - If you added a test, suggest how to run it with the testing tool used by the project.
USER - Suggest OS-appropriate commands to delete or rename files/directories, or other file system operations.
USER - If your code changes add new dependencies, suggest the command to install them.
USER - Etc.
PS C:\test>

The main branch now has a --chat-language switch:
$ aider --chat-language "Pig Latin"
─────────────────────────────────────────────────────────────────────────────────────────────────────────
Aider v0.55.1.dev
Model: claude-3-5-sonnet-20240620 with diff edit format, prompt cache, infinite output
Git repo: none
Repo-map: disabled
Use /help <question> for help, run "aider --help" to see cmd line args
─────────────────────────────────────────────────────────────────────────────────────────────────────────
> hi

Ello-hay! Elcome-way o-tay e-thay onversation-cay. Ince-say ou-yay aven't-hay ared-shay any-ay iles-fay
or-fay e-may o-tay edit-ay et-yay, I-ay an't-cay ake-may any-ay anges-chay ight-ray ow-nay. Ut-bay I'm-ay
appy-hay o-tay elp-hay ou-yay ith-way any-ay uestions-qay or-ay iscussions-day about-ay oding-cay or-ay
oftware-say evelopment-day. Is-ay ere-thay omething-say ecific-spay ou-yay ould-way ike-lay o-tay alk-tay
about-ay or-ay eed-nay elp-hay ith-way?

The change is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

# or...

python -m pip install --upgrade git+https://github.com/paul-gauthier/aider.git

If you have a chance to try it, let me know if it works better for you.

Works perfectly, thank you!

I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


Ui/nodejs server

Fully working service. See latestest ui/nodejsServer commit desc for further todos

no conflicts. PASS merged, closed and locked


Mobile device management and app restrictions

Note: This template is only for reporting bugs about samples in this repo. If you have a product bug to report about Office web Add-ins, please submit the issue at https://github.com/OfficeDev/office-js/issues. This will help us respond to your issue faster.
(DELETE THIS PARAGRAPH AFTER READING)

URL of sample
URL linking to the sample that has the bug.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Platform [PC desktop, Mac, iOS, Office Online]: ______
Host [Excel, Word, PowerPoint, etc.]: ______
Office version number: ______
Operating System: ______
Browser (if using Office Online): ______

Additional context
Add any other context about the problem here.

Hi @a1-day1,
It's not clear from the title what the issue is. If you could please fill out the issue template, that would be very helpful. I'll close this for now, but reopen it once we get more information.


NFT placeholder "K"

          > > placeholder will only be updated for new mints, correct?

placeholder image for nft? It will not update. That needs another design btw.

@exezbcz
Originally posted by @prury in https://github.com/kodadot/nft-gallery/issues/10392#issuecomment-2147542951
Files
same file structure as here: https://github.com/kodadot/nft-gallery/issues/8029
here are the new ones (four levels of compression, webp)
K_dark_placeholderV2.zip
K_light_placeholderV2.zip

not prio, better finish outstanding things


Probleme with ng test + angular material

What is the current behavior?
I get ping timeout durring "ng test" process when i have<EMAIL_ADDRESS>in "angula.json". "ng test" take a long time and restart test again and again
"test": {
          "builder": "@angular-devkit/build-angular:karma",
          "options": {
            "main": "src/test.ts",
            "polyfills": "src/polyfills.ts",
            "tsConfig": "src/tsconfig.spec.json",
            "karmaConfig": "src/karma.conf.js",
            "styles": [
  ===>><EMAIL_ADDRESS>              "src/styles.css"
            ],
            "scripts": [],
            "assets": [
              "src/favicon.ico",
              "src/assets"
            ]
          }
        },

16 01 2019 16:13:25.393:WARN [karma]: No captured browser, open http://localhost:9876/
16 01 2019 16:13:25.397:INFO [karma-server]: Karma v3.1.4 server started at http://<IP_ADDRESS>:9876/
16 01 2019 16:13:25.397:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
16 01 2019 16:13:25.403:INFO [launcher]: Starting browser Chrome
16 01 2019 16:13:29.490:WARN [karma]: No captured browser, open http://localhost:9876/
16 01 2019 16:13:29.796:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket I5P0dN9-OxH5L8HlAAAA with id 79106811
16 01 2019 16:13:59.792:WARN [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Disconnected (0 times)Client disconnected from CONNECTED state (ping timeout)
Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)

Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
16 01 2019 16:14:09.108:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket ZCL4b9zrSmv5o8wBAAAB with id 79106811
16 01 2019 16:14:39.514:WARN [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Disconnected (0 times)Client disconnected from CONNECTED state (ping timeout)
Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)

Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
16 01 2019 16:14:43.492:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket QIDXrml-0m6LD-XDAAAC with id 79106811
Chrome 71.0.3578 (Windows <IP_ADDRESS>): Executed 3 of 3 SUCCESS (0.001 secs / 0.095 secs)
TOTAL: 3 SUCCESS
TOTAL: 3 SUCCESS
16 01 2019 16:15:13.494:WARN [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Disconnected (0 times)Client disconnected from CChrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
Chrome 71.0.3578 (Windows <IP_ADDRESS>): Executed 3 of 3 SUCCESS (0.001 secs / 0.095 secs)
Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
16 01 2019 16:15:21.831:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket e4GcYy059OB1BXhYAAAD with id 79106811
16 01 2019 16:15:52.235:WARN [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Disconnected (0 times)Client disconnected from CONNECTED state (ping timeout)
Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)

Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
16 01 2019 16:15:55.123:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket tTr75wwZ5xW8nPtBAAAE with id 79106811
Chrome 71.0.3578 (Windows <IP_ADDRESS>): Executed 3 of 3 SUCCESS (0 secs / 0.096 secs)
TOTAL: 3 SUCCESS
TOTAL: 3 SUCCESS
16 01 2019 16:16:25.126:WARN [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Disconnected (0 times)Client disconnected from CChrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
Chrome 71.0.3578 (Windows <IP_ADDRESS>): Executed 3 of 3 SUCCESS (0 secs / 0.096 secs)
Chrome 71.0.3578 (Windows <IP_ADDRESS>) ERROR
  DisconnectedClient disconnected from CONNECTED state (ping timeout)
16 01 2019 16:16:32.217:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket O3yulY6aUidXSWldAAAF with id 79106811

What are the steps to reproduce?
i can reproduce this by create an app with angular cli :
ng new app --routing
ng add @angular/material
ng test

When i remove the css include in angular.json :
ng test

16 01 2019 16:12:55.729:WARN [karma]: No captured browser, open http://localhost:9876/
16 01 2019 16:12:55.733:INFO [karma-server]: Karma v3.1.4 server started at http://<IP_ADDRESS>:9876/
16 01 2019 16:12:55.734:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
16 01 2019 16:12:55.739:INFO [launcher]: Starting browser Chrome
16 01 2019 16:12:59.513:WARN [karma]: No captured browser, open http://localhost:9876/
16 01 2019 16:12:59.903:INFO [Chrome 71.0.3578 (Windows <IP_ADDRESS>)]: Connected on socket N2lZLZYt4pJH7lMAAAAA with id 67449294
Chrome 71.0.3578 (Windows <IP_ADDRESS>): Executed 3 of 3 SUCCESS (0.103 secs / 0.162 secs)
TOTAL: 3 SUCCESS
TOTAL: 3 SUCCESS

--
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I'm on Windows 8.1 and there is my package.json, i'm not sure to give you the right answer :
"dependencies": {
    "@angular/animations": "~7.1.0",
    "@angular/cdk": "~7.2.1",
    "@angular/common": "~7.1.0",
    "@angular/compiler": "~7.1.0",
    "@angular/core": "~7.1.0",
    "@angular/forms": "~7.1.0",
    "@angular/material": "^7.2.1",
    "@angular/platform-browser": "~7.1.0",
    "@angular/platform-browser-dynamic": "~7.1.0",
    "@angular/router": "~7.1.0",
    "core-js": "^2.5.4",
    "hammerjs": "^2.0.8",
    "rxjs": "~6.3.3",
    "tslib": "^1.9.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.11.0",
    "@angular/cli": "~7.1.4",
    "@angular/compiler-cli": "~7.1.0",
    "@angular/language-service": "~7.1.0",
    "@types/node": "~8.9.4",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "codelyzer": "~4.5.0",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.1.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~3.1.6"
  }

Hi
I am getting the exact same issue after upgrading an application from angular 6 to 7 and, as per the simple recreation steps mentioned, find the same problem with a new application after adding angular material. Again, the problem can be worked around by removing the material style from the test node in angular.json
Is there a resolution in the pipeline for this?
Thanks
John
I am running Windows 10 and Chrome 72
06 02 2019 12:13:46.380:INFO [Chrome 72.0.3626 (Windows 10.0.0)]: Connected on socket 5xACUK1jskGAkaXSAAAA with id 17497926
06 02 2019 12:14:16.384:WARN [Chrome 72.0.3626 (Windows 10.0.0)]: Disconnected (0 times), because no message in 30000 ms.
Chrome 72.0.3626 (Windows 10.0.0) ERROR
Disconnected, because no message in 30000 ms.
Chrome 72.0.3626 (Windows 10.0.0) ERROR
Disconnected, because no message in 30000 ms.
06 02 2019 12:14:18.393:WARN [launcher]: Chrome was not killed in 2000 ms, sending SIGKILL.
06 02 2019 12:14:20.394:WARN [launcher]: Chrome was not killed by SIGKILL in 2000 ms, continuing.
If --watch=true, Chrome also periodically displays a 'Page Unresponsive' dialog.
Package versions as follows:
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/cdk": "~7.3.1",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/material": "^7.3.1",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"core-js": "^2.5.4",
"hammerjs": "^2.0.8",
"rxjs": "~6.3.3",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.13.0",
"@angular/cli": "~7.3.0",
"@angular/compiler-cli": "~7.2.0",
"@angular/language-service": "~7.2.0",
"@types/node": "~8.9.4",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "~4.5.0",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~3.1.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.4.0",
"ts-node": "~7.0.0",
"tslint": "~5.11.0",
"typescript": "~3.2.2"
}

Same problem here>
`C:\Users\BFuentes\source\repos\testangularmaterial>ng new apptest --routing
? Which stylesheet format would you like to use?  You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 1113 packages from 1025 contributors and audited 41386 packages in 87.53s
found 0 vulnerabilities
warning: LF will be replaced by CRLF in .editorconfig.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gitignore.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in README.md.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in angular.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/protractor.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.e2e-spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/src/app.po.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in e2e/tsconfig.e2e.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in package.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app-routing.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.spec.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.component.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/app/app.module.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/browserslist.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.prod.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/environments/environment.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/index.html.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/karma.conf.js.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/main.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/polyfills.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/styles.css.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/test.ts.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tsconfig.app.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tsconfig.spec.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in src/tslint.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tsconfig.json.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in tslint.json.
The file will have its original line endings in your working directory
Successfully initialized git.
C:\Users\BFuentes\source\repos\testangularmaterial>cd apptest
C:\Users\BFuentes\source\repos\testangularmaterial\apptest>ng add @angular/material
Installing packages for tooling via npm.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

<EMAIL_ADDRESS>added 1 package and audited 41388 packages in 16.802s
found 0 vulnerabilities

Installed packages for tooling via npm.
? Choose a prebuilt theme name, or "custom" for a custom theme: Indigo/Pink        [ Preview: https://material.angular.io?theme=indigo-pink ]
? Set up HammerJS for gesture recognition? Yes
? Set up browser animations for Angular Material? Yes
UPDATE package.json (1396 bytes)
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
added 3 packages from 4 contributors and audited 41392 packages in 13.682s
found 0 vulnerabilities
UPDATE src/main.ts (391 bytes)
UPDATE src/app/app.module.ts (502 bytes)
UPDATE angular.json (3980 bytes)
UPDATE src/index.html (475 bytes)
UPDATE src/styles.css (181 bytes)
C:\Users\BFuentes\source\repos\testangularmaterial\apptest>ng test
11% building 11/11 modules 0 active13 02 2019 17:36:55.324:WARN [karma]: No captured browser, open http://localhost:9877/
13 02 2019 17:36:55.343:INFO [karma-server]: Karma v3.1.4 server started at http://<IP_ADDRESS>:9877/
13 02 2019 17:36:55.345:INFO [launcher]: Launching browsers Chrome with concurrency unlimited
11% building 12/12 modules 0 active13 02 2019 17:36:55.404:INFO [launcher]: Starting browser Chrome
13 02 2019 17:37:02.670:WARN [karma]: No captured browser, open http://localhost:9877/
13 02 2019 17:37:03.474:INFO [Chrome 72.0.3626 (Windows 10.0.0)]: Connected on socket QO7S8D2mpEieNEobAAAA with id 49553117
13 02 2019 17:37:33.903:WARN [Chrome 72.0.3626 (Windows 10.0.0)]: Disconnected (0 times)Client disconnected from CONNECTED state (ping timeout)
Chrome 72.0.3626 (Windows 10.0.0) ERROR
DisconnectedClient disconnected from CONNECTED state (ping timeout)
Chrome 72.0.3626 (Windows 10.0.0) ERROR
DisconnectedClient disconnected from CONNECTED state (ping timeout)
`

@andrewseguin maybe re-open the issue or open an other one in angular project ?

For me disabling source maps helps.
Check if this comment helps you:
https://github.com/karma-runner/karma/issues/3267#issuecomment-467092823


Addressing boolean RAPPOR decode failures when TRUE is ~ 0.

New function .DecodeBoolean outputs an estimate for TRUE directly from EstimateBloomCounts; bypassing maps and LASSO.
This fixes a few errors that arise when the underlying distribution for TRUE is very close
to zero and maps + LASSO fails to recover "a candidate solution."

Updated decode.R with a new private function .DecodeBoolean to decode when inputs are boolean
Updated decode_test.R with tests to check .DecodeBoolean
decode_assoc.R now does not use the Other category when analyzing boolean rappor inputs (k==1)
decode_test.R helper functions now output a little more information when test fails.

Since this change is introduced to address a specific bug, it'd be a good idea to add a corresponding test to decode_test.R.

LGTM
OK thanks for fixing this, go ahead and merge and I can update the pipeline.


jsc without argument

typing "jsc" crashes libterm

I also have encountered the same problem.
Checking the crash logs, a EXC_BREAKPOINT (SIGTRAP) exception causes the crash.
It could be that @ColdGrub1384 accidentally left some sort of breakpoint (for debugging).
The crash log file is attached.
LibTerm-2020-04-26-142657.txt

I did more research on this SIGTRAP, and it could be because of this line here, in the main() function for jsc:
https://github.com/ColdGrub1384/LibTerm/blob/0d697870c8ea8fd894d49ddf3020101dfcc1131e/LibTerm/Commands/builtins/jsc.swift#L33
argv is empty when there is no arguments, so this is probably an out-of-bounds exception.
I suggest an explicit check for when there are no args:
if argv.count == 0 {
    fputs("jsc: Error: no file specified", thread_stderr)
    executionDone = true
}

@oflebbe @onyxware  Thanks. I'll fix that


[BUG] Adding Resource Bridge in Azure Stack HCI gives following error

Failed with errors
Install-ResourceBridge: Cannot set new Moc configuration when in this state [Installed] Please check your system and retry deployment.
Duration: 0 minutes 24 seconds
Already have AKS management cluster installed

Hey Paul! Can you tell me the commands that ran successfully, and which specific command (with parameters) failed? This can help me narrow down the issue.

Hey Paul, Do you have aby updates on this issue ? I came accross the same error.

Hi Paul, there is no details on where you are seeing the error (after running which command), but my guess is that you run Set-MocConfig and saw this error. This means that AKS HCI is already installed, co please skip that step and continue to updating the required extensions. Hope this helps you.

I found this page after trying to fix a problem with my configuration. During initial setup, my VLAN id was left blank, but it should've been 200. I was trying to change that using Set-MocConfig but came accross this error. Any help appreciated but I'll probably solve doing a complete uninstall and reinstalling - just seems a waste when a simple configuration setting is required.


[qt5] build failure

Operating system
windows
Compiler
No response
Steps to reproduce the behavior
'.\vcpkg qt5'

Failure logs
error: building qt5-base:x64-mingw-dynamic failed with: BUILD_FAILED
Elapsed time to handle qt5-base:x64-mingw-dynamic: 30 min
Please ensure you're using the latest port files with git pull and vcpkg update.
Additional context
No response

who can help me ? if it always has problem like this if i should reinstall the vcpkg?

Please provide your failure log.

error: building qt5-base:x64-mingw-dynamic failed with: BUILD_FAILED
Elapsed time to handle qt5-base:x64-mingw-dynamic: 30 min
Please ensure you're using the latest port files with git pull and vcpkg update.


small bug

I found a bug in flutter framework
SystemChrome.setSystemUIOverlayStyle(
      SystemUiOverlayStyle(
        statusBarColor: Colors.green,
        statusBarIconBrightness: Brightness.dark,
        systemNavigationBarColor: Colors.green,
        systemNavigationBarIconBrightness: Brightness.dark,
      ),
    );

this:
statusBarIconBrightness: Brightness.dark,

does not work, only work
statusBarIconBrightness: Brightness.light,

I test it in both my phone and Emulator. Both have Android version: 9
Flutter 1.17.4 • channel stable
Tools • Dart 2.8.4
Android API 28 Platform

So when I expect it my Canon R5 to be receive as a gift from Google to find this bug? 😀

Hi @note8g2018
I see there's an open issue addressing the case you described.
Please follow up on that issue, I'm closing the current one as duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


What about .pug ? Does it work ?

Do you want to request a feature or report a bug?

What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.

It looks like you just deleted/ignored our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


no update since may ?

Hello !
I've been using this image with success, and now I depend on the feature of a library that was updated on the 10th of may. Will you update the image ?
thanks !

Everything should be updated

thanks ! <3


[Bug] Authorization header specification using @openapi.parameter is not included Swagger UI request

Describe the bug
Authorization header specification  using @openapi.parameter is not included Swagger UI request.
The UI shows the Input field, but the CURL example does not include the header and the request made does not include the header either.
Screenshots
The screenshots of Swagger UI if this bug is related to it.

To Reproduce
from sanic.response import text
from sanic_ext import Extend
from sanic_ext.extensions.openapi import openapi

app = Sanic("MyHelloWorldApp")
Extend(app)

@app.get("/")
@openapi.parameter("Authorization", str, "header", required=True)
async def hello_world(request):
    return text("Hello, world.")

if __name__ == "__main__":
    app.run(
        host="<IP_ADDRESS>",
        port=8002,
        auto_reload=True,
    )

Expected behavior
I expect receive

curl -X 'GET' \
  'http://localhost:8002/ \
  -H 'accept: application/json' \
  -H 'Authorization: token123'

Environment:

OS:  MacOS
Browser  chrome
Version  sanic==21.9.3, sanic-ext==21.9.3

Odd. I am curious to know if it is that we are generating invalid OAS, or is an issue with the client. Do you know that this works in other Swagger installations?

I don't think this is related, but there is an open PR re: that decorator: https://github.com/sanic-org/sanic-ext/pull/21

I found the problem and it is  specifically related with the Authorization header.
The thing is in this case, as mentioned here
"Note: Header parameters named Accept, Content-Type and Authorization are not allowed. To describe these headers, use the corresponding OpenAPI keywords"
So for the Authorization header i think the sanic-ext  needs to implement the specification described here.
So the ir no problem with the openapi.parameter  for others headers except  headers mentioned above.
In the case of Authorization, we need to generate something like this:
{"openapi": "3.0.0",
  "info": {
    "title": "API",
    "version": "1.0.0",
    "contact": {

    }
  },
  "components":
  { "securitySchemes":{
    "BearerAuth":{
      "type": "http",
      "scheme": "bearer"
    }
  }

  },

  "paths": {
    "/": {
      "get": {
        "operationId": "get_route_name",
        "summary": "Hello World",
        "security": [{"BearerAuth":[]}],
        "responses": {
          "default": {
            "description": "OK"
          }
        }
      }
    }
  },
  "tags": [

  ],
  "servers": [

  ]
}

Yup, that makes sense. That is a feature we need to add still: https://github.com/sanic-org/sanic-ext/blob/main/sanic_ext/extensions/openapi/openapi.py#L230
Hopefully we can squeeze this one into the upcoming release.

Thanks,  in the mean time if someone  get stuck with this and found this thread,  you could do  a ugly hack like this:

# You must  add  security schemas to the singleton Builder of the specification..

app = Sanic("app", log_config=define_logging_config(LOGGING_CONFIG))
....
# Modify Singleton builder to add security schemes, ex: add a bearerAuth schema for bearer tokens :
SpecificationBuilder().add_component(
    "securitySchemes", "BearerAuth", {"type": "http", "scheme": "bearer"}
...
Extend(app)

from sanic_ext import openapi

# This hack is to override default behavior of sanic_ext openapi allow **secured** decorator.
def secured(*args, **kwargs):
   #  raise NotImplementedError(
   #    "SecuritySchemas are not yet implemented in sanic-openapi 0.6.3, "
   #     "hopefully they should be ready for the next release."
   # )
    def inner(func):
        OperationStore()[func].secured(*args, **kwargs)
        return func

    return inner

openapi.secured = secured

# Finally annotate your secure route with:

@blueprint.route("/some_route", methods=["POST"])
@openapi.secured("BearerAuth")

Tested on sanic and sanic_ext  21.9.3

Working on this
https://github.com/sanic-org/sanic-ext/pull/32

Working on this
https://github.com/sanic-org/sanic-ext/pull/32

This is now released in v21.12.2 without @dacasals nice hack.

Documentation


Unable to switch from gauge to other chart types

Bug or Feature Request?
Bug, possibly due to misconfiguration (i.e. maybe I'm not rendering these charts properly?)
Description
I've set up this example where I try to allow the user to switch between chart types, but when I render a pie series and gauge series alternatively, it seems to crash and have this error: "Cannot read property 'acrossPanes' of undefined".
I'm not sure if I missed something, or this is just a bug.
How to reproduce
See demo.
It happens both ways (pie chart renders first then gauge, or gauge first then attempt to switch). You can modify the initial state in index.js to see other chart types rendered first, then gauge.
Live demo demonstrating bug
https://stackblitz.com/edit/stockchart-updatepoints-false-pwvint
Versions

React JSX Highcharts version: Latest
Highcharts version: Latest
React version: Latest

I need to do more digging, but I suspect this is because gauge options are set on "init", and when the chart is changed in this way, the chart is not reinitialised.
I think when changing from pie to gauge, the chart was never set with the angular flag.
Not sure on the problem when switching from gauge to pie, but I suspect it might be best to render 2 different charts in this use case.


Add Article structured data

Is your feature request related to a problem?
Developers can add structured data to their website to help Google Search understand the content, and also sometimes add a dedicated rendering in the search results. More information.
The Article structured data (Article, NewsArticle, BlogPosting) could be a nice addition to Starlight Blog.
Describe the solution you'd like
One could optionally provide the right information, the structured data type definitions, in the frontmatter for instance (for the information not already available).
If most, or all, information is already there, Starlight Blog could update the head automatically to add this structured data <script>.
Describe alternatives you've considered
I've implemented it in my own project. This is not the best implementation ever, but it gives clues about some potential solution "from outside": https://github.com/Open-reSource/openresource.dev/commit/5c42ffd65f22048d1bba22796a95d563418a9f46
Additional Context
No response

Thanks for the feedback :raised_hands:
I definitely think that could be a good improvement.

If most, or all, information is already there, Starlight Blog could update the head automatically to add this structured data <script>.

I'll need to read again the documentation but I'm leaning towards using the Microdata format instead of JSON-LD, maybe a bit easier to maintain.
Not sure when I'll have time to implement this but altho worth noting that astro-seo-schema can be a good alternative for users wanting this feature right now.


[WIP] Support using mmengine to train detectron2

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Please describe the motivation of this PR and the goal you want to achieve through this PR.
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repos?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
The documentation has been modified accordingly, like docstring or example tutorials.

d2 release faster-rcnn:
"bbox/AP": 37.931116259843556, "bbox/AP50": 58.83956400223075, "bbox/AP75": 41.05003436472164, "bbox/APl": 49.099591469327336, "bbox/APm": 41.140783153281504, "bbox/APs": 22.438183787843734,

mmdet version:
08/31 11:10:03 - mmengine - INFO - Iter(test) [2500/2500]  coco/bbox_mAP: 0.3800  coco/bbox_mAP_50: 0.5880  coco/bbox_mAP_75: 0.4100  coco/bbox_mAP_s: 0.2250  coco/bbox_mAP_m: 0.4120  coco/bbox_mAP_l: 0.4920

d2_example -> misc
d2_example/90k-mstrain_coco-detectron.py -> common/xxx

Model
d2 release
mmdet wrapper

Faster R-CNN
box AP: 37.9
box AP: 38.0

RetinaNet
box AP: 37.4
box AP: 37.4

Mask R-CNN
box AP: 38.6, mask AP: 35.2


DDPB-2801 Move into api directory for monorepo

succesful build:
https://jenkins.service.opg.digital/job/Digi-Deps/job/Build_Feature_Branch_03/2/console


fix: specify surefire-junit4 build dependency for offline tests

Towards https://github.com/googleapis/java-speech/issues/16

cc @sid-dinesh94

Note: I published a snapshot version from this branch (which will be overwritten with tonight's nightly snapshot build) and ran the tests in https://github.com/googleapis/java-speech/pull/19 to make sure this fixes the issue downstream.


Update Vue-only guidelines to use scaffold-alert

This PR updates the Vue-only guidelines (the "generic state components") to all use the scaffold-alert component. This doesn't touch any of the slideshows or guidelines with a Python component - I'll handle those in another PR soon.
I also rearranged these files to account for what stage they're in post-Stage 3 split. If I've put one in the wrong folder, let me know and I'll change it.
Note that this shouldn't depend on https://github.com/cosmicds/cosmicds/pull/186 - I made the changes there with an eye towards flexibility, but nothing here should actually need anything new from there.

I've changed all of the header-text prop assignments to be title-text instead since the changes in https://github.com/cosmicds/cosmicds/pull/188 will show the header if any text is present. This isn't actually a prop that scaffold-alert looked for, but I wanted to not show the headers while retaining our old titles in case we change our minds on using them. (It's one shell command to change these back to header-text).


Logged in user on demo website navigates straight to user home page

Acceptance criteria

[ ] if the user on the demo website is already logged in ( if ExternalUser.getUser() return a new ExternalUser() object ) then the user is sent to a user home page
[x] if they were logged in but the keys were not valid, then clear local storage (only of Tonomy storage objects)

we do not have the user home page implemented yet


Integrate Spark with Cloud Bigtable

Integrate Spark with Cloud Bigtable

Overall, can you make this into a single commit? It seems like a lot of the intermediate commits are WIP-type commits that don't necessarily add much context to the change.

I signed it!

@AngusDavis: Is there anything else that we need to do at this point for bigtable/spark integration?

I've added SPARK_CLASSPATH back in and removed spark.driver/executor.extraClasspath. Is there anything else we need to do?

Does that mean the Bigtable classpath won't work out-of-the-box anymore though? I think there might be a more correct solution here where we replace SPARK_CLASSPATH with a correct SPARK_DIST_CLASSPATH. I can possibly just merge it in while doing a manual merge of this pull request; in that case you should go ahead and keep the spark.driver/executor.extraClasspath settings in the bigtable setup.

What do you mean by "the Bigtable classpath won't work out-of-the-box anymore"?

I assumed you had added:
+    echo -e "spark.executor.extraClassPath ${HBASE_CLASSPATH//:/,}" >> "${SPARK_HOME}/conf/spark-defaults.conf"

and
+    echo -e "spark.driver.extraClassPath ${HBASE_CLASSPATH//:/,}" >> "${SPARK_HOME}/conf/spark-defaults.conf"

and removed the SPARK_CLASSPATH line because they were necessary for the bigtable connector to work, right?
Now that you've reverted these changes that you originally had, does it still work as you intended?

I merged https://github.com/GoogleCloudPlatform/bdutil/pull/41/files so now there's no SPARK_CLASSPATH setting, and the GCS connector gets picked up through SPARK_DIST_CLASSPATH. You should be able to go ahead and do whatever you need with adding HBASE_CLASSPATH to spark.driver.extraClassPath and spark.executor.extraClassPath now.

Thank you!

@AngusDavis is it okay if we have the configurations in spark-install/conf/core-site.xml? Spark would load them automatically for making connections so that users don't need to set extra xml configuration files.

I'd really rather not. My main objections:

spark-install/conf/core-site.xml is a symlink to hadoop-install/conf/core-site.xml. It appears that the logic will read all settings from hbase-site and populate them into core-site.xml. So the question is: If I as a user want to change a setting - where do I do it? core-site or hbase-site?
philosophically, each component has its own configuration files core-site for bootstrapping & cross-cutting concerns, mapred-site, yarn-site, hdfs-site, hbase-site, etc. These don't really seem like cross-cutting settings but instead spark specific settings.

Some questions:
if hbase-site.xml is on the classpath (via hbase classpath), what reads settings from that configuration file? Just HBaseConfiguration? If so, it seems that it should be adding hbase-site.xml as a default resource and settings shouldn't be required in core-site.xml.
Any chance you can track down what is reading the new settings insite spark-core-site-template? I can't find them used anywhere else or mentioned elsewhere. Have any links for where you found them?

We've found a workaround so that we don't need to merge the extra properties into core-site.xml. How does it look now?

Also, is it possible to move this line (https://github.com/taragu/bdutil/blob/a0859874ed39dc5ba950b88a5d39209c11d9d6ad/extensions/bigtable/install_hbase_bigtable.sh#L94) to install_spark? It's not specific to making Spark work with Cloud Bigtable.

PATH updates are handled in a persistent manner here: https://github.com/GoogleCloudPlatform/bdutil/blob/master/extensions/spark/install_spark.sh#L184
In the last commit - is the change to install_spark intentional? It seems to conflict with the change to use $(hadoop classpath) that was recently added.

Sounds good. Dennis and I both removed the same line. I'll undo my change.

Sounds good. We'll append the extra classpath and bootstrap classpath arguments to SPARK_SUBMIT_OPTS and put it in spark-install/conf/spark-env.sh.

@AngusDavis "It looks like bin/utils.sh goes away in Spark 1.4"
1.4's spark shell works without the change (https://github.com/taragu/bdutil/blob/bc88e05b797305e9f7ee01b2ca5e9c938fec4ba6/extensions/bigtable/install_hbase_bigtable.sh#L101). When we upgrade to Spark 1.4, we can remove this line.

@dennishuo: Any way we can limit the scope of SPARK_DIST_CLASSPATH to ensure that we don't have classpath issues due to the old versions of dependencies that hadoop has?

So, in either case Spark needs the actual Hadoop dependencies, as it interfaces at several different levels with the Hadoop, talking to YARN and HDFS, using the Input/OutputFormat classes, etc., so if there are class collisions between Spark and Hadoop the problem would come up at some point anyways even if we don't add to SPARK_DIST_CLASSPATH.
In the future we'll use the more Hadoop-free Spark versions such that SPARK_DIST_CLASSPATH is the only source of the Hadoop libs: http://spark.apache.org/docs/latest/hadoop-provided.html
This means at least the full Hadoop classpath inclusion will be necessary and intentional. In the case of HBase<->Hadoop incompatibilies, I also suspect that true incompatibilities will manifest with or without inclusion on SPARK_DIST_CLASSPATH, it just might reveal incompatabilities sooner rather than later now. The real solution is just ensuring that whatever HBase and Hadoop we install are mutually compatible. According to this table, it should be fine, we just overwrite the Hadoop jar in the HBase lib directory with the actual one we're running: http://hbase.apache.org/book.html#hadoop


Tatin Version 0.106.1 doesn't expose Tatin user commands anymore

After upgrading Tatin to the current version 0.106.1 I cannot use any Tatin user commands anymore. This issue can be reproduced as follows. First I reset my Tatin installation using ]Tools.Activate tatin -reset.
Then I start a new Dyalog APL 19.0 session and run the following:
      ]Tatin.Version
 Tatin  0.104.1+1761  2024-01-28

      ]Tatin.UpdateTatin

Your version of Tatin is 0.104.1
Latest published version is 0.106.1
Would you like to download and install 0.106.1 ? (Y/n) Y
Tatin successfully updated to version 0.106.1 in C:\Users\<⎕AN>\Documents\MyUCMDs\Tatin

As an aside UpdateTatin prints the wrong installation path. There is no folder "C:\Users<⎕AN>\Documents\MyUCMDs\Tatin" on my system, Tatin is installed under "C:\Users<⎕AN>\Documents\Dyalog APL-64 19.0 Unicode Files\SessionExtensions\CiderTatin\Tatin" and I can check that version 0.106.1 is correctly transferred there.
When starting a new Dyalog APL 19.0 session afterwards I see the following:
     ⎕SE.Tatin.Version
 Tatin  0.106.1+1802  2024-03-18

      ]Tatin -?
]tatin could be one of:

      ]CIDER.AddTatinDependencies
      ]CIDER.ListTatinDependencies

      ]Tatin.Version
* Invalid user command; to see a list of all user commands type
      ] -?

Now all Tatin user commands seem to be missing, they are usable again when resetting the Tatin version to 0.104.1.
I think this might be a side effect of the recent changes to Tatin.dyalog.

At the moment it's a mystery why that happens. There is nothing wrong with the changes made to Tatin.dyalog, which becomes evident when one executes
]ureset

because then all the Tatin user commands are available again, so this serves as a workaround.

Fixed in 0.106.2


Remove message handler on component unmount

Looks good, but wouldn't you rather submit this to the base repository over at https://github.com/alinz/react-native-webview-bridge ?

There are 7 PR in base repository and latest is dated 12 Apr. Looks like @alinz does not support it anymore. I need your changes in my current project.

@4031651 Okay, fair enough. Since strictly speaking I wrote this in my employers time (Athom) I've forked the repo over there. If you'll resubmit your pull request there I'll make sure it gets merged, and then people that are still interested in react-native-webview-bridge can use that as an updated based repo.

K, I'll do it till tomorrow evening.

@4031651 @goldenice sorry been busy! please check the repo and please submit the PR to base.
Thanks


Example showing how to use AsyncComputeTaskPool and Tasks

Also needs to be added to the examples README :)

Also needs to be added to the examples README :)

Added in dcea791

bors try

Could you run cargo fmt(or even better, cargo run -p ci)?

Could you run cargo fmt(or even better, cargo run -p ci)?

Done, passes now

bors try

bors try

bors r+


add openstreetmap geocoder for search

https://github.com/smeijer/L.GeoSearch/blob/master/src/js/l.geosearch.provider.openstreetmap.js

This should also support the gmaps option when using gmaps, right?

There has been no activity on this issue for several months and that's why are closing it (automatically). If you think this still needs to be addressed please reopen it. The good news is that we are now working on the next version of CARTO.js, stay tuned.