Test Istio's 1.20 ExternalName Changes

We should update our infra manifests for Istio to test the new ExternalName changes in 1.20.
This will become the default in a future Istio release.
Details here:
https://istio.io/latest/news/releases/1.20.x/announcing-1.20/upgrade-notes/#upcoming-externalname-support-changes

/remove-lifecycle stale

This was defaulted to on in Istio 1.21 - so we already shipped it


No vite plugin is used on worker imported with query suffixes on BUILD

Describe the bug
E.g.  use @rollup/plugin-replace to replace a string.
In dev mode it works, on build not.
View the reproduction for an example:
The builded worker.js file should not contain the string NOT_REPLACED.
These string should be replaced with the rollup plugin.
Reproduction
https://stackblitz.com/edit/vitejs-vite-uqxtgs?file=vite.config.ts,src%2Fworker.ts,src%2Fmain.ts,src%2Fconfig.ts,dist%2Fassets%2Fworker.5f50bd77.js%3AL1&terminal=dev
System Info
vite: 3.0.9
@rollup/plugin-replace: 4.0.0

Used Package Manager
npm
Logs
No response
Validations

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

Duplicate of #8520


ntr: normal establishment of actomyosin contractile ring localization

child of
FYPO:0006005 | normal actomyosin contractile ring localization
PMID:28784611
-- | --
I think  I missed this one

also "reduced plasma membrane phosphoinositol phosphate"

oh yeah, first one got buried in #3110; it's
normal establishment of actomyosin contractile ring localization FYPO:0006216
overlooked the one in the comment, so I'll stick it in tomorrow
edit file: a16a9a024893b3b63a7b4ebe0d51f1fc415fa21d
release: ff262e82c8f3b9d1f2af188e2d0fb6462ee50e65

q: does the "phosphoinositol phosphate" in the 2nd request correspond to
CHEBI:18087 myo-inositol polyphosphate?
http://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:18087

whoops
phosphatidylinositol phosphate
https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:28765
I thought I had seen it...


[BUG] - cc2652 in router mode may become fully unresponsive after few days

Hello,
This issue is linked to https://github.com/Koenkk/zigbee2mqtt/issues/10282 . I have many of these devices running in the network and as you mentioned in the above post it seems there may be a possible memory leak in the TI sdk. I have been now running multiple cc2652 routers with firmware built using simplelink_cc13xx_cc26xx_sdk_5_30_01_01 and do not seem to see the issue. Would it be possible to update the current firmware to be build with the newest SDK?

I may have been experiencing this issue, the device became unresponsive and I needed to powercycle it.
Now it has been running for a few days without issues, will see...

just to update, this issue is still happening and very consistently. Prior to the most recent update of the router firmware that @koenkk here this issue happened on both this firmware and his with a multiple different cc2652p devices. They would simply stop responding and not send any commands after a period of 1-3 days. I applied his beta firmware to half of my router devices about 15 days ago and the issue is fully resolved. The devices running the most recent release of this firmware are still experiencing the issue.

So, is it necessary to update Zstack SDK to the latest version?

So, is it necessary to update Zstack SDK to the latest version?

I imagine that is what solved it, here is the short list of things he changed across firmwares:

SimpleLink SDK <IP_ADDRESS> (changelog)
Increase memory heap
Increase transmit power of CC1352P/CC2652P from 5dBm to 9dBm
Support routing table command

Seems the SDK update is the most likely thing to have fixed it

Do you mind to share the resulting hex image? I have cc2652p with auto BSL (no programming switch). Thank you!

@wojciechczyz  if you are talking about the updated router only firmware put together by koenkk it is available in the dev branch on his repo here: https://github.com/Koenkk/Z-Stack-firmware/tree/develop/router/Z-Stack_3.x.0/bin there should be a list there of which file to use depending on the stick. My understanding is that auto BSL is a function of the physical board hardware + the flashing utility as I use the same file for my custom device with an autobsl circuit and without. Just to clarify that firmware does NOT have any functionality that @ptvoinfo 's firmware have and cannot be configured, it will only function as a zigbee router.

It happened again to me.
@ptvoinfo I have a couple of questions regarding this:
Would this watchdog option mitigate the hang condition if enabled ?

Is the latest 2022-02-16 version addressing this issue ?

@glcos
I have had ptvo-firmware-2022-02-16.zip running on 7 devices that previously had the issue for around 6-7 days now and no issue. I do not know what changes specifically were made but I think it was in the TI sdk.

@irakhlin thanks for the update, I will reflash my devices as soon as I can, and will let this thread know the results.

@irakhlin, Could you please try the latest version of the firmware? I've upgraded ZStack to v5.40.

Yes, I've fixed it in the latest version on the website.

@ptvoinfo I was able to test the ptvo-firmware-2022-02-26 firmware but it seems the LQI drops from ~170 (on the ptvo-firmware-2022-02-16) to ~70 on the new firmware. Have you lowered the RF power ? As far as the issue mentioned here I will say I have around 5 other devices running on ptvo-firmware-2022-02-16 that have no experienced the issue. I will continue to run devices with both firmware to see what happens.

@irakhlin Hi, I've uploaded the new firmware and reverted to SDK 5.10. High LQI returned. I've also back ported all bug fixes from SDK 5.40 to SDK 5.10. Maybe, it will solve the problem with unresponsive device. Could you please try?

does the firmware support routing table command? Seems that after flashing the latest router firmware on Smartlight SLZB-02 (ebyte c2562p) after 2-3 days some xiaomi end devices connected through the router are losing connection. Have to press the reset button a couple of times on device and it connects again.(no need to reset and repair)

@irakhlin Hi, I've uploaded the new firmware and reverted to SDK 5.10. High LQI returned. I've also back ported all bug fixes from SDK 5.40 to SDK 5.10. Maybe, it will solve the problem with unresponsive device. Could you please try?

@ptvoinfo I apologize I have been preoccupied with a few other things but I have some time this weekend. I will update half of my cc2652p devices with the latest version you have and see how it goes. I will keep you updated.

@ptvoinfo I am at 7 days and all (5 devices) are still up and running..... Ill check back again in a week but its looking pretty good.

@irakhlin Thank you for the information!

@ptvoinfo  Unfortunately I have some not great news since posting about 22 days ago. It seems at this point out of my 6 identical devices, 5 of them have been offline for 5 days, 1 however is still active and pining (the longest I have ever seen). One thing that is clearly evident right away is that all 5 of the devices that are no longer responding are within a very device dense area of my mesh and are obviously constantly used as relays where as the single device still going strong is on the far edge of my network and image is not relaying much.
Just some additional information about these devices as maybe it can help find any potential memory leaks:
Devices ping in at a 2 minute (120 second interval) and report the following:
cpu temperature
temperature and humidity from an sch35 sensor
simple gpio binary switch used to turn on/off a "locator" led on the board
All using rfstar cc2652p1 chips
I have noticed that since the last time I posted a new firmware has been released "ptvo-firmware-2022-04-07", I am more than happy to upgrade to this version, I am also thinking it may be a good idea to get rid of data values I do not actually care much about, for example CPU temperature.. and increase the poll period? Do you think this could have any affect.
Lastly @ptvoinfo  if you are interesting or if it would help I have no issues mailing you one or two of these boards, they have all debug pins exposed with headers so maybe you would get some benefit in debugging directly. Alternatively I know you have previously released debug firmware versions that allowed watching the device logs via serial to usb, I have a few versions of these boards with a serial to USB that may to the job. Let me know if there is any additional information I can provide.

@irakhlin The latest version resolved a problem with a watchdog timer. It may prevent routers from freeing.
I have some test boards. The main difficulty is the large testing cycle. It is not possible to find a precise place in code where this memory leak may occur.

@irakhlin I've changed the SDK version to 6.10 in the latest version. I may resolve this problem too.

The previous version I was running has definitely improved since first opening this issue as devices are online for 1-2 weeks vs 1-2 days. I will flash them to the most recent release tonight, if I run into any issues I will let you know.

@ptvoinfo a little off topic but as I was flashing the firmware for testing I noticed two options:
Transmit enable (TXEN)
Enable high PA
Do you have any details about it?

@irakhlin Please look here:
https://ptvo.info/zigbee-configurable-firmware-features/e72-2g4m20s1e-with-cc2652p/

@ptvoinfo I can report that since last firmware at 19 days ago all 5 devices flashed are still online and reporting without restart.


Sim.I.am MANUAL

Is it possible please to have the simulator manual ? . Thank you !

https://github.com/jdelacroix/simiam/blob/master/manual/manual.pdf


BaseLine 1.2 and Marten 1.2.5 causes typeloadexception when using AsyncProjections

When attempting to execute this piece of code
var daemon = docStore.BuildProjectionDaemon();
This blows up with a System.TypeLoadException with the current message.
Could not load type 'Baseline.TimeSpanExtensions' from assembly 'Baseline, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
I'm using Marten 1.2.5, Baseline 1.2 and Im running on .net 4.6.2. Downgrading Baseline to 1.1 solves this.

I'm bumping Marten to Baseline 1.2 now. The 1.3 nuget later today will have that change.


Zone.js issue with Promise "subclass"

Hi,
I am having an issue using Zone.js alongside a Promise "subclass" (I say "subclass" because I am not quite sure my method of subclassing is correct). Assume the following code is run in a browser after loading Zone.js.
Promise Subclass
First, my Promise subclass:
function MyPromise(init) {
  this._promise = new Promise(init);
}

MyPromise.prototype.catch = function _catch() {
  return this._promise.catch.apply(this._promise, arguments);
};

MyPromise.prototype.then = function then() {
  return this._promise.then.apply(this._promise, arguments);
};

Object.setPrototypeOf(MyPromise.prototype, Promise.prototype);

This is enough to get an instance of MyPromise passing an instanceof check for Promise.
Test Scenario
Promise.resolve().then(function() {
  return new MyPromise(function(resolve) {
    resolve(':-)');
  });
}).then(function(result) {
  console.log('Success', result);
}, function(error) {
  console.error('Failure', error);
});

