[Vimeo] HTTP Error 406: Not Acceptable when downloading video

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running youtube-dl version 2021.12.17 (Also tried latest git)
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log
$ youtube-dl -v -x 'https://vimeo.com/9010456'
[debug] System config: []
[debug] User config: ['--socket-timeout=2']
[debug] Custom config: []
[debug] Command-line args: ['-v', '-x', 'https://vimeo.com/9010456']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: a70dc03d2
[debug] Python 3.12.7 (CPython x86_64 64bit) - Linux-6.11.0-9-generic-x86_64-with-glibc2.40 - OpenSSL 3.3.1 4 Jun 2024 - glibc 2.40
[debug] exe versions: ffmpeg 7.0.2, ffprobe 7.0.2, rtmpdump 2.4
[debug] Proxy map: {}
[vimeo] 9010456: Downloading webpage
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 406: Not Acceptable (caused by <HTTPError 406: 'Not Acceptable'>); please report this issue on https://github.com/ytdl-org/youtube-dl/issues , using the appropriate issue template. Make sure you are using the latest version; see  https://github.com/ytdl-org/youtube-dl/#user-content-installation  on how to update. Be sure to call youtube-dl with the --verbose option and include the complete output.
  File "/home/ori/devel/youtube-dl/youtube_dl/extractor/common.py", line 679, in _request_webpage
    return self._downloader.urlopen(url_or_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ori/devel/youtube-dl/youtube_dl/YoutubeDL.py", line 2496, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 521, in open
    response = meth(req, response)
               ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 630, in http_response
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 559, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 639, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Description
I think Vimeo added some protections, and youtube-dl needs to adapt. For a while it returned 403 Forbidden and 429 Too Many Requests, and now it's returning 406.
I don't think it's related to #26421 from 2020, as, IIRC, I managed to download from Vimeo between then and now.
yt-dlp successfully downloaded the video, and they have made changes to the Vimeo extractor in the past year, particularly adding browser impersonation. (See https://github.com/yt-dlp/yt-dlp/issues/10325)

From recollection of yt-dlp issues, 406 might just mean that we're not asking for Content-Type: application/json, but it's going to be tricky to handle anything that needs impersonation:

a function like  --external-requester ... would have to be implemented
even if that were done, the required dependencies for curl-ffi mean that users could use yt-dlp instead with a better UI.

Any further data points regarding Vimeo are welcome as I won't have popped the stack down to my Vimeo WIP for a while.

That's very reasonable.
I didn't know what to do about this issue for a while now. If you decide not to support it, would you consider improving the error message, suggesting other tools? It would really help lost users.
BTW, I have this PR #26636 about a improving different Vimeo error message that's been patiently waiting for attention :)

Anyhow, yt-dlp/yt-dlp#9125 was the fix there.

And then:
$ python -m youtube_dl -vF 'https://vimeo.com/9010456'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://vimeo.com/9010456']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: f7dc45d3a
[debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-25-686-pae-i686-with-debian-12.7 - OpenSSL 1.1.1a  20 Nov 2018 - glibc 2.1.3
[debug] exe versions: ffmpeg 5.1.6-0, ffprobe 5.1.6-0
[debug] Proxy map: {}
[vimeo] 9010456: Downloading webpage
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading JSON metadata
[vimeo] 9010456: Downloading akfire_interconnect_quic m3u8 information
[vimeo] 9010456: Downloading fastly_skyfire m3u8 information
[vimeo] 9010456: Downloading akfire_interconnect_quic MPD information
WARNING: [vimeo] 9010456: Failed to parse XML not well-formed (invalid token): line 1, column 0
[vimeo] 9010456: Downloading fastly_skyfire MPD information
WARNING: [vimeo] 9010456: Failed to parse XML not well-formed (invalid token): line 1, column 0
[info] Available formats for 9010456:
format code                                       extension  resolution note
hls-akfire_interconnect_quic-audio-high-Original  mp4        audio only
hls-fastly_skyfire-audio-high-Original            mp4        audio only
hls-akfire_interconnect_quic-318                  mp4        360x272     318k , avc1.64001F, 30.0fps, video only
hls-fastly_skyfire-318                            mp4        360x272     318k , avc1.64001F, 30.0fps, video only
http-240p                                         mp4        360x272    30fps (best)
$

I fixed it myself just as you posted this :) https://github.com/salty-horse/youtube-dl/commit/9a458401358b52a8b606e23763ab1a9a0a313425


Fix nexus bootstrapping key server error

Resolves #2785
What is being addressed
Due to the introduction of template pipelines and changing the firewall rule addition/removal step to occur outside the main bundle's terraform, a race condition was introduced where the Nexus bundle was being deployed and then the firewall rules (that it relied on to connect to ubuntu key server, packages.microsoft.com and docker.com) were being applied afterwards in the pipeline. As the Nexus clouding bootstrapping starts up, this firewall step wasn't always completed in time for it to work, causing regular failures.
How is this addressed
I tried swapping the order so that the firewall pipeline step happens first, however it depends on outputs from the main bundle terraform. After experimenting with a few workarounds the cleanest solution seems to be whitelisting the key server, Microsoft packages and docker fqdns in the main shared-subnet fqdn exceptions as part of the firewall bundle, as these will be whitelisted anyway as per the nexus bundle and are core trusted repositories already whitelisted by the resource processor.

/test

I think this looks great and is a really low-impact way of solving the problem - but @marrobi should probably be the one to hit the approve button

/test

/test-destroy-env


Custom typed parameters

I'm looking to supply a specific typing for parameters to the function that I'm writing in Rust and exposing to TS.
In an ideal world, I'd love for the function to accept a Vec<MyJsStruct> where MyJsStruct contains two String fields, but that doesn't look like it's possible at the moment.
To step around this, I'm using JsValue and serde_wasm_bindgen::from_value which is working quite well. However, the generated wasm.d.ts file types the parameter to my function as any, which really isn't ideal when using TypeScript.
I was wondering if there's a way to annotate the function that I'm writing in order to specify the type of the parameter that it accepts, when the definition file is generated?
I can extend the definition file on the TypeScript side, but being able to do this completely in Rust would be much better.

Maybe this help https://github.com/fjarri/wasm-bindgen-derive/blob/master/src/lib.rs#L60-L103
BTW, I didn't have time to try it yet just found it today and post it here for the record.

This can be done with a combination of #[wasm_bindgen(typescript_type)] and #[wasm_bindgen(typescript_custom_section)]:
use serde::Deserialize;
use wasm_bindgen::prelude::*;

#[wasm_bindgen(typescript_custom_section)]
const _: &str = "
interface MyJsStruct {
    a: string,
    b: string,
}
";

#[wasm_bindgen]
extern "C" {
    #[wasm_bindgen(typescript_type = "MyJsStruct[]")]
    pub type MyJsStructArray;
}

#[derive(Debug, Deserialize)]
struct MyJsStruct {
    a: String,
    b: String,
}

#[wasm_bindgen]
pub fn debug_array(array: MyJsStructArray) -> String {
    let array: Vec<MyJsStruct> = serde_wasm_bindgen::from_value(array.into()).unwrap();
    format!("{array:?}")
}

Maybe we can improve this at some point in the future, so I'm gonna leave it open.

This can be done with a combination of #[wasm_bindgen(typescript_type)] and #[wasm_bindgen(typescript_custom_section)]:

Oh this looks intersting - will give it a try


Add missing instruction to dev installation guide

The missing data folder will throw an exception:
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file

Codecov Report

Merging #226 (d4266a1) into master (8472efb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #226   +/-   ##
=======================================
  Coverage   30.42%   30.42%
=======================================
  Files          31       31
  Lines        2225     2225
=======================================
  Hits          677      677
  Misses       1548     1548

Continue to review full report at Codecov.

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


Bootstrap asset is still published, even though disabled in AssetManager

Because my module provides my own versions, I've disabled jQuery and Bootstrap asset bundles in my AssetManager config as follows:
'assetManager' => [
    'bundles' => [
         'yii\web\JqueryAsset' => false,
         'yii\bootstrap\BootstrapAsset' => false,
    ],
],

jQuery isn't published to the asset directory, but Bootstrap still is.

Disable also yii\bootstrap\BootstrapPluginAsset.

Thanks. I see now that is used in NavBar, Dropdown and Widget, all of which I am using.
Sorry this should have been a forum post!


[MINOR][INFRA] Disable 'pages build and deployment' action

What changes were proposed in this pull request?
Disable https://github.com/apache/spark/actions/runs/10951008649/ via:

adding a .nojekyll file to the root of your source branch will bypass the Jekyll build process and deploy the content directly.

https://docs.github.com/en/pages/quickstart
Why are the changes needed?
restore ci
Does this PR introduce any user-facing change?
no
How was this patch tested?
no
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.

+1, LGTM. Thank you!


Fix CI

Motivation

Fix CI error caused by numpy 2.0.0.
Update botorch version to >= 8.0.0 (because https://github.com/optuna/optuna-integration/pull/125 requires ListSampler)

Description of the changes

Add version constraint to numpy and botorch for CIs broken
Disable CI with Python 3.7 for multi_objective because botorch 0.8.0 requires Python >= 3.8

@eukaryo
Could you review this PR?

Related: https://github.com/optuna/optuna/issues/5502


Don't sort the rows when doing a resync.

data-coordinator #270 SUCCESS
This pull request looks good


13723 Edit UI - Review and Confirm step shows missing required info when there is none missing

Issue #: /bcgov/entity#13723
Description of changes:

make truthy special resolution validation flag in parseChangeRegFiling

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

When I try this locally it does not fix the problem. Also could you add a version number please?

This was working on my local env, but I updated the repo with the new initialization. Can you pull and try again? App version is now added.

When I try this locally it does not fix the problem. Also could you add a version number please?

This was working on my local env, but I updated the repo with the new initialization. Can you pull and try again? App version is now added.

I tried it again and I can file now! I do get a unable to save filing error I think that might be unrelated to your fix.

When I try this locally it does not fix the problem. Also could you add a version number please?

This was working on my local env, but I updated the repo with the new initialization. Can you pull and try again? App version is now added.

I tried it again and I can file now! I do get a unable to save filing error I think that might be unrelated to your fix.

This is most likely a schema error. Can you test the change filing again with another SP/GP business number? I'm not entirely sure what causes this, and I was able to file a change filing.

When I try this locally it does not fix the problem. Also could you add a version number please?

This was working on my local env, but I updated the repo with the new initialization. Can you pull and try again? App version is now added.

I tried it again and I can file now! I do get a unable to save filing error I think that might be unrelated to your fix.

This is most likely a schema error. Can you test the change filing again with another SP/GP business number? I'm not entirely sure what causes this, and I was able to file a change filing.

Yes it is a schema error, I figured out the error I guess Province is a required field in the schema even though it is optional


NanoELS - try first

I need help
Everything is connected. (see pictures) The encoder makes a full circle on the display and shows an angle of 360°. Correct.
The problem is that the stepper does not start.
No matter what I do, the stepper stops.
Where am I wrong.
[Greeting

The video is not ideal, the display is not visible in wide view. But maybe this one will help.
The third and fourth lines of the display disappear when the encoder is turned. Is that normal?
Also, the stepper heats up a lot in this experiment.
https://github.com/kachurovskiy/nanoels/assets/150443240/8ba8e45f-0c49-4ddd-8657-60c17f61a30d

Bottom lines disappearing during motion is intended since Nano only has 1 core and can either drive the motor or update the screen.
Look for the 24/5v switch on the side of your driver, ensure it's in the 5v position.

5V works wonders:) Everything works fine on the test bench. Now comes the implementation on my DIY lathe.
Thanks again
Greeting


Remove the legacy component that depend on the podio EventStore

BEGINRELEASENOTES

Remove the legacy components that depend on the podio EventStore. This is a breaking change for anyone still using any of PodioLegacyInput, PodioLegacyOutput or k4LegacyDataSvc.

If you still need the functionality to read old / lecagy input files, please let us know (e.g. via an issue).

ENDRELEASENOTES
I think now is a good time to do this since we have just made a release so that people can always go back to that in case this breaks things on the nightlies for them. We could then also figure out who is actually still using things legacy files and take things from there.

[x] Check if this impacts other downstream packages

It looks like we have switched over all our packages over to the non-legacy datasvc already. At least I could build a stack locally with these changes in without any further changes.

As discussed at todays meeting we will merge this now and see if there are any complaints, resp. whether someone still needs this functionality.


Use setuptools instead of distutils

While maintaining rpm package for Fedora/EPEL, I spotted the problem described below.
setuptools provides support for options entry_points and
extras_requires, which are used in setup.py.
This commit fix errors like below during installation:
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require'
  warnings.warn(msg)

Well, I'm not able to reproduce the error from travis, so don't know what to fix there 😕


Auth API

Is it possible to use the Steamworks Auth API (Session Tickets)? Couldn't find anything here for it yet
https://partner.steamgames.com/doc/features/auth#client_to_backend_webapi

Should just be a case of exposing these to NAPI: https://github.com/Noxime/steamworks-rs/blob/master/src/user.rs#L33
I'd help but I'm not a Rust user and have no idea how to work with the callbacks mentioned (See: https://github.com/Noxime/steamworks-rs/blob/master/src/user.rs#L27)
@ceifa You should consider enabling Sponsorships - I'd be happy to contribute as thanks for creating this awesome lib!

This is great to hear! I love open source but I don't have much time for it, so I usually just work on things I'm going to use, maybe some sponsorship would be nice to start making things for the community.
I will take a look on that and try to enable it, thanks for it :)

@ceifa No problem! :)
If you could answer a quick question for me, I could PR this functionality in; the callbacks mentioned here (https://github.com/Noxime/steamworks-rs/blob/master/src/user.rs#L27), are they something I'd need to implement? I would be using this via the Steamworks Web API, so presumably yes, and how would I go about implementing the callback functionality? Don't worry if that's too much
Thanks again!

Needed to implement: https://github.com/Noxime/steamworks-rs/pull/99

Added in 0.0.17 https://github.com/ceifa/steamworks.js/commit/53b85e3f9c346166feff21141f0208ede391be47


Trying Travis for Js, Native and Dotty (DO-NOT-MERGE)

Trying out travis to build for js, native and dotty.

Closing for re-opening for travis build.

Reopen for travis build.

@cla-bot[bot] check

@cla-bot[bot] check

@cla-bot[bot] check

Closing as no longer applicable, we now use github action for CI build.


settings_org: Use settings_checkbox in Authentication Methods UI.

Per review feedback in #21002 (direct link to the comment), replace HTML table with a series of settings_checkbox components for Authentication Methods UI.
Fixes #21001.
Notable points:

The way settings_checkbox is currently implemented, its instances for respective Auth Methods all get the same id, name and class. That doesn't seem to break anything (both automated and my manual testing), as those aren't used anywhere, but I'm open to suggestions if that's a problem.
I've removed the previous table-specific CSS entry and haven't added anything for the <div> I've introduced instead, as it doesn't seem to be necessary - but I'm open to other ideas, too.
I've aimed at minimum necessary changes, but deemed it meaningful to change a couple of related JS function names to use "list" instead of "table" to avoid confusion for those looking at the code in the future. At the same time I didn't change mentions of "row" as that would've been a bigger change and IMHO that still fits the "list" abstraction we now use here.
No test changes were necessary, only minor tweaking of the setting save/restore-related JS code

Screenshots and screen captures:
Before (logged in as Owner)

After (logged in as owner)

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate (no changes in tests, run manual and automated tests before submitting the PR)

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

It works as it was claimed. I have tested thi on Firefox, Firefox Dev and Chrome.

Thanks @sov-j.
This PR is ready for review.

Yeah, I think I agree we probably want some special CSS for this page to reduce the spacing between options to make the visuals look a bit nicer.

Thanks Sahil, Tim - appreciate your feedback!
@sahil839

We should keep ids unique. We can add method name to the id I think.

Yeah, I've considered a couple of approaches, and in the simplest case of minimum changes, we'd need to use the label var also in the id attribute value construction within that partial, but that will affect other instantiations. Do you think that would be appropriate? Or maybe there's a better way I'm overlooking here?
As for the CSS - ack, will add one in a separate commit.

I've split the var/function renaming out to a separate commit and still working on adding the method name to settings_checkbox instance IDs to make them unique, as per one of the review comments.
However looking further at the CSS side of it, I have a question. @timabbott - looks like the space between the checkbox components is the same as on all other pages and it's defined  by the .input-group-related CSS entry: https://github.com/zulip/zulip/blob/main/static/styles/settings.css#L354-L356. Do we want to change that at all, in view of that? And if yes - for the whole .input-group class, or specifically for the Auth Methods list?

This is now ready for a re-review. I've added a unique, method-based prefixes for the component id's, which required some tweaking of the save/discard code, but nothing too convoluted.
As for the CSS, I've additionally looked into some accessibility guidelines and they seem to at least partially support my suggestion of not changing the separation. E.g. this blog post and this WCAG Quickref entry. The latter talks about text specifically, but current vertical spacing parameters for the checkboxes roughly correspond to that guideline, AFAIU.
Should I start a discussion in #design for the latter, maybe?

Hmm, I don't see why we'd want this screen to look different from other places where we have multiple checkboxes in a row. I think we should avoid custom css and just keep the UI consistent. Cf.:

Merged, thanks for doing this @alex-ter!

Thanks Tim and everyone for reviews!


Incorrect version on package.json for 1.0.30000951

https://www.npmjs.com/package/caniuse-lite has 1.0.30000951 but the one on your package.json says 1.0.30000950

Please close


Rename Liberator -> Navigator

I left the Tock label alone until https://github.com/18F/tock/issues/547 is resolved.

Dependency of https://github.com/18F/cg-design/issues/17


Add support to golangci on ci

This pr is a complement of https://github.com/surrealdb/surrealdb.go/pull/24.
Adding support to the GolangCI to add more code checks and validation to help with code quality.

I'm not familiar enough with golangci (on GitHub) because I primarily use GitLab, but overall it seems to get the job done. Nice!

golangci works in the same way on local or on Github Actions or GitlabCI

golangci works in the same way on local or on Github Actions or GitlabCI

Now I have a new toy to try out, thank you!
The PR LGTM. Hopefully someone can merge it soon. :+1:
Awesome work @ffrizzo !


[TS][Example] user-input e2e fails when run locally

This is a known problem, but I haven't found an issue to track it, so here it is. When performing the tests manually, expected results are observed. So the problem might be with protractor's timing?
[14:52:11] AppDir: public/docs/_examples/user-input/ts
[14:52:16]   Suite: User Input Tests
[14:52:18]     passed - should support the click event
[14:52:18]     passed - should support the click event with an event payload
[14:52:18]     passed - should support the keyup event
[14:52:19]     passed - should support user input from a local template let (loopback)
[14:52:20]     passed - should be able to combine click event with a local template var
[14:52:20]     failed - should be able to filter key events
[14:52:20]     Expected '' to equal 'abc'.
[14:52:21]     passed - should be able to filter blur events
[14:52:22]     passed - should be able to compose little tour of heroes
[14:52:22]   Suite failed: User Input Tests

@Foxandxss : FYI, still an issue as of 07/28.

Fixed by #2065.


map.js sets constants in different namespace

Map sets 3 constants on the ol namespace https://github.com/openlayers/openlayers/blob/master/src/ol/map.js#L47-L85, something which won't work in a modular structure. I don't know whether there are other similar examples elsewhere, but for this to work they would need to be defined in index.js, not map.js. In this case, it looks like they're only used in map.js, so I'm thinking it would be better if they were defined in ol3 in the ol.Map namespace. When these are converted to ES modules, OTOH, they can be simple vars, as can createOptionsInternal(), as none of these need to be exported.

The es6 modules migration should have fixed this issue.


Revise term quest: patient discharge

Proposed definition: a deontic document act that concludes an inpatient encounter.
Proposed parent class: deontic document act
Reason for revision: This term currently lacks a definition in OMRSE. This revision adds the definition to the term's home ontology. The definition has been updated to be consistent with the current version of d-acts.

Here are some other annotations that were added in PCORnetCDM.owl, rather than the home ontology. Perhaps these should be added as well:
Term editor: Amanda Hicks
SubClassOf axiom: inverse (before) some 'admission process'
SubClassOf axiom: ends some 'inpatient encounter'
There is another 'SubClassOf' axiom, but it uses 'has active participant,' which seems to have been deprecated. I looked up 'has active participant' on Ontobee, and saw that it has an editor note saying it can be replaced by 'has agent.' However, 'has agent' is also deprecated. Perhaps replacing that with 'has participant' would suffice, even if it is not as specific as the original object property that was used. Here is the axiom, as it currently appears in the PCOR file:
(has_specified_output some
(document
and ('has part' some 'objective specification')
and ('has part' some 'action specification')
and ('has part' some 'plan specification')))
and ('has active participant' some
('Homo sapiens'
and ('bearer of' some 'health care provider role')))

@CDowland Yes, if we made changes to an OMRSE term in PCORowl then those changes should also be made in the OMRSE file.
@dillerm will you please also make the changes indicated by Clint? Thanks!

ends and before are in OMRSE so I cannot add those axioms yet.


@observable should work with classes that use 'implements'

This issue was originally filed by<EMAIL_ADDRESS>
Code:
@observable
class FeedEntry implements Comparable<FeedEntry> {
  int compareTo(FeedEntry other) {
    return 0;
  }
}
Error:
Internal error: '[...]/model.dart': Error: line 34 pos 51: '{' expected
class FeedEntry implements Comparable<FeedEntry>  extends Observable {
Works fine without @observable.

This issue has been moved to dart-lang/polymer-dart#362.


Bug when creating folder

Issue Type: Bug
I was trying to create a file, but i miss the /, so i pressed ented and created a file without .ext(encion), than i pressed the button to try to create again, so i type screen/xxx.xxx bug i was not able to do that, cause i already have a "file" named screen
VS Code version: Code 1.62.3 (Universal) (ccbaa2d27e38e5afa3e5c21c1c7bef4657064247, 2021-11-17T07:59:13.865Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
8.00GB (1.33GB free)

Process Argv
. --crash-reporter-id d495c87c-2892-4823-b58e-d6afe0b7164c

Screen Reader
no

VM
0%

Extensions (27)

Extension
Author (truncated)
Version

better-comments
aar
2.1.0

TabOut
alb
0.2.1

dart-data-class-generator
Ben
0.5.1

format-json
Cle
1.0.2

dart-code
Dar
3.28.0

flutter
Dar
3.28.0

vscode-new-file
dku
4.0.2

vs-code-xml-format
fab
0.1.5

copilot
Git
1.7.3952

pubspec-assist
jer
2.3.2

regexp-preview
Lou
0.1.5

dart-barrel-file-generator
miq
1.3.1

awesome-flutter-snippets
Nas
3.0.2

vscode-groovy-lint
Nic
1.6.0

fix-json
oli
0.1.2

java
red
1.1.0

vscode-xml
red
0.18.1

vscode-yaml
red
1.2.1

synthwave-vscode
Rob
0.1.10

vscode-fileutils
sle
3.4.5

json-utils
ted
1.0.8

vscodeintellicode
Vis
1.2.14

vscode-java-debug
vsc
0.37.0

vscode-java-dependency
vsc
0.18.8

vscode-java-pack
vsc
0.18.7

vscode-java-test
vsc
0.33.0

vscode-maven
vsc
0.34.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis200cf:30402084
vsaa593:30376534
vssld246cf:30401891
vscexrecpromptc:30404946
vscop804:30404766
vs360cf:30404996

it is not possible to create file and folder (directory) with the same name in one folder.
correct me if I wrong with the "bug" steps we should take to reproduce.

open some folder in vscode
create file with name xxx in it
try to create another file with name (name-path) 'xxx/xxx.yyy'
if steps are ok, there is no bug in here. folder('xxx') cannot be created if file('xxx') exists in the filepath you're in.

It's not clear to me what the bug is here. Please include detailed reproduction steps or a screen recording.
/gifPlease


how to use hiera to define docker version, other params

does anyone know how to use hiera to define docker version, other params. etc... ?
example: i need to specify: version, tcp_bind, iptables, etc.. ,  as decribed below
class { 'docker':
tcp_bind        => ['tcp://<IP_ADDRESS>:4243','tcp://<IP_ADDRESS>:4243'],
socket_bind     => 'unix:///var/run/docker.sock',
ip_forward      => true,
iptables        => true,
ip_masq         => true,
bridge          => br0,
fixed_cidr      => '<IP_ADDRESS>/24',
default_gateway => '<IP_ADDRESS>',
}

This should get you started.
docker::tcp_bind: "'tcp://<IP_ADDRESS>:2375'"
docker::socket_bind: "unix:///var/run/docker.sock"
docker::version: latest
docker::docker_users:
  - mterzo

awesome, thanks!

@obenziane2 can you close this issue if this answers your question?  Thanks!


Feature Request: Get User and Session IDs

It would be useful to be able to retrieve the user/session IDs so that I can provide them in error messages.
It looks like they are stored in cookies by default but I guess that is flexible.
I am happy to add this if you'd accept?

https://blazorschool.com/tutorial/blazor-wasm/dotnet6/cookie-storage-459520

Have you checked if there is any code in the ApplicationInsights.JS that performs this function?

I can't see it in their API.

Nice! Happy to contribute back and raise a PR?

A PR would be appreciated :)


draft: remove ttl, clear query once resolved

To implement invalidation, I need to remove ttl and clear the deduped promise is  resolved
Note: tests where the cache is suppose to be used are not passing
If this has gone too far from the original purpose, I'm happy to start a new module

Could the TTL/Cache be implemented on top?

imo, we have 2 options.
the first one, as it is, this module only dedupes requests, and the responsibility of data is delegated to something else, let's say "storage". The storage - could be redis or something else - manages the data, ttl and what it's related to data
the second option, this module use the storage, preferably injected, and access data through storage, so it still does not manage directly ttl, but it use the storage system to get/set data, and ttl. This one is very close to what I wrote on mercurius-cache draft - and it's my favorite

Let's do the latter!


bug when matching cases-sensitive repack/proper

Does an existing issue/feature request already exist?

[X] I've searched far and wide!

Does your feature request solve a problem you're facing?
The group E.N.D is still not detected properly in v6 safe mode.
v6: [decide] Akira 1988 Repack 1080p Blu-ray Remux AVC Atmos-E.N.D.mkv - no match for Aither torrent Akira.1988.UHD.BluRay.2160p.TrueHD.Atmos.7.1.DV.HEVC.HYBRID.REMUX-FraMeSToR.mkv - it has a different release group: undefined -> FraMeSToR
But at it found matches even like this, I guess because it matched undefined to undefined, compared to v5 where it didn't work.
v5: [decide] Akira 1988 Repack 1080p Blu-ray Remux AVC Atmos-E.N.D.mkv - no match for Aither torrent Akira 1988 Repack 1080p Blu-ray Remux AVC Atmos-E.N.D.mkv - it has a different release group
Not sure why it fails to detect it, maybe it doesn't like the dots.
It also seems to have trouble with Repack, guess because it's not all caps
[decide] Akira 1988 Repack 1080p Blu-ray Remux AVC Atmos-E.N.D.mkv - no match for MoreThanTV torrent Akira.1988.REPACK.Dual.Audio.1080p.BluRay.Remux.FLAC.2.0.H.264-E.N.D - one is a different subsequent release: INITIAL -> REPACK
(I don't get MTV put different audio codec in the release title, the filename is the same)
What would you like for cross-seed to do?
It seems like a cosmetic thing at this point as the matching undefined to undefined works in v6.
Same with the unrecognized Repack to Repack, except when uploaders are being creative.
What are you currently doing, if anything, to solve or work around the issue?
Manual matching
Additional comments
.

the thing about the matching groups is MORE OR LESS irrelevant outside of the logging message - the repack/proper stuff is a bug - I've opened a PR to address this
in regards to the group, unless the group is renamed in the candidate, it will never be undefined in one and something in the other that should be a match and undefined to undefined is a match so I'm not sure that's something that really needs to be addressed functionally.
as long as we are equally applying them across the local and remote, the matching is fine.
i get that its not logging it correctly but it doesn't affect matching as long as the group is consistent across the two releases
which it should almost always be outside of the uploader tagging, which we already account for.


cannot download dozer 5.4.0 source code zip

Hi,
I tried to download the dozer 5.4.0 source code zip from the link below:
https://github.com/downloads/DozerMapper/dozer/dozer-5.4.0-src.zip
but I always get the following message: "File was not found."

As the source is a git repo, you can clone/fork the code.


Mark getShardInfo() nonnull

Pull Request Etiquette

[x] I have checked the PRs for upcoming features/bug fixes.
[x] I have read the contributing guidelines.

Changes

[ ] Internal code
[x] Library interface (affecting end-user code)
[ ] Documentation
[ ] Other: _____

Closes Issue: NaN
Description
The shard info indicates which shard id and shard total the current JDA session uses. If sharding is disabled this is equivalent to [0 / 1]. The identification string used for thread names is unchanged and will not report shard details unless explicitly set through useSharding or the shard manager.

This is not a breaking change in java because it only changes an annotation.
This is not a breaking change in kotlin because you can also store nonnull types in nullable typed variables. Safe-call operators should just emit a warning similar to unnecessary null checks.

Would there still be a way to check if the JDA instance is actually part of a sharded bot?
I have an API that checks if JDA has ShardInfo to optionally add the shard id and shard count and this change would make it always set those which really isn't useful in case of a single, non-sharded bot.

A non-sharded bot has the shard total of 1 and shard id 0. That means its effectively not sharded either way. This behavior of useSharding(0, 1) and not setting sharding configuration is identical should be treated the same.


Yum Repository with url parameter fails

Description
Using the url property on the yum_repository resource causes chef-client to fail the run.
This was supported by the yum cookbook through alias_method calls (https://github.com/chef-cookbooks/yum/blob/master/resources/repository.rb#L69).
Chef Version
12.14
Platform Version
CentOS 7.1
Replication Case
yum_repository 'example' do
  url 'http://example.com/'
end

Tested with a dependency on the yum cookbook, but I assume it would happen without this dependency
Client Output
The relevant output of the chef-client run or a link to a gist of the entire run, if there is one.
================================================================================
         Recipe Compile Error in /.../recipes/default.rb
         ================================================================================

         NoMethodError
         -------------
         undefined method `url' for Chef::Resource::YumRepository

Relevant File Content:
         ----------------------
         /tmp/kitchen/cache/cookbooks/datadog/recipes/repository.rb:

          36:
          37:  when 'rhel', 'fedora'
          38:    include_recipe 'yum'
          39:
          40:    yum_repository 'datadog' do
          41:      name 'datadog'
          42:      description 'datadog'
          43>>     url node['datadog']['yumrepo']
          44:      # Older versions of yum embed M2Crypto with SSL that doesn't support TLS1.2
          45:      prefix = node['platform_version'].to_i < 6 ? 'http' : 'https'
          46:      gpgkey "#{prefix}://yum.datadoghq.com/DATADOG_RPM_KEY.public"
          47:      action :add
          48:    end
          49:  end
          50:

Looks like this is happening since the yum cookbook has alias_method :url, :baseurl in the yum_repository resource def
The parameter was renamed from url to baseurl over 2.5 yrs ago in https://github.com/chef-cookbooks/yum/commit/03e455c4798b2eef918381824ca907e839a1207f

As a short term fix you can monkeypatch this back in to the core version. Add this in a libraries/default.rb somewhere:
class Chef::Resource::YumRepository < Chef::Resource
  alias_method :url, :baseurl
  alias_method :keyurl, :gpgkey
end

Even though we deprecated that old property in the docs we didn't actually add a deprecation notice. We should probably support passing URL still, but throw a deprecation notice. We have the same problem with the old actions.

@tas50 :+1:

#5320 is the immediate fix. We can figure out exactly how we'd like to deprecate those properties in another PR

This is fixed in master

whats the process for getting a new release into RubyGems? Do you not publish every release?

Each release is available via the install.sh script by specifying the 'current' vs. 'stable' channels. Each release is not pushed to Rubygems however. We push what we consider the final release up to Rubygems, which is why 12.14.60 is the only 12.14.X release on Rubygems. We're currently working on 2 additional regressions and we'll make another release once those are complete.

thanks for the explanation!


Arlo started same symptom of Platforms that do I/O inside properties and battery level update failure

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.55
Python release (python3 --version):
3.6.2
Component/platform:
Arlo
Description of problem:
Update state of arlo camera taking excessively long
Expected:
Quick Arlo cam update
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):
WARNING (MainThread) [homeassistant.helpers.entity] Updating state for camera.front_cam took 19.038 seconds. Please report platform to the developers at https://goo.gl/Nvioub

2017-10-07 17:49:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
    self._camera.get_battery_level,
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-07 17:49:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
    self._camera.get_battery_level,
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-07 17:49:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
    self._camera.get_battery_level,
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-07 17:49:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
    self._camera.get_battery_level,
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable
2017-10-07 17:49:50 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
    result = coro.send(None)
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 237, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 104, in device_state_attributes
    self._camera.get_battery_level,
  File "/srv/homeassistant/homeassistant_venv/lib/python3.6/site-packages/pyarlo/camera.py", line 132, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable

Additional info:

https://github.com/home-assistant/home-assistant/pull/9738

Looks like my PR caused this. Not exactly sure how to address – will dig.

I have a PR in the pyarlo library that should help with some of the NoneType errors:  https://github.com/tchellomello/python-arlo/pull/48
I don't think the timeouts are specific to the Arlo component, though.  I have a dozen other components that are throwing long-running warnings, as well.

@jwillaz  @bachp  I had some issues with the latest 0.55 too.
@jwillaz  let's address some points on the PR you sent, then we can test it using the new pyarlo to see if it will fix the issue.

Upon further testing, there definitely seems to be an issue with the camera component.  I can load the Arlo platform and sensor component just fine - takes less than 30 seconds to restart HASS.  However, if I load the camera component, HASS takes an excruciatingly long time to load (doesn't seem like it's coming back up sometimes).

@jwillaz  agreed. I think the it is related with the device_attributes and it's refresh rate on the camera component.
To test it, I disabled my arlo camera and HASS got back to normal. If I enabled the camera, I barely can load the HASS frontend.

Quick fix:  Remove battery_level, motion_detection_sensitivity, signal_strength, and unseen_videos from device_state_attributes in the HASS arlo camera component (arlo.py).  Also, add STATE_UNKNOWN constant back to import in Arlo sensor component and replace None returns with STATE_UNKNOWN.

Been monkeying around with this, but don't see a good way to fix it. I think it's occurring because the majority of the attribute calls – get_battery_level, etc. – require going back to the base station with a separate request.
@tchellomello: is there a way to augment PyArlo to return all camera attributes in one shot? If not, and unless anyone else has deeper knowledge of HASS' inner workings, we may have to pursue something like what @jwillaz mentions and scrub those attributes from the platform altogether.

Me again. 😎  I may have a solution; not sure if it's the correct one, but it seems to populate the attributes without blocking anything (including loading of the camera imagery):  https://github.com/home-assistant/home-assistant/pull/9758
Only noticeable difficulty is that, initially, all the camera properties are null – because I'm spinning out separate threads to update each camera's attributes (and because, as I mentioned previously, each thread has multiple RESTful calls to Arlo), it takes a bit to update the first time.

Putting the attribute updates in a separate thread is a good direction. Additionally, there needs to be some logic to selectively query for attribute updates. Realistically, these attributes don't change very often, yet they are constantly queried. This leads to thousands of hits against the Netgear endpoints. Though unlikely, I think the last thing we want is Netgear IP banning because we're DDOS'ing them.

@jwillaz That makes sense. Any suggestions on how to determine whether a re-query is needed? At a very simplistic level, I could just throttle that method to every 10 minutes or so...

Update of state including attributes, where I/O is involved, should be done in the update entity method, as far as home assistant goes. There are ways of limiting web api calls in home assistant, eg the Throttle decorator.
The stack trace suggest there's also an issue with the pyarlo library.

Unfortunately, Throttle doesn't appear to be the right solution (inasmuch as using it as a decorator): with it in place in my 4-camera setup, only 1 of the cameras ever receive their attribute updates.

I think we need to do a better job with caching the attributes on the PyArlo library too.
We currently have a few PRs that will work towards that direction.


BSOD

Microsoft PowerToys version
0.37.2
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
This did not happen before I install Power Toys. When the computer goes to sleep due to inactivity, it usually comes with a BSOD and is directly related to Power Toys. I've removed it and it stops happening
✔ Expected Behavior
Not to crash
❌ Actual Behavior
BSOD when it comes back from sleep
Other Software
No response

@lgeraher
Can you please send us a Bug report.
Therefore please click with rigth mous ob the tray icon and choose the Bug report entry.

PowerToysReport_2021-06-01-13-07-22.zip

without seeing the actual BSOD, this is going to be really hard to debug.  I don't see anything that stands out in the logs as well.  @yuyoyuppe / @SeraphimaZ do you?
Enabled

FZ
File explorer

@crutkas We've added EventViewer log collection to BugReportTool, but it's not in the released version yet, so if @lgeraher could look there for something suspicious, it'd be a great help!

@lgeraher
Can you run unsigned bug report tool on your machine?

Download https://github.com/mykhailopylyp/PowerToys/blob/0.39.0-bug-report-tool/BugReportTool.exe
Run it
Drag and drop the bug report from the desktop into the GitHub comment


Error when adding the cluster

What kind of request is this (question/bug/enhancement/feature request):
Bug
Steps to reproduce (least amount of steps as possible):
Just installed a new Rancher server and when adding the GCP cluster it throw the error
Result:
Error from server (Forbidden): error when creating "STDIN": clusterroles.rbac.authorization.k8s.io "cattle-admin" is forbidden: attempt to grant extra privileges: [{[] [] [] [] []} {[] [] [] [] []}]<EMAIL_ADDRESS>[system:authenticated] map[user-assertion.cloud.google.com:[AKUJVpnIxXk+TeJ05eAJHO97UzInN8GJ+jvQWWXgCFEkK0EmH7WYCJRQrG+ybiVFP+1a+w45xpYhQ9knJeOJqBbb1nx2c09WWoMhHKIpLa+7ujkFQ/yr7l6dNSsoVAJlVF+gNRkJPcqPX4S+RSblb5ZgUSH/sNoMd8rmmeOcFClWJJuY9yGHtHfMJ2kZV3f4B8s0adXkpsvoe2MeJjy8CGecIjlzM3Lb5tEPjR9cKAlnpAkisMk81OgtJUQ=]]} ownerrules=[{[create] [authorization.k8s.io] [selfsubjectaccessreviews selfsubjectrulesreviews] [] []} {[get] [] [] [] [/api /api/ /apis /apis/* /healthz /openapi /openapi/* /swagger-2.0.0.pb-v1 /swagger.json /swaggerapi /swaggerapi/* /version /version/]}] ruleResolutionErrors=[]
Other details that may be helpful:
Other cluster work in GCP
Environment information
Ubuntu 18.04
Latest Docker installed
Docker version 18.09.5, build e8ff056

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):
docker run -d --restart=unless-stopped
-p 80:80 -p 443:443
-v /opt/rancher:/var/lib/rancher
rancher/rancher:latest

Installation option (single install/HA):
Single server install

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Hosted
Machine type (cloud/VM/metal) and specifications (CPU/memory): Cloud
Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.0", GitCommit:"641856db18352033a0d96dbc99153fa3b27298e5", GitTreeState:"clean", BuildDate:"2019-03-26T00:04:52Z", GoVersion:"go1.12.1", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.8-gke.6", GitCommit:"394ee507d00f15a63cef577a14026096c310698e", GitTreeState:"clean", BuildDate:"2019-03-30T19:31:43Z", GoVersion:"go1.10.8b4", Compiler:"gc", Platform:"linux/amd64"}

(paste the output here)

Docker version (use docker version):

(paste the output here)

I guess maybe this step was missing. Please let us know in a comment if you can still reproduce the issue, and we'll reopen it.


Implement INITSYSTEM for Alpine base images.

@petrosagg, I just found out that udev service couldn't be started properly on edison board, so I will remove udev from start_pre script. Users can start it manually if they want to

SGTM


Support for redmine_contacts has been added

I added Redmine CRM support to it.

cannot test with Redmine CRM but code seems legit. will add this. thanks for your contribution.


Simplify (sub)project description for publication to maven central

Why are you getting rid of all the more detailed descriptions?

Simplification - did they add value ?


Simplify empty collection

Okay this shouldn't change anything maybe the id change on the previous PR already fixed it, I'll leave it for now


Directed Acyclic Graph support?

Question
Apologies if this has been asked in the community somewhere. I'm currently using LangChain with LangGraph but Mirascope looks like a simpler/better alternative to LangChain - is that correct?
and if so, how do you approach LangGraph primitives to have more control over agentic workflows?

LangGraph reminds me of TensorFlow v1.
Our current focus is to make the primitives for working with LLMs as good as they can be so that writing even more complex agent workflows doesn't require giving up control like using LangGraph seems to require (for example, where are the tools being called? how are they being called? what if I want to do something more custom?).
If we do decide to implement an additional level of abstraction on top of these primitives for building agentic workflows, I would strive to implement a system more like PyTorch 2.0 and less like TensorFlow v1. If there's a graph, it should be run eagerly and not compiled. Creating it should be the same as chaining functions together -- not manually constructing the graph yourself.
There is a reason that PyTorch is currently the clear winner

LangGraph would be great but they require too much boilerplate code to do it. I don't think their concept is wrong, just their implementation is verbose/ugly. Just like LangChain is a good concept but a bad implementation.
I've stumbled on a comment in the slack channel that mentions creating a DAG with the cached_property decorator, but it is less clear how this can achieve the same thing as LangGraph. Perhaps some examples for how to implement these would help me understand: https://langchain-ai.github.io/langgraph/tutorials/

I agree with you.
In the new v1 interface you can use computed fields to create chains/graphs easily. For example:
from mirascope.core import openai

@openai.call("gpt-4o")
def recommend_author(genre: str):
    """Recommend an author who writes {genre} book."""

def format_book(title: str, author: str):
    return f"{title} by {author}"

@openai.call("gpt-4o", tools=[format_book])
def recommend_book(genre: str):
    """Recommend a {genre} book written by {author}."""
    return {"computed_fields": {"author": recommend_author(genre)}}

response = recommend_book("fantasy")
if tools := response.tools:
    for tool in tools:
        output = tool.call()
        print(output)
else:
    print(response.content)

You can see here that writing arbitrarily complex chains/DAGs is as simple as just writing functions and calling them. For example, you could wrap the tool-use part of the script in another function and use that as a computed field in another call. The DAG is implicit in how you're calling the functions. The main thing is that you're fully in control.
I think re-implementing the examples you shared using Mirascope would be a great thing to include in the cookbook we're working on, so thank you for sharing! We'll push to have those examples ready for the release :)

@joekendal we implemented the LangGraph quickstart tutorial the Mirascope way.
Would love to know if this is in line with what you're looking for wrt. DAG support?

I've added a new issue (#522) to track showing how Mirascope supports the same things as LangGraph without the graph abstraction.
If there is a desire for specific features around DAG support, we can open a new issue that defines what features we should add and why.

@willbakst looks awesome, thanks. do you have any best practices for deployment to production?

We don't have any formally written documentation here. I've added another issue for including documentation specifically around production deployment best practices that we hope to get to soon.
Generally since everything is written using Pydantic, catching API errors and validation errors leads to a fairly robust system, and using our [tenacity integration] makes including retries easy to make your systems even more robust.

@joekendal we implemented the LangGraph quickstart tutorial the Mirascope way.
Would love to know if this is in line with what you're looking for wrt. DAG support?

It looks like the link results in 404 @willbakst

Ah, yup that link is stale. I've updated the links in all comments.
For reference, this is the tutorial.


Typo on property "deviceOrientationAnterFullscreen"

Hi,
I believe the actual name for this property should be "deviceOrientationAfterFullscreen" (...After...)
Cheers,
Marcos

Oops, you're right. I didn't notice that!
Thank you, i will fix it asap :)


Update Blazor script sources

Fixes #17367

This is one way that we can try and get AAD/B2C devs to skip this and go directly to the AAD/B2C topics in this node.
The other set of updates here is to use two INCLUDES files for the index.html page in order to show the two different scripts in use across the node.

This includes a bug fix, so I'm going to go ahead and take it live.


Settings file

This doesn't really do anything, but removes a little bit of labour for when we do need something specific.

are we squashing things now

only once the reviewer is happy with the PR

lgtm pls squash

done


Remove unused infos, http-ui, and milli/fuzz, crates

We haven't used the infos/, http-ui/ and milli/fuzz/ crates in a long time. They are not properly maintained and probably do not work correctly anymore.
This PR removes these crates entirely from the workspace to reduce the amount of code we need to maintain.

Bye bye pretty crates 🦀


Parametrise Schema location

Currently Schema file location is hardcoded is "resources" folder of the Troy itself.

This should be parametrised. Allowing future plans, like schema versioning.
Allow Troy to read resources folder of user's project at Compile time.

Schema versioning has been implemented to look for both paths.
Schema location has been parametrised from schema-engine, but now hardcoded in the macro.
Now we have configuration mechanism, we can implement this as withSchema.load("resources/path/..."), however due to point#1, this task has much lower priority at the moment.


Same problem for us. We have Tier-5 but in OpenAI the o1-mini model is listed and the others are listed as text models. Is that the problem? We get the same error message.

Same problem for us. We have Tier-5 but in OpenAI the o1-mini model is listed and the others are listed as text models. Is that the problem? We get the same error message.
OPENAI_MODELS=gpt-3.5-turbo,gpt-4,gpt-4-turbo,gpt-4o,gpt-4o-mini,o1-preview,o1-mini,o1-mini-2024-09-12
DEBUG_OPENAI=true
# TITLE_CONVO=false
# OPENAI_TITLE_MODEL=gpt-3.5-turbo
OPENAI_SUMMARIZE=true
OPENAI_SUMMARY_MODEL=gpt-3.5-turbo
# OPENAI_FORCE_PROMPT=true
# OPENAI_REVERSE_PROXY=

Version is Librechat 7.5.-rc2
Originally posted by @fbaeumer in https://github.com/danny-avila/LibreChat/discussions/4037#discussioncomment-10668516

https://github.com/danny-avila/LibreChat/discussions/4037#discussioncomment-11051552


Update PSR templates

Ref: https://python-semantic-release.readthedocs.io/en/latest/changelog_templates.html

Will be fixed via #229


Fix HTML5Shiv link

Google Code has closed down so the link no longer works -instead use https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js which Bootstrap 3 uses: https://getbootstrap.com/docs/3.4/getting-started/#template

closing this now. No one needs IE9 support anymore. I suggest removing this altogether:
  <!--[if IE]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  <![endif]-->


Security - TSS-879 - Security Updates

upgraded certifi to resolve https://github.com/advisories/GHSA-xqr8-7jwr-rhp7

Codecov Report
Patch and project coverage have no change.

Comparison is base (cdb345e) 36.52% compared to head (314caa7) 36.52%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #267   +/-   ##
========================================
  Coverage    36.52%   36.52%
========================================
  Files          104      104
  Lines         4290     4290
  Branches       737      737
========================================
  Hits          1567     1567
  Misses        2723     2723

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


Animation on area graph when y axis does not start at 0

Description
On an area type chart. If the min and max values on the y axis are high, the animation is ugly.
The animation seems to systematically start from 0 and therefore if the graph only has large values, only the end of the animation is displayed (we almost have a display without animation).
Steps to Reproduce
Example to reproduce the case:
https://codepen.io/LORDINGBEATEN/pen/vYommXX
        var options = {
          series: [{
          name: 'series1',
          data: [242737,242737,242776,242776,242776,242828,242861,242903,242943,243029]
        }],
          chart: {
          height: 350,
          type: 'area',
            animations: {
                enabled: true,
                easing: 'easeout',
                speed: 800,
                animateGradually: {
                    enabled: true,
                    delay: 150
                },
                dynamicAnimation: {
                    enabled: true,
                    speed: 350
                }
            }
        },
        dataLabels: {
          enabled: false
        },
        stroke: {
          curve: 'smooth'
        },
        xaxis: {
          type: 'date',
          categories: ["2024-08-15","2024-08-16","2024-08-17","2024-08-18","2024-08-19","2024-08-20","2024-08-21","2024-08-22","2024-08-23","2024-08-24"]
        },
        tooltip: {
          x: {
            format: 'yyyy-MM-dd'
          },
        },
        };

        var chart = new ApexCharts(document.querySelector("#chart"), options);
        chart.render();

Expected Behavior
Animation should start from min of y axis.
Actual Behavior
The feed seems to start from the value 0 of the y axis.
Screenshots

Reproduction Link
<div id="chart">
</div>

#chart {
  max-width: 650px;
  margin: 35px auto;
}

        var options = {
          series: [{
          name: 'series1',
          data: [242737,242737,242776,242776,242776,242828,242861,242903,242943,243029]
        }],
          chart: {
          height: 350,
          type: 'area',
            animations: {
                enabled: true,
                easing: 'easeout',
                speed: 800,
                animateGradually: {
                    enabled: true,
                    delay: 150
                },
                dynamicAnimation: {
                    enabled: true,
                    speed: 350
                }
            }
        },
        dataLabels: {
          enabled: false
        },
        stroke: {
          curve: 'smooth'
        },
        xaxis: {
          type: 'date',
          categories: ["2024-08-15","2024-08-16","2024-08-17","2024-08-18","2024-08-19","2024-08-20","2024-08-21","2024-08-22","2024-08-23","2024-08-24"]
        },
        tooltip: {
          x: {
            format: 'yyyy-MM-dd'
          },
        },
        };

        var chart = new ApexCharts(document.querySelector("#chart"), options);
        chart.render();

No reproduction link was provided (code snippets don't count). I will reopen when the link has been provided.

This is not so much a bug, but rather a request to improve the animations when dealing with large values. Reopening for consideration of a future improvement.


Only get the final upload file when changing the value of the replaceFileInput property to true with the files in the different folders

Only get the final upload file when changing the value of the replaceFileInput property to false with the files in the different folders. please help me . i upload via php

Please do not abuse the pull request feature.


Adjustments for Windows High Contrast Mode

I have created a new base SCSS partial that tackles the accessibility issues shown in SVG icons, focus colours and border colours across the components. A major issue seems to be that High Contrast Mode forces borders and box-shadow properties to be ignored, an outline property instead seems to fix this issue well.
SVG colours are also not overridden by any of the High Contrast modes, therefore can prove quite difficult to see based on which mode is being used and the default colour of the SVG. Specifying for these SVGs to have a fill property of "CanvasText" matches them to the current text color of the mode in use, ensuring they will be visible.
Currently, I've viewed the changes on Edge, Firefox and Chrome and all seems to be well.

Looking good Cat!  It's really interesting to know exactly what the modes cover.. I've not looked into this mode at all personally.
I think the reason that a box-shadow/border focus style might be preferred in some cases depends on the design.  An outline appears around the whole element, and ignores the likes of border-radius, so focus styles are a bit clunkier when rounded buttons are used for example.  But that's not an issue for the patterns site to worry about - more something that would need to be adjusted depending on the project.
I'd be tempted to move the styles for the components into a 'contrast' block at the end of each specific SCSS partial, rather than include them in a single file in 'base' - just so that the base folder stays independant of the components.  But that might just be my personal preference - thoughts @mjbp ?  It's another thing that may not be too much of a concern for the patterns examples site itself.
All looking good though - I think most of the changed files are just reporting whitespace, so all good there - and I think the package lock change should be OK if we want to include that as well @mjbp ?
Thanks Cat!!

The separate _contrast base partial was my fault, I think I explained it badly. I agree with Sarah that any of the contrast styles that are applied to specific className selectors should exist alongside the rest of the CSS for those selectors.
If there are any that we can apply to base selectors (like :focus, or :focus-visible) we can add those in a base partial - either _normalise or a _contrast. It looks like that isn't the case here though, so everything should be moved to the partial containing the rest of the styles for the className selector.
Otherwise it all looks good. I'll keep the PR open to refactor the styles out of the contrast partial and I'll deploy to Netlify for @susannah-rogers to retest.

That makes sense! I'll move those into the correct partials today, thank you so much for the feedback!
I agree using an outline for everything wouldn't be ideal, there seems to be a way of making an element's border transparent which then becomes visible in High Contrast Mode. I'll have a look further into it and see what else we might be able to do!

I've popped all the relevant adjustments to the end of each partial and changed adjusted outlines to transparent borders where applicable!
It seems that a transparent border or outline will be automatically overridden into an appropriate colour by WHCM (Windows High Contrast Mode). Depending on case, one of these options provides the most suitible replacement for anything using a box-shadow, which is dismissed and automatically set to none in WHCM.

Ah great - that's good to know!  There are a lot of cases where an outline will be totally fine as well, so it's good to know which options we have for that.
Thanks Cat!


cant add ext to vscode

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

[error]: An error occurred while writing to "c:\Program Files\nodejs\hubspot.config.yml". This is the result of a system error: EPERM: operation not permitted, open 'c:\Program Files\nodejs\hubspot.config.yml'

[error]: An error occurred while writing to "c:\Program Files\nodejs\hubspot.config.yml". This is the result of a system error: EPERM: operation not permitted, open 'c:\Program Files\nodejs\hubspot.config.yml'

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Build fails on Debian 9.6 - no /X11RDP-o-Matic/work/xrdp/xorg/ directory exists.

I've tried to run X11RDP-o-Matic on Debian 9.6.
It fails with:
patch: **** Can't change to directory /home/david/X11RDP-o-Matic/work/xrdp/xorg/X11R7.6/rdp : No such file or directory
I created a version of ./X11rdp-o-matic.sh that includes step numbers so that I could work out where it was failing.  This is attached in case it might be useful to others.
X11rdp-o-matic.DG.txt
The release notes for X11R7.6 see https://www.x.org/releases/X11R7.6/doc/xorg-docs/ReleaseNotes.html suggest thatX11 has moved on considerably.
Has anyone else tried to build on Debian 9.6 ?

I know it fails. Read #84.


Add accessible mobile-friendly wrappers for responsive tables

Resolves #26

Tested and confirm it works. Can follow up with all tables wrapped and some documentation in a subsequent PR.
Thank you for the PR, @Darthku8 , and congrats on your first open source contribution!


Mid-game prototype loading for game admins

Allows game admins with the permission (+QUERY, as I didn't feel like making another perm just for one command) to send arbitrary prototypes to the game server and have it send them out to clients so they can be used.

:cl: moony

add: Admins can now create custom game objects on the fly.

Surprisingly, no conflicts. Congrats!


Library: End of list spinner

When reaching the end of the library the loading spinner looks broken (not center with a border below it)
Steps to reproduce
Navigate to library and scroll to end of page and wait for next results to load
Expected behavior
The loading spinner is styled (centered and has some padding top and bottom)
Actual behavior
Looks buggy (white background/not centered/loose border)

Environment

iOS Version: 14
raywenderlich.com App Version: 1.0.5
Device: iPhone 11

Closed via #537


Umbenennung und Anpassung auf "Profil erstellen" Seite

As
user
I want to
be adressed correctly even if I am not a student
in order to
not be confused
Acceptance criteria

"Vorraussichtliches Abitur" is deleted from the profile (organizers have to add it to the custom application fields)
The field "Schule" is deleted form the profile
The field "Schule/Organisation" is added for each application
The option "Schule anzeigen" on the print name badges page is replaced with "Schule / Organisation anzeigen"
Please search for "Schule" in the project folder and replace other occurrences, if present.

:heart:


on v1.pixelbots.io, short and long link oddness

I'm not sure if this is just transitional, but I'm observing the following behavior for new and old playlists (i.e. those created before v1.pixelbots.io went live):

When clicking on a playlist, either from a search (e.g. "bug out") or a user's playlist page (e.g. https://v1.pixelbots.io/getcoding/playlists), it goes to the /edit URI (e.g. https://v1.pixelbots.io/playlist/-LB-A6__QSWvMycS7M2Z/edit). This happens whether or not a user is logged in, and whether or not the user actually owns the playlist. None of the edit buttons are active, though.
(part of this may be intentional) Playlists can no longer be accessed via the long links; either /view or /edit—this returns a 404 error. The platform-generated shortlinks work fine.

#2 above is a problem when reloading pages.


The NuGet was missing the reference to the Support v4 Nuget. #159

This replaces PR #158 - Updated the README's for the binding.

@topgenorth,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

So AFAIK, Google Play Services has to be installed on the device, but GCM itself is not a dependency of the library (the Firebase Job Dispatcher docs are kind of hazy on this).  It's kind of weird: You can install an app that uses the FJD on a device without Google Play Services and it will run - however scheduling jobs silently fails (or that is what happens in my tests).

So, curious why you have them as a reference on the project?

So, it seems that the binding will work without having the GCM reference (at least it did on my device). The existing GCM references were a left-over from when I first started on the binding and GCM was necessary.
I've updated the binding project by removing GCM, and consolidated to a single solution (instead of one for the sample and one for the binding). I'll open another PR for those changes, I believe we can close this issue off.


Use the Prometheus exposition format for exposing metrics

Does it make sense to instrument using https://github.com/prometheus/client_golang?  // @kanishkarj
Originally posted by @leecalcote in https://github.com/layer5io/learn-layer5/pull/15/files

Yes, it is. It's always better to follow a standardized format I guess, xD

I'm curious if we can expose JSON response via the prometheus instrumentation libraries. I think it supports only counts and histogram.


ci/cd: update config.yml

I have improved the CI workflow to run in parallel for lint, test, and build.

run-build is failing. run-test seems stuck.


Initial version of DataLoader

Test PR:

focusing on #1
first try of using configen (great job with this one, @omry, "meta-program or die!" ;) )
generated config for PT DataLoader
as test, moved it to a different file - I assume we will have different contributors, hence different headers (e.g. copyright)

PR introduces:

[x] a separate configen configuration file for torch.utils.data
[x] generated config for torch.utils.data.DataLoader class

Issues:
When trying to set a config name that differs from rom the originally assumed configen.yaml
configen --config-dir=conf --config-name=torch.utils.data.yaml

configen is taising errors:
(hydra-dev) tkornuta@tkornuta-desktop:~/workspace/hydra-torch$ configen --config-dir=conf --config-name=torch.utils.data.yaml
Traceback (most recent call last):
  File "/home/tkornuta/anaconda3/envs/hydra-dev/lib/python3.7/site-packages/hydra_configen-0.9.0.dev4-py3.7.egg/configen/configen.py", line 203, in main
    if cfg.init_config_dir is not None:
omegaconf.errors.ConfigAttributeError: Key 'init_config_dir' is not in struct
	full_key: init_config_dir
	reference_type=Optional[Dict[Union[str, Enum], Any]]
	object_type=dict

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

@tkornuta-nvidia Are you envisioning we have many conf/configen-<module_specifc>.yaml files per project, rather than one monolithic config yaml per project? I'm not opposed, just wanna see if that's what you're proposing 🙂.

as test, moved it to a different file - I assume we will have different contributors, hence different headers (e.g. copyright)

For now I think we should stick to a single file until we have a good reason to start splitting to config groups.
All contributors will use the same copyright: Facebook's. it's a requirement for all committed code (and anyone signing the CLA agrees to it).

Key 'init_config_dir' is not in struct
I am not sure the configen pip package is updated, did you install from Hydra master?
Take a look at the code and figure out if that needs to be there or not.

@romesco:
The CI failures are because you pushed stuff that failed CI checks. Please fix it :).
We should only push stuff that passes all checks.

also, I think we should get into the habit of always adding tests when we add new configs.

@romesco:
The CI failures are because you pushed stuff that failed CI checks. Please fix it :).
We should only push stuff that passes all checks.

Yes, sorry it was because of the reorganization of file structure. I'll fix that.

@tkornuta-nvidia Are you envisioning we have many conf/configen-<module_specifc>.yaml files per project, rather than one monolithic config yaml per project? I'm not opposed, just wanna see if that's what you're proposing 🙂.

Yes, this is what I am proposing.

each file will be lighter, I think about having a file per pytorch module.
the header/licenses - I need to obey some rules, I guess other (external?) contributors might need to add something to their headers too...

@romesco:
The CI failures are because you pushed stuff that failed CI checks. Please fix it :).
We should only push stuff that passes all checks.

ehehe, but it wasn't me ;)

@tkornuta-nvidia Are you envisioning we have many conf/configen-<module_specifc>.yaml files per project, rather than one monolithic config yaml per project? I'm not opposed, just wanna see if that's what you're proposing 🙂.

Yes, this is what I am proposing.
1. each file will be lighter, I think about having a file per pytorch module.

2. the header/licenses - I need to obey some rules, I guess other (external?) contributors might need to add something to their headers too...

I think we should use Hydra to compose configs for us much like we do otherwise.
configen is powered by Hydra, we can have a config group for project and do a sweep to generate configs for all projects.
There are also some questions are PyTorch version and Hydra version, which may be additional sweep dimensions eventually.


Update glamorous-component-factory.md example code

{"content" => "content"}
notice the removal of > after the text glamor-generated-class
Notice this typo while reading the documentation @ https://www.glamorous.rocks

What:

Why:

How:

You are correct!


Fix Broker Name

https://github.com/Peripli/service-broker-proxy/pull/75 fixed an issue with conflicting broker names by appending the broker id to the proxy broker registration.
However, the broker ID was not added everywhere and therefore when visibilities resync was happening, proxy always found 0 visibilities in platform and tried to create all SM visibilities.

Coverage remained the same at 90.163% when pulling aef75f516104e320a8e58f500c33139168b1d4b4 on fix-broker-name into eb5242e85fa97b81f3122b3e73a4f070599869aa on master.


Layer "properties" property should be parsed and used in JS contexts

https://github.com/tangrams/tangram-es/blob/master/core/src/scene/sceneLoader.cpp#L1352
https://github.com/tangrams/tangram-docs/blob/gh-pages/pages/layers.md#properties

This feature might be made obsolete by the upcoming "scene properties" feature (PR in tangram-js). In that case, layer "properties" could be deprecated. While we implement "scene properties" and determine whether to maintain support for layer "properties", this issue will be put on hold.

This feature has been deprecated in JS (https://github.com/tangrams/tangram/commit/8499e65c90488515658ae9c596f70e3565e50852)


Create Integration tests (continuum auth)

See auth repo for example integration test.

Blocked because of https://github.com/libero/continuum-auth/pull/23#discussion_r363697167
We need to have the mock profile service running in a container as localhost config won't work when running the app locally. This will require https://github.com/libero/reviewer-mocks/issues/18 to be completed.


custom statistical function - Datadrift

Hi,
I need some help please, I am unable to get the custom statistical test quite right when producing the datadrift report.
I have posted below snippets from my code, please let me know if you need more info.
evidently version: 0.1.45.dev0
Python version: 3.9.7
Mac M1 pro

from scipy.stats import  ttest_ind

column_mapping = ColumnMapping()
column_mapping.target = "target"
column_mapping.prediction = "prediction"

def welch_ttest(reference_data: pd.Series, current_data: pd.Series):
    return float(ttest_ind(reference_data, current_data)[1])

options = DataDriftOptions(
    feature_stattest_func=welch_ttest
    confidence=0.95
)

data_and_target_drift_dashboard = Dashboard(tabs=[DataDriftTab()])

data_and_target_drift_dashboard.calculate(dev_data,
                                        prod_data,
                                        column_mapping = column_mapping)

data_and_target_drift_dashboard.show(mode='inline')

The output produced in the dashboard has "0" p-value for all features, which does not correspond to the output I get if I run the welch_ttest like so;
for i in dev_data.columns:
    print(i , welch_ttest(dev_data[i], prod_data[i]))

I do know if I run the Kolmogorov-Smirnov (K-S) test on my dataset I get "0" p-values for all features. Now I don't know whether the dashboard displaying "0" p-value for when I pass the  feature_stattest_func=welch_ttest is a coincidence (hard-coded, K-S test p-values??) or if it is because I am doing something wrong.
PS: I have tried other custom tests as well and the p-value of the HTML dashboard is always "0", which does match K-S test but not the other custom tests I want to run.

Thanks

Hi @shahasim,
I see in your example: you created options object, but it is unused in Dashboard object:
data_and_target_drift_dashboard = Dashboard(tabs=[DataDriftTab()], options=[options])
If it isn't typo in Issue so it would lead to your problem.

hey @Liraim , many thanks for your reply. It was a typo in the example in pasted above and in the meantime I've also identified the bug in my code :). Happy for you to close this ticket. Thanks again 👍

Hi @MoritzWag, if you have a problem with options, you can create an issue or ask question on our Discord server.


Uncaught (in promise) Error: Could not find source file: 'inmemory://model/node_modules

tsMode.js:8 Uncaught (in promise) Error: Could not find source file: 'inmemory://model/node_modules/react/package.json'.
    at Ve (tsWorker.js:254:8493)
    at Object.In [as getSyntacticDiagnostics] (tsWorker.js:254:13367)
    at Nm.getSyntacticDiagnostics (tsWorker.js:33954:2433)
    at y.fmr (workerMain.js:17:33335)
    at a._handleMessage (workerMain.js:13:97450)
    at Object.handleMessage (workerMain.js:13:97075)
    at C._handleRequestMessage (workerMain.js:13:93890)
    at C._handleMessage (workerMain.js:13:93344)
    at C.handleMessage (workerMain.js:13:93232)
    at a.onmessage (workerMain.js:13:97167)

I can see the models are there, but probably not attached to the editor or something?

Hello @dolanmiu, thank you for your report. Can you share the code you put into monaco, and the code that you used to mount monaco and attach the auto-typings plugin

Very simple, but I pass my own version of monaco
const model = monaco.editor.createModel('', 'typescript', monaco.Uri.parse('inmemory://model/widget.tsx'));
model.updateOptions({ tabSize: 2 });
this.editor = monaco.editor.create(this.editorContainer.nativeElement, {
  model,
  language: 'typescript',
  theme: 'vs-dark',
  automaticLayout: true,
});

monaco.languages.typescript.typescriptDefaults.setCompilerOptions({
  ...monaco.languages.typescript.typescriptDefaults.getCompilerOptions(),
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  jsx: 'react' as any,
  lib: ['dom', 'esnext'],
});

 this.autoTypings = await AutoTypings.create(this.editor, {
      monaco,
      sourceCache: storage, // Cache loaded sources in localStorage. May be omitted
      onUpdate: (u, t) => {
        if (u.type === 'StoredToCache' || u.type === 'LoadedFromCache') {
          for (const origin of CONSUMER_SPA_ORIGINS) {
            this.window.postMessage([t], origin);
          }
        }
      },
      onError: (e) => {
        for (const origin of CONSUMER_SPA_ORIGINS) {
          this.window.postMessage([e], origin);
        }
      },
    });

Can you try to add the following to the compiler options:
moduleResolution: options.monaco.languages.typescript.ModuleResolutionKind.NodeJs,
allowSyntheticDefaultImports: true,
rootDir: options.fileRootPath,

and if you're not already doing that, maybe also try importing AutoTypings from monaco-editor-auto-typings/custom-editor rather from monaco-editor-auto-typings directly.

Can you try to add the following to the compiler options:
moduleResolution: options.monaco.languages.typescript.ModuleResolutionKind.NodeJs,
allowSyntheticDefaultImports: true,
rootDir: options.fileRootPath,

and if you're not already doing that, maybe also try importing AutoTypings from monaco-editor-auto-typings/custom-editor rather from monaco-editor-auto-typings directly.

applying these steps fixed it for me, without specifying rootDir as I'm not sure where its value would come from.


3 minor patches

cli: Add more docstrings
Specifically for commit.

cli: Use bool::then
Minor drive by code improvement.

tree-wide: Use some captured identifiers in format strings
xref https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings
Another drive by code improvement, no immediate motivation.  I've
just been using it in other places and I think we're fine to hard depend
on Rust 1.58 - it's in RHEL8.6 for example.

Need to bump MSRV here.

Updated :new: MSRV