Expected Result
Success :-)

Actual Result
Failure undefined

Analysis
After some digging, I think the check in resolvePromise should be more stringent. Since MyPromise inherits from Promise in the example above (which gets overwritten to ZoneAwarePromise), instances of MyPromise pass the ZoneAwarePromise instanceof check. However, instances of MyPromise do not define the __zone_symbol__state or __zone_symbol_value properties that are being checked for. The result is that resolvePromise is called again with the MyPromise instance, state undefined, and value undefined. Eventually, this leads to a call to scheduleResolveOrReject where the delegate gets set the onRejected handler.

@mhevery thanks for the merge! I will close this ticket now.


Update NOTICE.txt

(This is the automated NOTICE.txt update for April 2019)

Misc homepage and package description updates

cherry picked 89ba815e8b932e9ba86c5f592d5f83b642f28fe9 into release 1.18 branch


Fix typing loss when executing array functions on paged

if you do
const result = await model.find({ some criteria })
you get Paged
but if you then do
result.(some array function such as filter, map, etc)(someCriteria)
you get any because you lose the typing.
This MR fixes that

i am not sure why the tests failed. should have.

Thanks, Fantastic -- looks great. I'll apply now.
Same comments as on the other PR about more detailed PR descriptions so other folks can fully understand the PR and its scope.

Hey, just letting you know that this was not released in 1.8.1 but will be in 1.8.2. his was merged before the other PR so just want to make sure that you know that this is unreleased.

Thanks. Just released 1.8.2 now.


Apple remote buttons do not work with iOS 12.2 beta3

Hi,
The latest beta came with a redesigned Apple native remote (cf. screenshot).
The three buttons at the bottom do not work as expected (Play/Pause, Back and "i").

Thx for report, i have the same problem, i will check this

Back button seems to work back with iOS 12.2 beta 4 but not Play/pause and « i ».

Hello, im currently working on v3 with a rewritten code , i will check this in v3

Hello, im currently working on v3, the beta is now available!
How to download and configure:
https://github.com/SeydX/homebridge-bravia-tvos/issues/32


Fix license

When I added the license file in my last PR, I failed to notice that this repository is a fork. MIT licensed forks must keep the original license text in the fork. While you can re-license the fork and just keep the old license file around, not changing it would make the life of a distro packager (me :D) a lot more easier. I hope that is possible.

In https://github.com/postsolar/tree-sitter-purescript/issues/5 I expressed the idea of separating the licenses for the legacy Haskell code and new PureScript code so as to make the new code have a more permissive license and let future forkers not bother about any of this at least for the PS part. Absolutely not a hill to die on for me though, I'd mostly just want it to get resolved in whichever convenient way.


[AKS] Reverting changes on YAML formatting

Reverting from https://github.com/MicrosoftDocs/azure-docs-pr/pull/66534
Appears to have been an issue in Kubernetes used.

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions

@iainfoulds - can you submit this PR to the private repo instead?

@Jak-MS Yep, already done. Mistake in target repo, sorry.


⚠ Bofrost.be has degraded performance

In 0ba511a, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1673 ms

Resolved: Bofrost.be performance has improved in be103ef.


CoreDNS/SkyDNS provider

This PR adds support for CoreDNS through its etcd middleware.
Because the middleware is backward compatible with SkyDNS this
commit adds support for SkyDNS as well. In fact, new provider
is available under two names in CLI (coredns and skydns).
All interactions with middleware happen through etcd cluster,
whose location (URIs) is specified via --etcd CLI parameter
by default http://localhost:2379).
The provider translates CoreDNS/DkyDNS SRV records to
A/CNAME + optional TXT endpoints, when reading from etcd and
combines A/CNAME with TXT endpoints back into single SRV record
when writing it back.
Also:

adds github.com/coreos/etcd package to glide.yaml and vendor folder
because it is used by the provider
adds "interfaces" packages and moves Registry and Provider interfaces
declaration there. This is required in order to use registry in
provider unit tests. Otherwise there going to be circular imports
because provider UTests would import registry which imports providers
back.

Thanks for the contribution. Very interesting. We'll have a look.

replaced with #253. Sorry for inconvenience


issue with _site/index.html overriding  all changes

hey,
so correct me if im wrong, but it seems like you have some code in the _site/index.html file that is overriding all other code. changing this code is fine, but each time i push the website to amazon s3, jekyll rebuilds the _site folder and i lose all local changes that ive made. maybe i'm missing a way to change these things outside of the index.html file? the first thing is making the posts page link to posts.html rather than taylantatli.github.io/Halve/posts and the second thing is the background home image for block-left of the homepage. hardcoded into index.html is the a href making posts link to this url: taylantatli.github.io/Halve/posts. hardcoded into index.html is also the background homepage image linking to another image on your github site.
when i try to change these two things outside of _site folder, the changes dont apply because _site/index.html is overriding the changes. when i edit index.html then the changes only last for a short amount of time (enough time to push the website live). each time i restart terminal and sublimetext, jekyll has rebuilt index.html to its standard, problematic, overriding mode, which is quite frustrating.
any help would be appreciated.

First, the _site/ folder is where Jekyll builds the site at so it will get overridden everytime you rebuild the project. If you want to edit the content of what will become index.html you need to edit index.md, the rest of index.html comes from _layout/home.html which outlines the layout of the home page.
Second, all the option details are contained within _config.yml. So to prevent the post going to taylantatli.github.io/Halve/posts, change line 4 of the _config.yml which has by default...
url: http://taylantatli.github.io/Halve

And lines 9-12 of _config.yml contains where it links the left block images, just simple add the images you want to the images folder and change the paths.
# Left Block Images
background:
  homepage: images/home.png                           # this image will be shown on homepage's left block
  post-list: images/unsplash-image-10.jpg             # this image will be shown on post list page
  default-post: images/unsplash-gallery-image-3.jpg   # this image will be shown when post's front matter doesn't specify any image

Finally, for Jekyll all the things you need to change in _config.yml and the various folders such as _layouts/, _inlcudes/, _posts/, _data/, etc.
Hopefully, this helps you out!


replace asdf with brew

gets rid of asdf and uses brew to install base tooling

The changes in this PR don't seem to match the description. Can you clarify what you are trying to do here?


Basic data flows should be available through the UI

As a user, I would like to create a dataset by uploading a (json, csv, parquet,...) file from the UI
As a user, I would like to download a dataset or filtered query results from the UI.

Hi, What are the status of this issue and a similar issue #1888 ? I want to contribute to this issue. I want to add a feature where a user can upload/download datasets from different formats using the UI. During upload, the user can assign column names to annotation, prediction, labels, and text similar to what we do during logging the datasets and can provide a link to the dataset from hugging face also.

https://github.com/argilla-io/argilla/issues/2752

https://github.com/argilla-io/argilla/issues/2605

https://github.com/argilla-io/argilla/issues/2520

https://github.com/argilla-io/argilla/issues/1888


Support documenting overloaded methods

Is your feature request related to a problem? Please describe.
Using typing's overload decorator, its possible to overload methods in python. mkdocstrings currently doesn't honor the documentation provided to the all overloaded methods in the file.
Describe the solution you'd like
mkdocstrings should parse all the overloaded methods for the docstrings and document all of them, maybe with an overloaded tag.
Describe alternatives you've considered
NA
Additional context

Here is a sample code I used to generate documentation
from typing import overload, Tuple, Any

@overload
def process(response: None) -> None:
    """
    Return None from taking None
    Args:
        response: None

    Returns:
        None :)
    """
    ...

@overload
def process(response: int) -> Tuple[int, str]:
    """
    Return tuple from int
    Args:
        response: some integer

    Returns:

    """
    ...

@overload
def process(response: bytes) -> str:
    """
    Return String from bytes input
    Args:
        response: Bytes

    Returns:
        Some string
    """
    ...

def process(response) -> Any:
    """
    Generic description
    Args:
        response:

    Returns:
        Something
    """
    return response

The screenshot of the documentation produced by mkdocstrings right now (Only documents the non-overloaded method)

I havent glanced through the code of mkdocstrings/pytkdocs completely at the time of creating the issue as to where the changes would essentially be and would probably like do this in a few days.
Thank you!!

Hello @shashankrnr32, very sorry for the late reply :bow:
This issue is a typical limitation of pytkdocs' design: it loads (imports) code, and then introspect the objects in memory. Since at runtime (more like import time) the @overload-decorated method are overwritten by the actual implementation, only one member for this method appear in the class object. There is no way around that.
But! Fortunately, I'm working on a new tool to replace pytkdocs. This new tool will only parse the code instead of executing it, so the @overload decorator will definitely be supported :smile:

Thank you for the reply @pawamoy with an explanation about the limitations of pytkdocs. Great to know that there is a new initiative to replace pytkdocs with a better version.
Personally I wouldn't mind if you close the issue with an appropriate label.
Hope to see the new project soon!! 😄

Version 0.17.0 of Griffe now supports typing.overload :slightly_smiling_face:
This will allow us to improve the rendering of overloaded methods in the Python handler :smile:
I'd appreciate if interested users could post some HTML mock-ups: how do you want it to look?

I would be happy to see the overloads as just a list of function signatures stacked vertically.

Hi there, I've just looked at the experimental python handler and played with it.
After copying some templates, I got the following:

Maybe this is a good starting point? Anyway, this definitely needs polishing, so I will continue to work on it.

Currently I have some problems with design of the overall look.

How should overloads be presented? Where should they be placed?
A1. I think it's best to let user decide whether to "nest" them (just like class and children) or put them in an admonition block (not that sure). (That leads to the position problem described below.)
A2. Currently I like placing it under the function's name, before the implementation's signature.
That leads to the second problem:

How should overload look like when separate_signature is disabled?
Without separate_signature enabled, the signature (parameter list) will be integrated into the heading. That might be quite confusing (and probably ugly, since quite lots of overload implementations involves something like *args and **kwargs. Should we fall back to the separate_signature behavior, or the implementation signature is kept?

How to configure the presentation of implementation?
Maybe provide a separate configurable value and let users decide whether to show complete implementation signature, or only showing the implementation source (if show_source is on)? In that case, how should we deal with the docstring of the implementation?

I'm eager to hear from @pawamoy, as he's the project owner 🙂

I've already published my progress here: https://github.com/BlueGlassBlock/mkdocstrings-handler-python/tree/overload

Hey @BlueGlassBlock, thanks for your help, that's very nice! I did follow your progress, and will eventually form a proper answer, but for now I'm short on time and trying to finish other things :sweat_smile: Just wanted you to know :slightly_smiling_face:

Just came to request this feature.  Great to see that it's well underway!
I had taken some screenshots of my sphinx apidocs  to show, and perhaps they're still of use.
Here's how my function looks in sphinx, and I kinda like it:

I recognize that that's not table mode... and will of course be a need for that to document each signature, but if it's possible to support  annotated signatures one directly after the other, it's a nice concise way to look at it

No, the templates for overloaded functions are still not implemented.

Version <IP_ADDRESS>.5.0 of mkdocstrings-python Insiders now supports rendering function signature overloads automatically. It simply renders each signature stacked up vertically. It uses only the docstring of the implementation. If you would like to discuss improvements, please open a new issue!


Precache Hierarchy::numChildren() for performance

The CMS treeview makes heavy use of Hierachy::numChildren() and its caching feature should be extended to allow precaching in a similar manner to Versioned::prepopulate_versionnumber_cache.
There is a call to Hierarchy::numChildren() for every tree-item shown in the CMS. This accounts for the bulk of time calling treeview / getsubtree URL requests, at least in cases where https://github.com/silverstripe/silverstripe-versioned/pull/181 has been applied.
Approach

Replace the cache variable in Hierarchy::numChildren with a static cache by stage, class and ID, like Versioned
Introduce a prepopulate_versionnumber_cache method based on Versioned::prepopulate_versionnumber_cache
Use a query similar to "SELECT ParentID AS ID, COUNT(*) AS NumChildren FROM SiteTree WHERE ParentID != ID" to cache the number of children in bulk.
Incorporate the exclusion filters of Hierarchy::stageChildren() into this query

augmentStageChildren deprecation
It would be difficult to make this work with augmentStageChildren. I can't see many places where augmentStageChildren is used (it's not used in any of the supported modules, as far as I can see), and my recommendation is that we deprecate it in order to implement this performance features.

Detect if augmentStageChildren is used, If so, throw a warning that this disables the performance optimisation
Suppress the bulk prefetching of numChildren in this case

CMS update
Once this change has been made, CMSMain::SiteTreeAsUL can make calls to Hierarchy::prepopulate_numchildren_cache

I'd be keen to get @tractorcow's thoughts on this.

Note that this might best be refactored as part of #8391.

I believe that we can close this one now, @maxime-rainville @ScopeyNZ?

I'll leave @maxime-rainville to confirm but I'm happy to close it.

Yes ... we're all done here.


Select document based on condition on its field whose type is lists of EMBEDDED

The documents can be created with these commands
INSERT INTO SalesOrder CONTENT {name:"salesorder1",lists:[{"name":"bag","price":2},{"name":"computer","price":8}]}
INSERT INTO SalesOrder CONTENT {name:"salesorder2",lists:[{"name":"shirt","price":20},{"name":"laptop","price":17}]}

What if I want to select sales orders whose lists contain an item with name = "laptop" ?
I tried to do
SELECT * FROM SalesOrder WHERE lists["name"] = "laptop"

and
SELECT * FROM SalesOrder WHERE lists[name] = "laptop"

and
SELECT * FROM SalesOrder WHERE lists[name = "laptop"]

and
SELECT * FROM SalesOrder WHERE lists["name'" = "laptop"]

and
SELECT * FROM SalesOrder WHERE lists.name = "laptop"

nothing works.
I know that
SELECT * FROM SalesOrder WHERE lists[1]['name'] = "laptop"

works, however, that does not satisfy the requirement where I should be able to select document that contains an item in its list without knowing the position of the item in the array.
Am I doing it wrong or is this a missing feature?

Hi @yudho
you have to have to use CONTAINS operator, because your "lists" are lists ;-)
eg.
SELECT * FROM SalesOrder WHERE lists["name"] contains "laptop"

BTW, this is not the best place to ask for questions, please use StackOverflow with tag orient-db instead
http://stackoverflow.com/questions/tagged/orient-db


add accordion to docs

Summary
This adds an accordion ("toggle") section to the docs that can be used like:

.. container:: toggle

    .. container:: header

       **An accordion with text**

    Hello Qiskit

Details and comments

@nonhermitian This looks nice, could you add a PR to the other elements too?


Add a GH action for the ui

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1504
Special notes for your reviewer:
I've made the following assumptions in this PR:

The app is named models-web-app, since the InferenceService objects are model servers
It's using the kfserving/models-web-app image name
I've used the yaml from alibiexplainer-docker-publish.yml and slightly modified for this action

I don't have any hard preference for the name so if you'd like to use a different name feel then please let me know and I'll change it accordingly.
/cc @yuzisun @animeshsingh

/lgtm
/approve


env.render() returns None

Hi,
I am trying to render image during rollout of my SAC policy on door-lock task using command:  frame = env.render(mode='rgb_array')
And frame turns out to be None rather than image.
How do I get the rendered image? Do I need to add any other additional arguments in this command:  frame = env.render(mode='rgb_array') ?

Hi sorry, our documentation needs to be updated. Follow the examples here: https://metaworld.farama.org/rendering/rendering/
You just need to set a render mode upon creation of the environment and then call
frame = env.render(mode='rgb_array')

Render mode should be set during environment initialization. Check the documentation for examples

Thanks , its working now


Handwriting recognition link out of date (git.io is no longer available)

For the handwriting recognition tutorial it seems that the dataset link (https://git.io/J0fjL) is no longer available since git.io shut down. @sayakpaul @AakashKumarNain would you be able to update the dataset instructions with a new link or happen to have the original file redirect available? Otherwise we could update instructions to reflect an alternative way of getting the data.
Thank you for the contribution!

Thank you for pointing it out @grasskin I will take a look into it tonight

@sayakpaul ^

It looks like user needs to login to download the data, here is the link to it https://fki.tic.heia-fr.ch/databases/download-the-iam-handwriting-database

@grasskin @sachinprasadhs here is the new link: https://github.com/sayakpaul/Handwriting-Recognizer-in-Keras/releases/download/v1.0.0/IAM_Words.zip
I can send a PR during the weekend but if you want to update it, I am okay with that as well

Thanks for the link, I have created the PR.

Thank you


candle.start time drifts

I'm submitting a ...
[x] bug report
[ ] question about the decisions made in the repository
Action taken (what you did)
started live-Gekko from CLI with candlesize=60 at 02:00 PM with data from kraken (EUR/XBT).
I changed candle.stitcher with rkingy's code to start the livetrader in time:
https://github.com/askmike/gekko/issues/2219#issuecomment-424249361
Expected result (what you hoped would happen)
candle.start at 02:00 PM, 03:00 PM, 04:00 PM, ... (every 60 minutes)
Actual result (unexpected outcome)
candle.start drifts slowly like 02:00 PM, 03:01 PM, 04:01 PM, 05:02 PM, ...
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)
First: thank you askmike and contributors! Gekko is great!
My problem:
The drift in live trading makes big differences to my backtesting . A delay of some minutes is no problem. But with the minutes summing up, my strategy loses in profit.
At the moment I am regularly looking for the delay and restart gekko to get my candles in time. This is working fine but not the real purpose of using a bot...
I am using my own strategy with Gekko v0.6.7 with CLI.
I changed candle.stitcher with rkingy's code to start the livetrader in time:
https://github.com/askmike/gekko/issues/2219#issuecomment-424249361
While getting candle data from kraken i get in average about 5 times per hour this message:
2018-12-14T15:12:36.841Z 'Response code 520 (undefined)'
I think this causes the problem...
Is there a way to fix this or to get candles in time again?
Thank you for your comments / explanations!

This issue is still happening, I'm looking for a solution. Did you find one?

No, I did not find a solution, but actually the problem dissappeared for me, althought i did not change the setting. I don't know why...
But be careful: if your trading results change massively with some minutes of time shift while backtesting, your strategy ist probably overfitted an may give very bad results in live trading!

I use linux at command to sync the gekko candle start with the exchange candle start time.
echo "docker-compose up | at 16:00"
Now it will start my gekko bot at exaftly 16:00 server time.


Spatial audio is glitchy

fn main() {
    let (_stream, handle) = rodio::OutputStream::try_default().unwrap();
    let sink =
        rodio::SpatialSink::try_new(&handle, [-2.0, 0.0, 0.0], [1.0, 0.0, 0.0], [-1.0, 0.0, 0.0])
            .unwrap();

    let file = std::fs::File::open("beep.wav").unwrap();

    let source = rodio::Decoder::new(file).unwrap();
    sink.append(source);

    sink.sleep_until_end();
}

using this code (use any beep.wav file), nearing the end of the audio, it will start to play the sound in the other ear before switching back.

Testing this code with a very short sound (less than half a second) over and over, this glitchiness is even more apparent. And when run in quick succession, the sound will occasionally swap sides for its duration.

It is a very serious bug that rodio developers doesn't seam to fix. I also wrote an issue on this.

upd. This issue is almost 1 year old! Dear developers. What are you doing for 1 year? Rodio is the most popular crate but has ridiculous bugs.

@denizsincar29 bumping old threads every now and then is fine-ish, but the way you expressed your frustration is absolutely not. Software often has bugs for way longer than one year. This is a project ran by volunteers, and we are not here to read such comments.

yep sorry. I didn't find a crate that would play 3d sound as easy as rodio, and I'm trying to make an audio game for blind people- (i'm also blind). audio games are based on 3d sound and I want to be concentrated on the game logic, not on the millions of lines of code with e.g. hrtf library. Rodio's spatial sink is perfect for that one, because it's easy to use. but buggy.
I know that i was a bit rood maybe...

Hello! I updated rodio to the latest version but this bug doesn't seam to be fixed. Is there a way to workarround?


Improve the Home Page of the GirlScript Chennai Website

see the official girlscript foundation for reference
We need to have the following sections:

Home(The main landing page..summarizing what GirlScript is and its goals)
Announcements Page
Team Page
Contact Us Page
Achievement Page
Blog Page

Improve the design of the current one
Please do some research on GirlScript itself and put in the content instead of Lorem Ipsum
At the footer,try to embed a location(using the google maps one)

@smaranjitghose  I'd like to work on this

For references:
https://srmkzilla.net/
http://dscmanipal.club/

I would like to work on this issue

@smaranjitghose I commented first,still the other person was assigned it !!! How come ?

@mySTRiouscoder This is not a First Come First Serve thing. We have to make sure everyone is given an opportunity and all the participants are able to contribute to a same base level...Hence if someone's not assigned anything previously might be given preference..If you wish to contribute on the the same just give a PR and say how you improved..it would surely be considered

Oh ,Okay !!!  My bad , Sorry for the trouble @smaranjitghose

Can I work on this?

@smaranjitghose now, do @mySTRiouscoder and me have to work together for this?

Yes, i would suggest a collaborative effort since based upon the main page the others will fall in place..or atleast while one of you gives a PR for some X make sure the other gives for Y..knowing that X is done

@smaranjitghose I would like to work on this issue.


Production Server Problems

Hello sir,
We develop a project using s-cart, in the localhost system runs normally. But in the production server, it does not work well, such as when click switch language, it refreshes the page but not change language but when I click a link inside the page, new page displays, and change language. The same thing in add to cart button too, it says product added but in cart no any product, refresh page product display in the cart,
Weird thing is that, when a user add a product in his cart, another user can see their product in his cart.
I guess it's about caching or session problem but could not find the solution.

I am trying to find out what your problem is.  Our demo is still working well.  Any additional information to find the cause is welcome.

You can see below link what i told you, if you try to add a product to cart, you will see what I told,
http://hitame.com.tr/public/product/pelesenk.html

OR change language or currency you will see,

When you click add to cart, it adds but display in cart takes time, really weird. In local server it is runnig normal.

I agree with you that you are having trouble processing session on your website.
But it seems to be a delay when retrieving the latest session value to use. Sometimes it returns the latest value immediately.
But that is not enough for us to find the exact cause of the problem.

I can share what you want with you. Really weird because ther run in local server,

I thing problem is a limit of file session, but could not find the solution.

I changed the server, working normal now,


SBT 1.3.9 "your proxy requires authentication"

steps
(running on windows 10)

Installed java (java version "1.8.0_241")
Installed sbt msi latest version (1.3.9)
Created a new project folder, and inside that folder i tried to create a new project with "sbt" command, and
it gives the following error:

problem
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml
:: loading settings :: url = jar:file:/C:/Program%20Files%20(x86)/sbt/bin/sbt-launch.jar!/org/apache/ivy/core/settings/ivysettings.xml

:: problems summary ::
:::: WARNINGS
        Your proxy requires authentication.

        Your proxy requires authentication.

        Your proxy requires authentication.

        Your proxy requires authentication.

        Your proxy requires authentication.

        Your proxy requires authentication.

                module not found: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2

        ==== local: tried

          C:\Users\lumapas.ml\.ivy2\local\com.eed3si9n\sjson-new-scalajson_2.12\0.8.2\ivys\ivy.xml

          -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar:

          C:\Users\lumapas.ml\.ivy2\local\com.eed3si9n\sjson-new-scalajson_2.12\0.8.2\jars\sjson-new-scalajson_2.12.jar

        ==== local-preloaded-ivy: tried

          file:/C:/Users/lumapas.ml/.sbt/preloaded/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml

        ==== local-preloaded: tried

          file:/C:/Users/lumapas.ml/.sbt/preloaded/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom

          -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar:

          file:/C:/Users/lumapas.ml/.sbt/preloaded/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar

        ==== Maven Central: tried

          https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom

          -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar:

          https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar

        ==== sbt-maven-releases: tried

          https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom

          -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar:

          https://repo.scala-sbt.org/scalasbt/maven-releases/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar

        ==== sbt-maven-snapshots: tried

          https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom

          -- artifact com.eed3si9n#sjson-new-scalajson_2.12;0.8.2!sjson-new-scalajson_2.12.jar:

          https://repo.scala-sbt.org/scalasbt/maven-snapshots/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar

        ==== typesafe-ivy-releases: tried

          https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml

        ==== sbt-ivy-snapshots: tried

          https://repo.scala-sbt.org/scalasbt/ivy-snapshots/com.eed3si9n/sjson-new-scalajson_2.12/0.8.2/ivys/ivy.xml

                ::::::::::::::::::::::::::::::::::::::::::::::

                ::          UNRESOLVED DEPENDENCIES         ::

                ::::::::::::::::::::::::::::::::::::::::::::::

                :: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2: not found

                ::::::::::::::::::::::::::::::::::::::::::::::

:::: ERRORS
        Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.pom

        Server access Error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target url=https://repo1.maven.org/maven2/com/eed3si9n/sjson-new-scalajson_2.12/0.8.2/sjson-new-scalajson_2.12-0.8.2.jar

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
[error] [launcher] unresolved dependency: com.eed3si9n#sjson-new-scalajson_2.12;0.8.2: not found
[error] [launcher] error during sbt launcher: error retrieving required libraries
  (see C:\Users\lumapas.ml\.sbt\boot\update.log for complete log)
[error] [launcher] could not retrieve sbt 1.3.9

expectation
It should have downloaded all the necessary files and directories
notes

important:  Im running through this application under my company's proxy network
My project directory has no files yet as i'm trying to build a Scala application from scratch.

What i already did but did not work

I already added these properties on both sbtconfig and sbtopts files(C:\Program Files (x86)\sbt\conf). (asterisks because of security reasons)

-Dsbt.gigahorse=false
-Dhttp.proxyHost=*****
-Dhttp.proxyPort=3128
-Dhttp.proxyUser=*****
-Dhttp.proxyPassword=*****
-Dhttp.proxySet=true
-Dhttps.proxyHost=****
-Dhttps.proxyPort=3128
-Dhttps.proxyUser=******
-Dhttps.proxyPassword=*****
-Dhttps.proxySet=true

also tried setting both of these in environment variables, but not simultaneously
JAVA_OPTS= "-Dhttp.proxyHost=*** -Dhttp.proxyPort=3128 -Dhttp.proxyUser=***** -Dhttp.proxyPassword=*****"

SBT_OPTS="-Dhttp.proxyHost=*** -Dhttp.proxyPort=3128 -Dhttp.proxyUser=***** -Dhttp.proxyPassword=*****"

@louiselumapas Thanks for the report. sbt version is determined by the content of project/build.properties file. Does your project have project/build.properties? Does it specify 1.3.9?

The project has no build.properties file. Like i stated, im starting off on a new project  and currently has no existing files.

I am guessing that this is leaking from older Contraband used on IO.
https://github.com/sbt/contraband/blob/v0.4.1/plugin/src/main/scala/ContrabandPlugin.scala#L106
I'll bump up the Contraband version and see if that fixes it.

Bumping Contraband didn't work. It looks like this is a problem with using Coursier-built preloaded local from Ivy.

We are trying to get SBT to work behind a Basic User Auth proxy and still having no luck. We are pulling the following container so it is up to date.
https://hub.docker.com/layers/hseeberger/scala-sbt/8u282_1.5.3_2.12.13/images/sha256-3507766194bebe3b725c1e90f13bc833db1cf16967fce4bec1a1cc98c2bd2c82?context=explore
We are exporting JAVA_OPTS with our tried and true -D proxy settings. We got coursier HTTP 407 errors so we tried to use Ivy as shown and that doesn't work either.
I still have problems with Metals - I don't think that coursier, maybe the launcher can use JAVA_OPTS properly - it seem to find the first URL but then if it is redirected, the proxy info is not passed on the second URL. This is closed but not fixed 100% - https://github.com/coursier/coursier/issues/930
Shown here as well - https://github.com/scalameta/metals/issues/2485
+ sbt -Dsbt.coursier=false -Dsbt.ci=true -Djavax.net.ssl.trustStore=./cacerts-maven compile
[info] [launcher] getting org.scala-sbt sbt 1.4.9  (this may take some time)...
[info] [launcher] getting Scala 2.12.12 (for sbt)...
[info] welcome to sbt 1.4.9 (Oracle Corporation Java 1.8.0_282)
[info] loading settings for project prairie_spark-hive-insert_master-build from plugins.sbt ...
[info] loading project definition from /home/jenkins/agent/workspace/prairie_spark-hive-insert_master/project
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] 	module not found: com.eed3si9n#sbt-assembly;0.15.0
[warn] ==== public: tried
[warn]   https://repo1.maven.org/maven2/com/eed3si9n/sbt-assembly_2.12_1.0/0.15.0/sbt-assembly-0.15.0.pom
[warn] ==== sbt-plugin-releases: tried
[warn]   https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/com.eed3si9n/sbt-assembly/scala_2.12/sbt_1.0/0.15.0/ivys/ivy.xml
[warn] ==== typesafe-alt-ivy-releases: tried
[warn]   https://repo.typesafe.com/typesafe/ivy-releases/com.eed3si9n/sbt-assembly/scala_2.12/sbt_1.0/0.15.0/ivys/ivy.xml
[warn] ==== local: tried
[warn]   /root/.ivy2/local/com.eed3si9n/sbt-assembly/scala_2.12/sbt_1.0/0.15.0/ivys/ivy.xml
[warn] ==== local-preloaded-ivy: tried
[warn]   /root/.sbt/preloaded/com.eed3si9n/sbt-assembly/0.15.0/ivys/ivy.xml
[warn] ==== local-preloaded: tried
[warn]   file:////root/.sbt/preloaded/com/eed3si9n/sbt-assembly_2.12_1.0/0.15.0/sbt-assembly-0.15.0.pom
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] Your proxy requires authentication.
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::          UNRESOLVED DEPENDENCIES         ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.eed3si9n#sbt-assembly;0.15.0: not found
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] 	Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn] 		com.eed3si9n:sbt-assembly:0.15.0 (scalaVersion=2.12, sbtVersion=1.0)
[warn]
[warn] 	Note: Unresolved dependencies path:
[warn] 		com.eed3si9n:sbt-assembly:0.15.0 (scalaVersion=2.12, sbtVersion=1.0) (/home/jenkins/agent/workspace/prairie_spark-hive-insert_master/project/plugins.sbt#L1-2)
[warn] 		  +- default:prairie_spark-hive-insert_master-build:0.1.0-SNAPSHOT (scalaVersion=2.12, sbtVersion=1.0)
[error] sbt.librarymanagement.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.15.0: not found
[error] 	at sbt.internal.librarymanagement.IvyActions$.resolveAndRetrieve(IvyActions.scala:335)
[error] 	at sbt.internal.librarymanagement.IvyActions$.$anonfun$updateEither$1(IvyActions.scala:211)
[error] 	at sbt.internal.librarymanagement.IvySbt$Module.$anonfun$withModule$1(Ivy.scala:251)
[error] 	at sbt.internal.librarymanagement.IvySbt.$anonfun$withIvy$1(Ivy.scala:215)
[error] 	at sbt.internal.librarymanagement.IvySbt.sbt$internal$librarymanagement$IvySbt$$action$1(Ivy.scala:77)
[error] 	at sbt.internal.librarymanagement.IvySbt$$anon$1.call(Ivy.scala:87)
[error] 	at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:113)
[error] 	at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:91)
[error] 	at xsbt.boot.Locks$GlobalLock.$anonfun$withFileLock$1(Locks.scala:119)
[error] 	at xsbt.boot.Using$.withResource(Using.scala:12)
[error] 	at xsbt.boot.Using$.apply(Using.scala:9)
[error] 	at xsbt.boot.Locks$GlobalLock.withFileLock(Locks.scala:119)
[error] 	at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:71)
[error] 	at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:59)
[error] 	at xsbt.boot.Locks$.apply0(Locks.scala:47)
[error] 	at xsbt.boot.Locks$.apply(Locks.scala:36)
[error] 	at sbt.internal.librarymanagement.IvySbt.withDefaultLogger(Ivy.scala:87)
[error] 	at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:209)
[error] 	at sbt.internal.librarymanagement.IvySbt.withIvy(Ivy.scala:206)
[error] 	at sbt.internal.librarymanagement.IvySbt$Module.withModule(Ivy.scala:250)
[error] 	at sbt.internal.librarymanagement.IvyActions$.updateEither(IvyActions.scala:196)
[error] 	at sbt.librarymanagement.ivy.IvyDependencyResolution.update(IvyDependencyResolution.scala:23)
[error] 	at sbt.librarymanagement.DependencyResolution.update(DependencyResolution.scala:60)
[error] 	at sbt.internal.LibraryManagement$.resolve$1(LibraryManagement.scala:53)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$12(LibraryManagement.scala:103)
[error] 	at sbt.util.Tracked$.$anonfun$lastOutput$1(Tracked.scala:73)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$20(LibraryManagement.scala:116)
[error] 	at scala.util.control.Exception$Catch.apply(Exception.scala:228)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11(LibraryManagement.scala:116)
[error] 	at sbt.internal.LibraryManagement$.$anonfun$cachedUpdate$11$adapted(LibraryManagement.scala:97)
[error] 	at sbt.util.Tracked$.$anonfun$inputChangedW$1(Tracked.scala:219)
[error] 	at sbt.internal.LibraryManagement$.cachedUpdate(LibraryManagement.scala:130)
[error] 	at sbt.Classpaths$.$anonfun$updateTask0$5(Defaults.scala:3525)
[error] 	at scala.Function1.$anonfun$compose$1(Function1.scala:49)
[error] 	at sbt.internal.util.$tilde$greater.$anonfun$$u2219$1(TypeFunctions.scala:62)
[error] 	at sbt.std.Transform$$anon$4.work(Transform.scala:68)
[error] 	at sbt.Execute.$anonfun$submit$2(Execute.scala:282)
[error] 	at sbt.internal.util.ErrorHandling$.wideConvert(ErrorHandling.scala:23)
[error] 	at sbt.Execute.work(Execute.scala:291)
[error] 	at sbt.Execute.$anonfun$submit$1(Execute.scala:282)
[error] 	at sbt.ConcurrentRestrictions$$anon$4.$anonfun$submitValid$1(ConcurrentRestrictions.scala:265)
[error] 	at sbt.CompletionService$$anon$2.call(CompletionService.scala:64)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[error] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[error] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[error] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[error] 	at java.lang.Thread.run(Thread.java:748)
[error] (update) sbt.librarymanagement.ResolveException: unresolved dependency: com.eed3si9n#sbt-assembly;0.15.0: not found
[warn] Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? (default: r)

I can tell you definitely that even if a direct call by coursier will work with a basic auth proxy, but if that call results in a redirect, the redirect fails. The header containing the basic auth needs to be passed on all redirects and forwards.
See https://github.com/coursier/coursier/issues/930
At the time I reported this where the redirect fails.

You can try in a browser too.
If you go to https://repo.scala-sbt.org/scalasbt
it should redirect to https://dl.bintray.com/sbt/

So basically, things like Metals/Bloop won't install on a corporate network using basic auth because of this redirect problem.
Therefore it is astronomically harder to get Scala in the door for any corporation with this issue. If someone knows how to work on coursier, it is probably an easy fix.

This was the log the last time I tested.
metals.txt

Is there a solution here? I am experiencing this issue, too. I’m not sure how to proceed or work around this, unfortunately.

The only workaround I know is that if you can use your computer off the corporate network, then you can get it working and then it should work until there is a new Metals update.
If you don't have that option, you may be able to use the Ivy dependency manager which works but there is talk of that being removed in sbt 2.0. I honestly don't think that will work for Metals but may work if you have problems in your build. Temporarily add the following to your sbt file.
ThisBuild / useCoursier := false


Fix some issues with the IO modal preserving state when it shouldn't be

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

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


Working demo

Is there a working demo of this control that I could download or a Zip file with a demo in it or a CodePen or Plunkr?
I tried looking through the demo code, but cannot get it to work on my machine.
I am able to see the control, and the selected items, but I can't get the drop down to appear.

You can use the zip file of the latest release found on this url. Unzip it and run npm install and then npm start. It works fine.


Create Azure blockchain workbench contract instance from Node.js using the api

I'm not being able to create a new contract instance from a Node.js simple api test.
Here is my code, and the response:
main = async() => {
  try {
    const token = await acquireTokenWithClientCredentials(RESOURCE, CLIENT_APP_Id, CLIENT_SECRET, AUTHORITY);

    const request = {
      url: `${WORKBENCH_API_URL}/api/v1/contracts?workflowId=1&contractCodeId=1&connectionId=1`,
      method: "POST",
      headers: { 'Content-Type': 'application/json;charset=utf-8;', 'Authorization': `Bearer ${token.access_token}` },
      body: {
        workflowActionInput: {
          workflowFunctionID: 1,
          workflowActionParameters: [{
              name: "Description",
              value: "Quiero verder un auto",
              workflowFunctionParameterId: 2
            },
            {
              name: "AskingPrice",
              value: "2500000",
              workflowFunctionParameterId: 3
            }
          ]
        }
      }
    }

    let res = await Swagger.http(request);

    console.log(res);
  }
  catch (err) {
    console.error(err);
  }
}

main();

And the log:
{ Error: Bad Request
    at Function.<anonymous> (/home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/swagger-client/dist/index.js:1:8679)
    at tryCatch (/home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/regenerator-runtime/runtime.js:62:40)
    at Generator.invoke [as _invoke] (/home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/regenerator-runtime/runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (/home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/regenerator-runtime/runtime.js:114:21)
    at step (/home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30)
    at /home/ubuntu/workspace/Example/blockchain/blockchain-workbench/auth-samples/nodejs/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13
    at processTicksAndRejections (internal/process/next_tick.js:81:5)
  status: 400,
  statusCode: 400,
  response:
   { ok: false,
     url:
      'https://scompblockchain1-6jii2u-api.azurewebsites.net/api/v1/contracts?workflowId=1&contractCodeId=1&connectionId=1',
     status: 400,
     statusText: 'Bad Request',
     headers:
      { 'transfer-encoding': 'chunked',
        'content-type': 'application/json; charset=utf-8',
        server: 'Kestrel',
        'request-context': 'appId=cid-v1:db0d0b41-4c65-4302-8151-77d69bdb0b7b',
        'x-correlation-id': '3127abce-2330-429b-aafe-a7e6e7273a53',
        'set-cookie':
         'ARRAffinity=57e591747cde1209152d99cdbdb64ff3aaf6a1963b12c10e97bbe6fa5a4a72d6;Path=/;HttpOnly;Domain=scompblockchain1-6jii2u-api.azurewebsites.net',
        date: 'Mon, 18 Feb 2019 04:02:53 GMT',
        connection: 'close' },
     text: '"Must provide a valid workflow action input"',
     data: '"Must provide a valid workflow action input"',
     body: 'Must provide a valid workflow action input',
     obj: 'Must provide a valid workflow action input' } }

I've tried with every variant: taking out the workflowActionInput definition from the body, enclosing the variable names in doble quotes and quotes, but none of thes have worked. The main fact is that i've imported the collection found in: https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench/rest-api-samples/postman, and be able to create a new contract instance. The body of the post request from postman to {apiUrl}/api/v1/contracts?workflowId=1&contractCodeId=1&connectionId=1 as the collection automatically input's is:
{
  "workflowFunctionID": 1,
  "workflowActionParameters": [
    {
      "name": "Description",
      "value": "Probando y wea",
      "workflowFunctionParameterId": 2
    },
    {
    	"name": "AskingPrice",
    	"value": "25000",
    	"workflowFunctionParameterId": 3
    }
  ]
}

Can you please add a node.js sample or at least an example of a contract instance creation to: https://github.com/Azure-Samples/blockchain/tree/master/blockchain-workbench/rest-api-samples or https://docs.microsoft.com/en-us/rest/api/azure-blockchain-workbench/.

UPDATE: Apparently the transaction couldn't complete. Looking in the application insights error log it complaints about this:
Expecting 2 input parameters but found 1.
How is this possible? I think there are two main options, either the documentation is wrong or the api constructed for the blockchain workbenchs is broken...

Hello @yieniggu , thank you for your feedback! As this is not related with a specific doc on docs.microsoft.com may I kindly ask you to open an issue on the respective github repo from the sample you are testing? https://github.com/Azure-Samples/blockchain/issues
If this is the related issue let us know: https://github.com/Azure-Samples/blockchain/issues/146
Thank you!

Indeed that's the related issue, but as you can see it seems that the repo is dead and no one is giving suppport for the problems...

@yieniggu thank you for your feedback once more. @brendalee will follow-up with you here Azure-Samples/blockchain#146 .
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Kernel modules broken?

Seems like loading kernel modules is broken, test feature and fix it if not working: https://github.com/rancher/elemental-toolkit/issues/1733

Obsolete after #98


Update solr-solrj, solr-test-framework to 9.4.0

About this PR
📦 Updates

org.apache.solr:solr-solrj
org.apache.solr:solr-test-framework

from 9.2.1 to 9.4.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.apache.solr" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.apache.solr" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #172.


Errors with Installation

Hi,
I have successfully installed the following:
virtualenv e2e_awni
source e2e_awni/bin/activate
cd speech
pip install -r requirements.txt
As the next step, should I install pytorch while virtualenv is activated or not?
The following errors occur If I install pytorch when virtualenv is activated:
(e2e_awni)kevin@DEVBOX2:~$ pip install http://download.pytorch.org/whl/cu80/torch-0.4.1-cp27-cp27mu-linux_x86_64.whl
torch-0.4.1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.
Storing debug log for failure in /home/zhme/.pip/pip.log
(e2e_awni)kevin@DEVBOX2:~$ pip install http://download.pytorch.org/whl/cu80/torch-0.4.1-cp27-cp27m-linux_x86_64.whl
torch-0.4.1-cp27-cp27m-linux_x86_64.whl is not a supported wheel on this platform.
Storing debug log for failure in /home/zhme/.pip/pip.log
I can successfully install pytorch when virtualenv is deactivated. But the following errors occur when I run pytest under speech/tests after "make".
(e2e_awni)kevin@DEVBOX2:~/speech/tests$ pytest
================================================================================== ERRORS ===================================================================================
_______________________________________________________________________ ERROR collecting ctc_test.py ________________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/ctc_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
ctc_test.py:2: in
import torch
E   ImportError: No module named torch
________________________________________________________________________ ERROR collecting io_test.py ________________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/io_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
io_test.py:3: in
import speech.models
E   ImportError: No module named speech.models
______________________________________________________________________ ERROR collecting loader_test.py ______________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/loader_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
loader_test.py:3: in
from speech import loader
E   ImportError: No module named speech
______________________________________________________________________ ERROR collecting model_test.py _______________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/model_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
model_test.py:3: in
import torch
E   ImportError: No module named torch
_____________________________________________________________________ ERROR collecting seq2seq_test.py ______________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/seq2seq_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
seq2seq_test.py:3: in
import torch
E   ImportError: No module named torch
_______________________________________________________________________ ERROR collecting wave_test.py _______________________________________________________________________
ImportError while importing test module '/home/kevin/speech/tests/wave_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
wave_test.py:4: in
import speech.utils.wave as wave
E   ImportError: No module named speech.utils.wave
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 6 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================================== 6 error in 0.23 seconds ==========================================================================
Could you help me out?
Thank you.

Does python -c 'import torch' work? If not looks like you have a problem with your torch installation which is the first thing you should fix.

I too had this problem, and with python -c 'import torch' working. What worked for me was to manually run each command for the targets in the Makefile, and then no errors arose from import torch. Because I normally reserve the command python for working with 2.7 and command python3 for my current 3.x version (for which PyTorch is installed), interestingly doing an alias python=python3 also ended up in still having errors when running the Makefile. But changing the Makefile to use python3 wherever it stated python, actually DID end up in being built successfully.


h5p get does not work properly in anonymous docker builds

We have noticed that "h5p get" exclusivly uses ssh-based github urls. This is somewhat challenging when automating h5p builds and deployment using the h5p cli tool. The pull request at: https://github.com/h5p/h5p-cli/pull/38 includes a suggestion on alleviating this.

h5p-cli core functionality has been rewritten. Try using the new setup flow.


Added notification when bookmarked from Sessionlist

fixed #967

@utkarshnath the base branch has been updated. Please make a fresh PR with your changes. Sorry for the inconvenience :sweat_smile:


Echo Show Support

Would be nice to add built-in function to check Echo Show Support.
Also example in Docs isn't valid:
app.post(req, res, type, exception) {
  // If the device does not support display directives then remove them from the response
  if (!system.supportsDisplay(req))) {
    res.response.response.directives = []
  }
}

The actual interface of app.post is app.post = function () {...}. And system is not defined ;-)

Would appreciate if you could help track this down.

This framework doesn't have supportsDisplay() function.
It needs to check that path: req.data.context.System.device.supportedInterfaces.
Amazon Skill Testing tool contains this object in supportedInterfaces:
{
    AudioPlayer: {},
    Display: {
        templateVersion: '1.0',
        markupVersion: '1.0'
    }
}

I don't know if Display must be empty or must not exist in case of no screen.
The second thing I want to say is don't suggest users to clear directives res.response.response.directives = []. This line will also remove other directives, AudioPlayer for example.

I use my own helper function that I call within the app:
var has_display = function(request) {
    try {
        return !!request.data.context.System.device.supportedInterfaces.Display;
    }
    catch(e) { return false; }
};

I agree, stripping directives is a bad idea. Especially now that there are new non-display directives.
I plan to work on this, at some point, so there is more Display support built in.

@matt-kruse @dblock What do you think about adding supports* helpers to alexa.response?
response.supportsVideoApp(): bool
response.supportsDisplay(): bool
response.supportsAudioPlayer(): bool

Or suggest your vision of the app structure.

I realized that those functions will use request.data, but keeping them in response sounds better for me.

I already have helper functions like these and many more in my local version of this lib, I just find the structure and tests required in the release version to be a bit too much for me to contribute them back.
Since the functions require request data, putting them in response isn't possible. But I've found this with other things, too. One fix is to actually put the request json into the response object when it's created, so it can reference data like this.


add sorting functionality for all products with respect to price and …

fixed, add functionality for sorting w.r.t. all products

@sohaibaumer, Thank you for your contribution
Please give this repository a star 🌟


Task #6: Run release and update documentation

This task includes the creation of a composite action that :

Prepare release
Update documentation

Let's separate out these issues if possible

sed -i "s*## Releases*## Releases\n- 3.26.0\n    - [3.26.0](https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.25.0+is%3Aclosed)*g" ./intro.md

How I am achieving it currently:

Edited intro.md by replacing all versions with a template.

https://github.com/AkMo3/cytoscape.js/blob/e4de815b719aaf594686e6be8bf4aec46f4cd17c/documentation/md/intro.md?plain=1#L278-L297

Added all versions to docmaker.json in a new versions array

docmaker.js check if the context contains context.versions. If it does, it runs generate_versions(context) method that generates the data to fill template and addes it to config. Also, it takes the intro.md, passes it to handlebar and generates a intro_html.md (yes, html is stored in md format).

https://github.com/AkMo3/cytoscape.js/blob/e4de815b719aaf594686e6be8bf4aec46f4cd17c/documentation/docmaker.js#L363-L369

We change the config to use intro_html.md to fill the introduction section.

Updated Working:

Changed the file type of introduction from md to template
https://github.com/AkMo3/cytoscape.js/blob/d5407717a2100c8bc26df7892cf4e2e382b02ec5/documentation/docmaker.json#L58

Changed compileConfig( config ) to added a new processor for template

https://github.com/AkMo3/cytoscape.js/blob/d5407717a2100c8bc26df7892cf4e2e382b02ec5/documentation/docmaker.js#L193-L203

If the section type is template we call function templateToHtml(context)

https://github.com/AkMo3/cytoscape.js/blob/d5407717a2100c8bc26df7892cf4e2e382b02ec5/documentation/docmaker.js#L90-L101
It works in the following way:

Sets the configuration/data required by the specific template. In this case, it calls generate_versions(context) function.
Fetches the template (which is a md file) in a html format.
Supplies this template to Handlebars to compile.
Gets the processed final HTML by supplying configuration/context.
Parses the HTML by marked and returns it.

This return HTML is set as section html.

Data Generation is done by the following procedure:

All versions are stored in the file versions.json
This file is imported similarly to docmaker.json
function generate_versions(context) does the rest of the data processing.
The data structure is identical to below:

  {
"major_release": [
  {
    "version": "3.20",
    "minor_release": [
      {
        "minor_ver": "3.20.3",
        "link": "https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.20.3+is%3Aclosed"
      },
      {
        "minor_ver": "3.20.2",
        "link": "https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.20.2+is%3Aclosed"
      },
      {
        "minor_ver": "3.20.1",
        "link": "https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.20.1+is%3Aclosed"
      },
      {
        "minor_ver": "3.20.0",
        "link": "https://github.com/cytoscape/cytoscape.js/issues?q=milestone%3A3.20.0+is%3Aclosed"
      }
    ]
  }
]
}

Add the documentation to contributing.md about how to edit documentation.

Consider naming re. template key, e.g. template_md or mdtemplate.
Ideally we could avoid underscores.

{ "name": "Foo", "mdtemplate": "foo", "mdtemplateData": { foo: "bar", baz: 2 } }


Add plugin to manage oriented markers dynamically.

Nice!
Suggestions, though:

Use github pages to provide a live example (cloning to see the examples working is cumbersome)
Demo how to create a non-interactive marker with a predefined angle
Check UTF-8 in your examples - the © is in ISO-8859-1 instead.

Also, following Leaflet's convention on naming subclasses, this should be named L.Marker.Oriented instead.


Dshrestha azure windows vm ico by densify

Created an Azure Windows VM Intel Cloud Optimizer (ICO) example using existing network.

Works good


DOMException: unsupported MIME type for service worker

I did npm start on this but i get:
Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html').
What am I doing wrong?
The file build/service-worker.js exists.
If I copy it to /build or /src I don't get that error.
Where is the correct location for the file?

That's expected, and my apologies that this can be confusing.
In a development environment, you traditionally won't want a service worker installed (since local caching can mess up your ability to iterate on code changes), so there isn't one generated. The local dev HTTP server responds to the request for /servrice-worker.js generated from the service worker registration with a HTML error document, leading to that message being logged in the console. This error can be safely ignored.
npm run build will generate the production deployment, including a service-worker.js in the correct location.
I'll leave this bug open to track added better guidance about this to the docs and inline comments.

Hey guys, one way would be to move the service worker registration to the app and only register it on production environment:
if ('serviceWorker' in navigator && process.env.NODE_ENV === 'production') {
    window.addEventListener('load', function() {
        navigator.serviceWorker.register('/service-worker.js');
    });
}

Thoughts ?

That's a good point; see also https://github.com/jeffposnick/create-react-app/pull/1, where that approach is being used. If that PR doesn't go anywhere for some reason, then I will add in the same approach into this repo.

I was facing the same issue, don't know if it's your case, but I moved the sw.js to the root of the public folder and it worked perfectly. Hope it helps.

I was having the same issue, not using this tool create-react-pwa tool though.
Solved it by adding %PUBLIC_URL% to
navigator.serviceWorker.register('%PUBLIC_URL%/service-worker.js');`

This is because I didn't have the / before the path so it would fail to resolve when not in the home page.

I'd recommend switching over to the official https://github.com/facebookincubator/create-react-app project, which supports the same functionality now and will be updated moving forward.

Yeah sorry, came here from google, didn't realise it was deprecated.
This issue page might still help a lot of people that are in the same situation.
Thanks for the work @jeffposnick

add content-type:text/javascript; charset=UTF-8

Hi, I know that it's not exactly the good place for that but it's the first link about PWA on this problem Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The script has an unsupported MIME type ('text/html').
I get the same error working with SSR PWA in VueJS and it take me a lot of time to find the problem so I share my solution to people in same case:
I use the module sw-precache-webpack-plugin and to avoid the error in SSR we need this line in server.js :
app.use('/service-worker.js', serve('./public/service-worker.js'))
Hope it helps someone !

Hey, im pretty new in figuring out how to manage react to be compatibel with Workbox as my Serviceworker. What i want is to achieve a running Serviceworker while in a development environment.
I set up my app with create-react-app and added an manifest.json

If you are using s3's cloudfront, access your service-worker.js file and in the properties change the metadata to Key: Content-Type Value: application / javascript
tks @extsalt

if you're using EJS, you can use:
<% if (process.env.NODE_ENV == 'production'){ %>
  <script>
    (function () {
      if ('serviceWorker' in navigator) {
        navigator.serviceWorker.register('/service-worker.js').then(response => {
          console.log('Service Worker registered.')
        }).catch(error => {
          console.error(error)
        })
      }
    })()
  </script>
<% } %>

I was facing the same issue, don't know if it's your case, but I moved the sw.js to the root of the public folder and it worked perfectly. Hope it helps.

Works perfectly!

I had this problem trying to implement push notification for my React web app, I fixed it by changing my serviceWorker reference from serviceWorker to service-worker as in  navigator.serviceWorker.register('./service-worker.js') instead of navigator.serviceWorker.register('./serviceWorker.js')

here is how I solved it, removed process.env.NODE_ENV === 'production' condition from if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
Fix the issue for me, i am aware of the implications of registering service worker in development but it works for me this way.


fix(config): allow the user to disable default filters by setting the…

I am not sure if this is the best way to allow the user to fix the issue.
Fixes https://github.com/folke/noice.nvim/issues/769.

filter = { any = false } is weird and confusing to be honest.
Other ideas :

filter = "no_filter"
filter = require("noice").no_filter"
A new field no_filter so you can do no_filter = true

I ended up using a clear_filters key to allow the user to clear the builtin filters, and optionally add their own filters in the same table.
e.g.:
  {
    clear_filters = true,
    event = "notify",
  }

@folke


backend: add new Cohere Platform models to seeder

This pull request introduces changes to two files, src/backend/database_models/seeders/deplyments_models_seed.py and src/backend/model_deployments/cohere_platform.py.
src/backend/database_models/seeders/deplyments_models_seed.py
This file undergoes the following modifications:

Addition of four new dictionaries: "c4ai-aya-23-35b", "command-r-08-2024", "command-r-plus-08-2024", and "c4ai-aya-23-35b". These dictionaries are nested within the ModelDeploymentName.SingleContainer and ModelDeploymentName.MultiContainer objects.

src/backend/model_deployments/cohere_platform.py
The list_models function is updated to streamline the filtering process by removing unnecessary indentation and simplifying the list comprehension.

Codecov Report
Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 79.09%. Comparing base (5af71bb) to head (1c11081).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

src/backend/model_deployments/cohere_platform.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #790      +/-   ##
==========================================
- Coverage   79.80%   79.09%   -0.71%
==========================================
  Files         240      246       +6
  Lines       10515    10785     +270
==========================================
+ Hits         8391     8530     +139
- Misses       2124     2255     +131

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[WIP] Adding ACME Support

Would love feed back on this.
Open questions:

Do you need auto registration of domains?
Is registering a authenticated user before hand a big deal?
Would each authority have it's own authenticated user (public key)?

Do you need auto registration of domains?

No, Lemur should be able to use some DNS API (Cloudflare/Route53) to create the required validation records. Considering DNS validation is fast and relatively easy to implement. To me, registration of domains is a completely different use-case.
Is registering a authenticated user before hand a big deal?

Probably not, though eventually it'll be nicer to let Lemur do that when initializing a new CA which utilizes this plugin.
Would each authority have it's own authenticated user (public key)?

Yes, as it is no extra burden for the operator. Lemur will take care of it in the background, right? Using the same user/key for the entire plugin implementation, and using that to talk with different endpoints is not save.

Travis currently fails on python 3.3 and 3.4. @kevgliss are you planning to pick this up again? Support for ACME (or rather: letsencrypt) would be awesome!

I was stalled because of a bug in the letsencrypt library, not sure if it's been resolved. Still interested in talking this on as I think it would be potentially very useful to quite a few folks. Will look into whether I can move forward with this plugin.


Supporting finding page objects by Id.

Hi @YevgeniyShunevych
What do you think about adding finding UIComponents and PageObjects by Id(like finding by class/classes in ScopeDefinitionAttribute). For example:
  [PageObjectDefinition("div", ContainingId = "some-id")]
    public class BuildProfilePageObject : PageObject<_>
    {
        [WaitFor(Until.Visible)]
        [FindByClass("title")]
        public Content<string, _> Title { get; private set; }

        [WaitFor(Until.Visible)]
        [FindByClass("description")]
        public Content<string, _> Description { get; private set; }

        [WaitFor(Until.Visible)]
        [FindByClass("text-decoration-none")]
        public Link<LoginFormPageObject, _> LoginOrRegister { get; private set; }
    }

I have some prototype of that, but want to hear what do you think about it.

Currently, it is possible to set default locator do for controls this way:
[ControlDefinition("div")]
[FindById("some-id")]
public class SomeControl : Control<_>
{
}

For page objects, I'm not sure that something like this is needed. Currently it is possible to do it this way:
[PageObjectDefinition("div[@id='some-id']")]


[Survery] User feedback

VSCode Version: 1.36.1,
Extension Version: 0.1.2,
OS: Windows
1. Overall, how would you rate your experience with the Stream Analytics Visual Studio Code Extension? Please rate us from 1 (poor) to 10 (excellent).
10
2. What do you like or dislike about the Stream Analytics Visual Studio Code Extension?
the extension host keeps restarting
3. What improvements do you suggest for Stream Analytics Visual Studio Code Extension?
better ways to debug failing extension

Hi Sadranyi,
Sorry for the inconvenience. Can you please send us the tools log when the extension host restarts?
You can find the tools log through:

Thanks,
Jie

ok will do that
On Fri, Aug 2, 2019 at 8:31 AM Jie Su<EMAIL_ADDRESS>wrote:

Hi Sadranyi,
Sorry for the inconvenience. Can you please send us the tools log when the
extension host restarts?
You can find the tools log through:
[image: image]
https://user-images.githubusercontent.com/24801534/62356055-d2c36300-b542-11e9-910e-0e39ee047e12.png
Thanks,
Jie
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-asa/issues/10?email_source=notifications&email_token=AAEJ3XBPDUT2B4HUBF77ZETQCPWHLA5CNFSM4IIRSW2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NCADQ#issuecomment-517611534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJ3XHVGZM7FM3XBKJGTVDQCPWHLANCNFSM4IIRSW2A
.

whats the name of the extension that provides the tool log
On Fri, Aug 2, 2019 at 7:24 PM Samuel Adranyi<EMAIL_ADDRESS>wrote:

ok will do that
On Fri, Aug 2, 2019 at 8:31 AM Jie Su<EMAIL_ADDRESS>wrote:

Hi Sadranyi,
Sorry for the inconvenience. Can you please send us the tools log when
the extension host restarts?
You can find the tools log through:
[image: image]
https://user-images.githubusercontent.com/24801534/62356055-d2c36300-b542-11e9-910e-0e39ee047e12.png
Thanks,
Jie
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-asa/issues/10?email_source=notifications&email_token=AAEJ3XBPDUT2B4HUBF77ZETQCPWHLA5CNFSM4IIRSW2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NCADQ#issuecomment-517611534,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJ3XHVGZM7FM3XBKJGTVDQCPWHLANCNFSM4IIRSW2A
.

Hi Sadranyi,
Sorry for my late response. The name is ms-bigdatatools.vscode-asa.
Does the extension still fail on your side?
Thanks,
Jie

Thanks will install it and check it out.
cheers
On Thu, Sep 19, 2019 at 11:10 AM Jie Su<EMAIL_ADDRESS>wrote:

Hi Sadranyi,
Sorry for my late response. The name is ms-bigdatatools.vscode-asa.
Does the extension still fail on your side?
Thanks,
Jie
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-asa/issues/10?email_source=notifications&email_token=AAEJ3XASCVY6KBX4HJ7TNJ3QKNMZJA5CNFSM4IIRSW2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DDGCQ#issuecomment-533082890,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJ3XGCI2LEKFENMEPKFATQKNMZJANCNFSM4IIRSW2A
.

his looks like Azure stream analytics
On Thu, Sep 19, 2019 at 11:17 AM Samuel Adranyi<EMAIL_ADDRESS>wrote:

Thanks will install it and check it out.
cheers
On Thu, Sep 19, 2019 at 11:10 AM Jie Su<EMAIL_ADDRESS>wrote:

Hi Sadranyi,
Sorry for my late response. The name is ms-bigdatatools.vscode-asa.
Does the extension still fail on your side?
Thanks,
Jie
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-asa/issues/10?email_source=notifications&email_token=AAEJ3XASCVY6KBX4HJ7TNJ3QKNMZJA5CNFSM4IIRSW2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DDGCQ#issuecomment-533082890,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEJ3XGCI2LEKFENMEPKFATQKNMZJANCNFSM4IIRSW2A
.


Add A* implementation

Added A* implementation. Because it needed access to a checked direction interface as well as neighbors, added Neighbors trait (with overridable neighbors implementation so we can use something like describeExits on a neighbors impl for RoomName, for instance).
Also added RangeHeuristic trait for those algos that need it (A* does, while Dijkstra's does not) - though maybe there's not a lot of reason for these traits to be separate, or DijkstraNode vs AStarNode?
Butchered the tests a wee bit to make 'em pass, chopping out path length checks and max ops checks in cases where I'd made the A* search return an intermediate but incomplete result - not super attached to this design in any way (would be fine with an empty path as the other implementation does).

Subsumed by pull #3. Closing PR.


update validate methods that checked for filter usage.

update validate methods that checked for filter usage to be nesting aware, use utility methods on the resource manager for filter iteration, in particular this is needed for those validate methods when used in nested boolean groups to properly consider all other filters.
fixes #3195

@kapilt  did you intend to change c7n/resources/ebs.py in this commit, or at all?


Add kind/api to Label-list

@tboerger only a month late or so 😂

LGTM

@appleboy you have to comment L-G-T-M so that the robot could detect it.

@lunny Apologies. I forgot to do it. LGTM

@appleboy if we can send a PR to go-gitea/lgtm to also detect github's review, it's also OK.


Story/facilities grid add status/2018

card: https://github.com/orgs/bcgov/projects/122/views/2?filterQuery=2018&pane=issue&itemId=72458135

Work continued in #2286


Update copyright  notice

@willzeng @nathanshammah The copyright date of Metriq currently says 2021. We need to add 2022, and I believe the preferred manner is "Copyright © 2021, 2022 Unitary Fund," but please let me know however you wish for it to read.

Your suggestion looks good to me!
On Wed, Mar 9, 2022 at 8:22 PM Daniel Strano @.***>
wrote:

@willzeng https://github.com/willzeng @nathanshammah
https://github.com/nathanshammah The copyright date of Metriq currently
says 2021. We need to add 2022, and I believe the preferred manner is
"Copyright © 2021, 2022 Unitary Fund," but please let me know however you
wish for it to read.
—
Reply to this email directly, view it on GitHub
https://github.com/unitaryfund/metriq-app/issues/484, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHZDAVIOBLAAIYWQQLGQBLU7FFG7ANCNFSM5QLF7ZQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
https://unitary.fund/
Creating a quantum technology ecosystem that benefits the most people.


How I can get each value from cell?

HI
I use this package for import data from excel, and I wanna do operation for each cell in for()
like
for (var row in excel.tables[table].rows) {
     for (var col in excel.tables[table].cols) {
     print("Cell  $cell");
}
}

But there is no this function, so I find this CellIndex.indexByColumnRow(0,0) but it make an error.

I had applied the fix and now you can iterate over the sheets easily to operate on cells
var sheet = excel['mySheetName'];

/// Iterating and changing values to desired type
  for (int row = 0; row < sheet.maxRows; row++) {
    sheet.row(row).forEach((cell) {
      var val = cell.value; //  Value stored in the particular cell

      cell.value = ' My custom Value ';
    });
  }

Thanks brother, it worked perfectly！


branched releseases

We need the ability to support branches releases for PXT and PXT targets.

[ ] uploading PXT releases for non-master branches
[ ] uploading target releases for non-master branches
[ ] versioned crowdin translation files

Importance, given we are getting close to needing pxt branch (Michal's floating point work)?

We have release branches for Microbit. This is fixed.


Fix Page got captured before animation completely finish

This Pull Request solve the problem of transition-delay in the CSS used on the website for transition animation. In order for the animation to the website to finish without a delay we need to add the CSS code to override transition-delay value to 0s on all elements.

Issue: #2

Hi @fransallen, i need you review for this PR. Thank you.


FID Misaligned during Flux.1-schnell Reproduction

Thanks for your awesome work!
I have been attempting to reproduce the quantization of the Flux.1-schnell and have obtained the following results. It appears that all the metrics are in line with what is presented in the paper, with the exception of the "fid" metric.
I am unsure if there might be a particular configuration that I have either overlooked or perhaps misaligned during the process. Looking forward for your reply.
# before quant
{
  "MJHQ-1024": {
    "with_gt": {
      "clip_iqa": 0.9374287128448486,
      "clip_score": 26.522300720214844,
      "fid": 59.22809264363019,
      "image_reward": 0.9312670520291704
    }
  }
}
# after quant
{
  "MJHQ-1024": {
    "with_gt": {
      "clip_iqa": 0.938270092010498,
      "clip_score": 26.360868453979492,
      "fid": 58.70952959844749,
      "image_reward": 0.91175379300239
    },
    "with_orig": {
      "fid": 32.62904152864269,
      "lpips": 0.2956272065639496,
      "psnr": 17.318588256835938,
      "ssim": 0.6896007657051086
    }
  }
}

To reproduce the results from our paper, please use 5,000 image samples for evaluation. It appears that the current discrepancy is due to an insufficient number of evaluation samples. Increasing the sample size will significantly lower the FID score.


[Q] Using custom icons for markers

Hello Emher,
I've been learning dash and some Js along the lines recently and stumbled upon this awesome project while looking for some leaflet magic inside the dash ecosystem.
I was wondering how the Icon definition that leaflet has  could be passed to dl.Marker .
As an initial reference, I was sticking to a really  nice example coded by you

#This is the part that somehow wanted to add
# https://github.com/pointhi/leaflet-color-markers

icons ={ iconUrl: 'https://raw.githubusercontent.com/pointhi/leaflet-color-markers/master/img/marker-icon-2x-green.png',
        shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/images/marker-shadow.png',
        iconSize: [25, 41],
        iconAnchor: [12, 41],
        popupAnchor: [1, -34],
        shadowSize: [41, 41]
    }

# Create app.
#(.....)

#The callback with an icon dictionary?
@app.callback(Output("markers", "children"), [Input("dd", "value")])
def update_markers(value):
    if value is None:
        return []
    data = data_source[value]
    return [dl.Marker(id={'type': 'marker', 'index': key}, position=data[key],icon=icons) for key in data] #I tried to pass the icon definition here

Thank you!

I think it looks about right? What errors do you see? Here is a small, selfcontained example.
import dash
import dash_html_components as html
import dash_leaflet as dl

# Setup icon options, example from Leaflet doc (https://leafletjs.com/examples/custom-icons/).
icon = {
    "iconUrl": 'https://leafletjs.com/examples/custom-icons/leaf-green.png',
    "shadowUrl": 'https://leafletjs.com/examples/custom-icons/leaf-shadow.png',
    "iconSize": [38, 95],  # size of the icon
    "shadowSize": [50, 64],  # size of the shadow
    "iconAnchor": [22, 94],  # point of the icon which will correspond to marker's location
    "shadowAnchor": [4, 62],  # the same for the shadow
    "popupAnchor": [-3, -76]  # point from which the popup should open relative to the iconAnchor
}
# Create example app.
app = dash.Dash()
app.layout = html.Div([
    dl.Map([dl.TileLayer(), dl.Marker(position=(56, 10), icon=icon)],
           id="map", style={'width': '100%', 'height': '50vh', 'margin': "auto", "display": "block"}),
])

if __name__ == '__main__':
    app.run_server()


Bump swift-system to 1.2.1

https://github.com/apple/swift/pull/65938
https://github.com/apple/swift-tools-support-core/pull/358
@swift-ci please smoke test

Error in self-hosted CI:
error: Dependencies could not be resolved because root depends on 'swift-system' 1.2.1..<1.3.0 and 'swift-tools-support-core' depends on 'swift-system' 1.1.1..<1.2.0.

Assuming this is because cross-repo testing not supported in these environments.

yes "self hosted" jobs do not support cross repo testing

https://github.com/apple/swift/pull/65938
https://github.com/apple/swift-tools-support-core/pull/358
@swift-ci please smoke test

https://github.com/apple/swift/pull/65938
https://github.com/apple/swift-tools-support-core/pull/358
@swift-ci please smoke test

https://github.com/apple/swift/pull/65938
https://github.com/apple/swift-tools-support-core/pull/358
@swift-ci please smoke test

No longer needed per https://github.com/apple/swift-tools-support-core/pull/358#issuecomment-1832836933