Babel/JSX

For me the the babel/react loader seems to be not working. I followed the README and did "npm install" followed by "npm run dev" using npm version 3.10.6 (and node version 4.2.6, if that's relevant). I got an error saying that  was invalid syntax in "app.jsx". Any tips? Is there something missing in dependencies in package.json?

Someone had a similar issue with the vizceral project itself when trying to run webpack from the node_modules directory.  Is that what you are trying to do? I made the same change to this project (7ffad14bbcd9b1f0d1ecce01c9da0b4462b83cf6) and published a new version to npm.

I found out what the problem was: I was missing the .babelrc file because I downloaded a zip, moved it's contents through select all -> cut -> paste (but I didn't move the hidden files).


Fix typos found by codespell

Fix only typos in doc/man* for inclusion in 3.* branches.
Other typos have been fixed in https://github.com/openssl/openssl/pull/20910.
Checklist

[x] documentation is added or updated
[ ] tests are added or updated

This pull request is ready to merge

Merged to master, 3.1, and 3.0 branches. Thank you for your contribution.


Multitenancy

As a SaaS operator I want to serve multiple clients with a single BPA instance

Duplicate of #558


[Hacker Rank]: Project Euler #1: Multiples of 3 and 5. Documentation …

…added.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (aa32092) to head (5a5f8c7).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines           57        57
  Branches         2         2
=========================================
  Hits            57        57

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


Added DNS lookup on launch

Resolve the first ip from DNS lookup result, and set it as remote ip.
Supports A and AAAA records.

warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

This warning still persists and there is no way to bypass glibc I'm afraid.
But by only resolve the DNS record once, there will be no more performance issue.
Random thought on DDNS support:

Use crontab to schedule periodic restart

Speaking of DDNS, see https://github.com/wangyu-/udp2raw-tunnel/pull/66

@freeyoung  Old support is ipv4 only I'm afraid. But I'm closing this pr since I no longer use this project.

@freeyoung I'm closing this pr because I no longer use this project. I'm afraid the old implementation only support ipv4, but indeed it makes this pr useless in someway.


Change media type to application/feed+json

The application/json media type (formerly ‘MIME type)’ is way too generic. It may cause clients trying to auto-discovery JSONFeeds to fetch several irrelevant JSON documents that may be linked from a document. JSONFeed calls for the introduction of a new media type so clients don’t need to download a ton of other JSON documents in an effort to discover JSONFeeds.
I suggest changing to application/feed+json (That is: type + underlying structure). Another example of this is type of media type is application/ld+json for the JSON for Linking Data or even application/atom+xml for Atom syndication feeds.
The new auto-discovery protocol would look like this:
<link rel="alternate" type="application/feed+json" href="https://example.org/feed.json" />

Note that media types should be registered (not required, but grants legitimacy to the standard). The process is defined in RFC 6838.
See also issue #73.

I agree with application/json+feed as the appropriate designation of the media type.
At some point in time, it had been proposed to standardise feed as a valid <link> relational attribute, specifically for the purpose of enabling feed autodiscovery. I don't think this caught very much traction, but I swear I've seen it used quite a number of times before in the source of production pages from more than one piece of CMS software. There shouldn't be anything technically invalid with using <link rel="alternate feed" type="application/feed+json" />. At least, it shouldn't and probably won't break feed autodiscovery. Even if you did this in an older client with an equivalent RSS or ATOM feed mediatype, it probably wouldn't break all but the lowliest RegExp.
Of note here is this article I dug up: https://blog.whatwg.org/feed-autodiscovery
Which states the following semantic posit:

The feed keyword can also be used in combination with alternate to say that it is specifically the feed for the current document.

Pragmatically, however: the <link> relational type specifier of alternate seems semantically coupled to any specified type to also infer the kind of alternate content which is linked. So, worrying about that is probably more important than debating semantics for now.
The consideration of drafting a registration according to RFC6838 is appreciated personally here. Thank you.

Going to close this but keep #32 open. Thanks!


Set map iterators

@droccom : I will fix that.

@droccom I have fixed the commit messages.  Can you do the code review?


Uncaught TypeError: elem.getAttribute is not a function

The problem is that the error in the title shows up on the console when I click any Delete Month buttons.
I have a sample application here which shows the problem.
But it essentially boils down to the use of trigger vs delegate in this particular scenario, because if I change (in src/bookingmonthview.html):
<button class="btn btn-link btn-sm" click.trigger="delete()">Delete Month</button>
to
<button class="btn btn-link btn-sm" click.delegate="delete()">Delete Month</button>
The problem goes away.  I have made the change in my code, but it might be useful for someone else in the future.  Especially when searching the interwebs shows up the opposite advice, as seen here:
https://github.com/aurelia/templating/issues/20

@michaelmalonenz you're the man, I was having the same issue and this solved it! Thanks!

duplicate of https://github.com/aurelia/templating/issues/20

Should be fixed a while ago now.

Should this be fixed in 1.0.0-beta.1 version? We're still experiencing the error.
The error occurs when the click handler is navigating to another route.
Switching to delegate instead of trigger fixes the error.
html:
<i class="fa fa-sign-out" click.trigger="onSignOutClick()"  title="Log af"></i>

js:
	onSignOutClick(){
		this.eventAggregator.publish(new LoggedOutEvent());
        this.router.navigateToRoute('login');
	}

Hey guys, I have created a plunker for that error, in 1.0.0-beta.1
it is related to jquery, is gone if import 'bootstrap' removed
http://plnkr.co/edit/yNR9h9
Uncaught TypeError: elem.getAttribute is not a function
Sizzle.attr @ jquery.js:1451
(anonymous function) @ jquery.js:1647
(anonymous function) @ jquery.js:2148
superMatcher @ jquery.js:2366
Sizzle.select @ jquery.js:2536
Sizzle @ jquery.js:855
jQuery.event.handlers @ jquery.js:4480
jQuery.event.dispatch @ jquery.js:4417
elemData.handle @ jquery.js:4121

Should this be reopened or a new issue created?
I'm seeing this error too in 1.0.0-beta.1

This isn't really an Aurelia bug, what's happening is both Bootstrap and your code are handling events and doing things that result in DOM changes.  A race condition essentially. If you use trigger you'll beat Bootstrap to the punch (it uses event delegation) and if you use delegate Bootstrap will win the race because it's event delegation subscription was setup prior to Aurelia's (Aurelia's is set up lazily).
When you run into this issue, use delegate or prevent the event from bubbling if you want to continue using trigger.

Many thanks for looking into this


Custom worker

Hey,
how would I go about adding a custom worker with this chart? for reference, I updated the axians-netbox-pdu plugin, which requires a worker for collecting the SNMP data from the PDUs, see here https://github.com/minitriga/axians-netbox-plugin-pdu#preparation
as far as I can tell, there is no standardized way to achieve that with this chart. Am I wrong?

I'm not sure why the plugin would require its own worker rather than just using the existing queues, but this seems to be a request that has come up a few times. I'll have a think about this for the upcoming 5.x release of the chart.


Improve strings

This fixes small issues in the strings, such as capitalization and redundances.

Automated message from Dropbox CLA bot
@YagoGG, it looks like you've already signed the Dropbox CLA. Thanks!

@timabbott LGTM!

Merged, thanks @YagoGG!


oc.dict.values/keys support relative keys

oc.dict.values/keys currently only uses absolute keys, which makes it annoying in implementing some cases, e.g., workaround described in https://github.com/facebookresearch/hydra/issues/1939. However, supporting relative keys are easy (just call _get_full_key())!

It seems that oc.dict.keys does work with relative dotpaths but oc.dict.values does not.
from pytest import raises
from omegaconf import OmegaConf
from omegaconf.errors import InterpolationResolutionError

cfg = OmegaConf.create(
    {
        "workers": {
            "node3": "<IP_ADDRESS>",
            "node7": "<IP_ADDRESS>",
        },
        "nodes": "${oc.dict.keys: workers}",
        "ips": "${oc.dict.values: workers}",
        "nodes_relative": "${oc.dict.keys: .workers}",
        "ips_relative": "${oc.dict.values: .workers}",
    }
)
assert cfg.nodes[0] == "node3"
assert cfg.ips[0] == "<IP_ADDRESS>"
assert cfg.nodes_relative[0] == "node3"
with raises(InterpolationResolutionError):
    assert cfg.ips_relative[0] == "<IP_ADDRESS>"


InstantApp support

Does android-sunflower support InstantApp projects (feature modules)?

There are plans to support Instant Apps but it's lower priority at the moment.  Let's use this issue as a placeholder.

since Instant App is not categorised under Jetpack umbrella, why would it be supported?
to implement most of the stuffs in Jetpack itself is already an app complex enough.

@tiembo The whole project struct would be changed little, however, it is almost standard for android apps with instantapp feature-module.

@andhie similar to Material Design, Instant Apps is indeed not a Jetpack component but is an important part of an Android development story.  Let's keep this issue open so others can also add their input.

Core focus of this project should be jetpack. Personally I don't think it's worth to have instant app support. As @tiembo mentioned it should be low priority.

@sagar-viradiya  Perhaps you are right, but using instant-app simply changes the dependency structure of the entire project and does not involve a change in business logic.

since this project is linked directly from getting started-jetpack and jetpack is being pushed so much, I feel it would be great if it gets put in soon.
Isn't instant apps even an option under file-new project?
Due to the nature of it it could - at least for some projects - be a non-trivial change later, so it definitely seems like it should be considered foundational.
Yes, i understand the differences between 'well structured' and 'ready for instant apps' may not be large, but it would be awesome if sunflower as a starting point included it.
thank you for your consideration

After looking all over the interwebz for the correct/a suggestion approach to multiple dynamic features with no success I saw this awesome talk  by @ceruleanotter  (ty 🙏) and she does mention this project with multiple modules, but I can't find this anywhere.
So I'm just looking for some heading:

https://stackoverflow.com/questions/55532700/navigation-component-with-instant-dynamic-feature-modules


Feature 27 Difficulty Index

Added ability to calculate the difficulty index.
Code: metcalcpy/calc_difficulty_index.py and piecewise_linear.py
Testing: tests/test_calc_difficulty_index.py
Documentation: docs/README_difficulty_index.txt
Related to issue #27 and to METplotpy issue 47.

I can delete the feature branch, now that you've merged into develop.
Regards,
Minna
Minna Win
National Center for Atmospheric Research
Developmental Testbed Center
Phone:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
Pronouns: she/her
On Thu, Oct 8, 2020 at 4:38 PM Lindsay<EMAIL_ADDRESS>wrote:

Merged #35 https://github.com/dtcenter/METcalcpy/pull/35 into develop.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/pull/35#event-3857642844, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHSRXRI4422MOY727KDSJY5NZANCNFSM4SJJY3BA
.

Hi Minna,
I already deleted it. Thanks for the offer though!
Thanks,
Lindsay
On Thu, Oct 8, 2020 at 4:42 PM bikegeek<EMAIL_ADDRESS>wrote:

I can delete the feature branch, now that you've merged into develop.
Regards,
Minna
Minna Win
National Center for Atmospheric Research
Developmental Testbed Center
Phone:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
Pronouns: she/her
On Thu, Oct 8, 2020 at 4:38 PM Lindsay<EMAIL_ADDRESS>wrote:

Merged #35 https://github.com/dtcenter/METcalcpy/pull/35 into develop.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/pull/35#event-3857642844, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AA4UJHSRXRI4422MOY727KDSJY5NZANCNFSM4SJJY3BA
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/pull/35#issuecomment-705860740,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR7BBWIVD6YDWZMPNVY2FDSJY55LANCNFSM4SJJY3BA
.

--
Lindsay R. Blank
Associate Scientist
Joint Numerical Testbed Program
National Center for Atmospheric Research
+1<PHONE_NUMBER>
My working day may not be your working day. Please do not feel obliged to
reply to this email outside of your normal working hours.


Dumping problematic LNS model

What version of OR-Tools and what language are you using?
Version: v9.0
Language: rust via C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CP-SAT
What operating system (Linux, Windows, ...) and version?
Debian oldstable 10.10
What did you do?
During a search:
Starting CP-SAT solver.
Parameters: log_search_progress: true max_deterministic_time: 60 num_search_workers: 8

Initial optimization model '':
#Variables: 1441 (1 in objective)
  - 8 in [-2147483648,2147483647]
  - 1345 in [0,1]
  - 9 in [0,2]
  - 9 in [0,3]
  - 6 in [0,4]
  - 2 in [0,5]
  - 4 in [0,6]
  - 4 in [0,7]
  - 1 in [0,8]
  - 1 in [0,10]
  - 2 in [0,11]
  - 1 in [0,14]
  - 2 in [0,15]
  - 1 in [0,24]
  - 1 in [0,26]
  - 1 in [0,33]
  - 44 in [0,2147483647]
#kAtMostOne: 158 (#literals: 3729)
#kExactlyOne: 57 (#literals: 1345)
#kLinMax: 88
#kLinear1: 2
#kLinearN: 6 (#terms: 6750)

Starting presolve at 0.00s
[Probing] deterministic_time: 0.00878026 (limit: 1) wall_time: 0.051692 (1347/1347)
[Probing]  - new fixed Boolean: 205 (208/1347)
[Probing]  - new integer bounds: 2
[MaxClique] Merged 136(3153 literals) into 46(1139 literals) at_most_ones.

Presolve summary:
  - 209 affine relations were detected.
  - 204 variable equivalence relations were detected.
  - rule 'affine: new relation' was applied 6 times.
  - rule 'at_most_one: empty or all false' was applied 1 time.
  - rule 'at_most_one: removed literals' was applied 2 times.
  - rule 'at_most_one: satisfied' was applied 6 times.
  - rule 'at_most_one: transformed into max clique.' was applied 1 time.
  - rule 'at_most_one: x and not(x)' was applied 262 times.
  - rule 'exactly_one: removed literals' was applied 50 times.
  - rule 'exactly_one: satisfied' was applied 1 time.
  - rule 'exactly_one: singleton' was applied 2 times.
  - rule 'exactly_one: size one' was applied 1 time.
  - rule 'exactly_one: size two' was applied 5 times.
  - rule 'lin_max: Removed exprs' was applied 9 times.
  - rule 'linear: always true' was applied 1 time.
  - rule 'linear: fixed or dup variables' was applied 258 times.
  - rule 'linear: reduced variable domains' was applied 1 time.
  - rule 'linear: remapped using affine relations' was applied 14 times.
  - rule 'linear: singleton column' was applied 1 time.
  - rule 'linear: size one' was applied 2 times.
  - rule 'linear: variable substitution 0' was applied 5 times.
  - rule 'presolve: iteration' was applied 1 time.

Presolved optimization model '':
#Variables: 1216 (1130 in objective)
  - 1142 in [0,1]
  - 16 in [0,2]
  - 11 in [0,3]
  - 8 in [0,4]
  - 7 in [0,5]
  - 6 in [0,6]
  - 5 in [0,7]
  - 1 in [0,8]
  - 2 in [0,9]
  - 1 in [0,10]
  - 1 in [0,11]
  - 2 in [0,12]
  - 3 in [0,14]
  - 2 in [0,15]
  - 1 in [0,25]
  - 2 in [1,3]
  - 1 in [1,6]
  - 1 in [1,11]
  - 1 in [1,24]
  - 1 in [1,25]
  - 1 in [1,33]
  - 1 in [2,26]
#kAtMostOne: 44 (#literals: 1135)
#kBoolAnd: 2 (#enforced: 2) (#literals: 2)
#kExactlyOne: 48 (#literals: 1118)
#kLinMax: 88

Preloading model.
#Bound   0.07s best:-inf  next:[22,6328]  initial_domain

Starting Search at 0.07s with 8 workers and subsolvers: [ default_lp, reduced_costs, pseudo_costs, no_lp, max_lp, core, feasibility_pump, rnd_var_lns_default, rnd_cst_lns_default, graph_var_lns_default, graph_cst_lns_default, rins_lns_default, rens_lns_default ]
#1       0.17s best:316   next:[318,6328] core [hint] fixed_bools:1/1142
#Bound   0.17s best:316   next:[318,6188] core
I0618 10:58:59.302490  3710 cp_model_solver.cc:2654] Dumping problematic LNS model to '/tmp/.pbtxt'.
F0618 10:59:01.147460  3710 cp_model_solver.cc:2656] Infeasible LNS solution! rnd_var_lns_default(d=0.50 s=8 t=0.10 p=0.00)
*** Check failure stack trace: ***

dumped file: https://texitoi.eu/texitoi/.pbtxt
What did you expect to see
No crash
What did you see instead?
A crash
Anything else we should know about your project / environment

can you send us the .pbtxt model ?

Mmm, strange, will double check hint.

Double checked, I can't see how I can have duplicates. Maybe that's the LNS generated model that duplicates hints?

can you send us the original model ? (model.ExportToFile("issue2779.pb.txt") ? (provided it is mapped from Rust to C++).

I'll try, but can't guarantee as that's a chain of local optimization, and cp sat with 8 threads might not be deterministic.

Seen a second time, so I should be able to find it by insisting.
My rust protobuf library don't support pbtxt, is it OK if I give a binary format, or I should bind something to c++ to have the text version?

binary is fine.
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le mer. 22 sept. 2021 à 17:42, Guillaume P. @.***> a
écrit :

Seen a second time, so I should be able to find it by insisting.
My rust protobuf library don't support pbtxt, is it OK if I give a binary
format, or I should bind something to c++ to have the text version?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2779#issuecomment-925051099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3PWSHMBV4V2UCWDRB3UDH2PFANCNFSM5EOUNETQ
.
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.

I suppose that's the same bug, and potentially related to #2784 I have an assertion fail:
2021-09-23 09:43:28: F0226 21:36:06.060791 10896 cp_model_solver.cc:3175] Check failed: SolutionIsFeasible( model_proto, std::vector<int64_t>(response->solution().begin(), response->solution().end()), &mapping_proto, &postsolve_mapping) final postsolved solution

while solving https://texitoi.eu/texitoi/bugs/check_failed_solution_is_feasible.pb

The last proto solves successfully on the master branch.
Laurent Perron | Operations Research | @.*** | (33) 1 42 68 53
00
Le jeu. 23 sept. 2021 à 09:49, Guillaume P. @.***> a
écrit :

I suppose that's the same bug, and potentially related to #2784
https://github.com/google/or-tools/issues/2784 I have an assertion fail:
2021-09-23 09:43:28: F0226 21:36:06.060791 10896 cp_model_solver.cc:3175] Check failed: SolutionIsFeasible( model_proto, std::vector<int64_t>(response->solution().begin(), response->solution().end()), &mapping_proto, &postsolve_mapping) final postsolved solution
while solving
https://texitoi.eu/texitoi/bugs/check_failed_solution_is_feasible.pb
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/2779#issuecomment-925578389,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUPL3NGHOXFITWXKWGB2XLUDLLYFANCNFSM5EOUNETQ
.
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.

I can't reproduce on master. Closing it.


Items not working on 0.8.7

In GitLab by @mdonovan.nmkac on Jun 17, 2021, 11:41
Summary
Items not working with 0.8.7
On new and old worlds after an upgrade to 0.8.7 receive the following error on attempting to open any item
foundry.js:2006 TypeError: An error occurred while rendering PbtaItemSheet 37: Cannot read property 'type' of undefined
at PbtaItemSheet.getData (item-sheet.js:65)
at async PbtaItemSheet._render (foundry.js:2042)
at async PbtaItemSheet._render (foundry.js:2729)
Labels (do-not-change)
/cc @Asacolips

In GitLab by @Asacolips on Jun 18, 2021, 14:52
Thanks for reporting this @mdonovan.nmkac. I'm pretty sure I noticed this issue earlier in the week, so I'll prioritize getting a bug fix out this weekend if possible.

In GitLab by @Asacolips on Jul 19, 2021, 08:19
I'm unable to reproduce this one as of the new 0.3.0 release and will be closing it due to inactivity. If this error resurfaces, feel free to reopen it and I'll look into it again.

In GitLab by @Asacolips on Jun 22, 2021, 17:18
@mdonovan.nmkac can you try updating your system and see if it's working now? I made a beta8-0.2.0 release that should resolve it, but I can't confirm. I wasn't able to reproduce the error myself, but I did make some improvements to the section of the code your error message noted.


[stable/apm-server] Add ingress object to the chart

What this PR does / why we need it:
Existing chart lets you use a k8s service object but we'd like to reuse an existing ingress in the k8s cluster.
Special notes for your reviewer:
Hey @mumoshu can you take a look and let me know if this is ok.

Ingress will depend on the service object being enabled

Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] title of the PR contains starts with chart name e.g. [stable/chart]

/ok-to-test

/assign @at-k

@mumoshu or @paulczar able to provide the /lgtm label?

/lgtm


Image download delay

In writer.js, function writeImageFilesPromise(posts, config), line 81, the delay increments by 100ms.  For large WP sites on slow/overburdened servers, this can result in what amounts to a DoS attack, with exceptions (RequestError: Error: read ECONNRESET) proliferating as the server becomes overloaded.
After modifying the delay to increment by 1000ms instead of 100ms, I successfully downloaded each file, although of course it was slow.  Luckily most users won't need to run this software frequently.
Suggest allowing user to specify image download delay or at least raise the default delay to something higher, perhaps 500ms.
Otherwise software worked a charm.

Hey thanks, yeah that's something I've wrestled with. Want it to be fast... but not too fast. :)
Long term I want to update the code to not exceed X pending requests, but for now I'll just increase the delay.
To give me a better idea, how many images did you have to download?

Increased the default delay to 500ms. Also moved those variables into a settings file.
https://github.com/lonekorean/wordpress-export-to-markdown/commit/d8c513ff04d6610f73d15950fd2e6a6b3e89945b
Thanks again!


maxAjaxCallsPerView doesn't account for filtering by TelemetryInitializer

Is your feature request related to a problem? Please describe.
I'm using a telemetry initializer to filter out a large volume of AJAX remote dependency calls that fit a particular criteria. Depending on user activity, there may be thousands of dependency calls that do not get logged.
The problem though, is that these filtered / excluded events still count towards the count of tracked AJAX attempts, which is limited per maxAjaxCallsPerView configuration parameter.
So, say there are 1,000 AJAX requests on the page. 980 of them get filtered by my telemetry initializer. The remaining 20 may not all get logged, because the 980 that were filtered out, all counted towards the default limit of 500, then I get error:
"Maximum ajax per page view limit reached, ajax monitoring is paused until the next trackPageView(). In order to increase the limit set the maxAjaxCallsPerView configuration parameter."
Describe the solution you'd like
AJAX remote dependancy calls that are filtered by a telemetry initializer should not count towards the maxAjaxCallsPerView.
Describe alternatives you've considered
I can set maxAjaxCallsPerView to -1, so I do get all AJAX dependencies logged. I can then use the telemetry initializer to implement my own "max ajax calls per view" logic, so there's no loss of functionality. It's just:
a) A bit of extra work, and;
b) An unexpected outcome - it's strange to have, say, only 20 AJAX dependencies logged, while simultaneously getting the error "Maximum ajax per page view limit reached".
Additional context
Refer: extensions\applicationinsights-dependencies-js\src\ajax.ts
_trackAjaxAttempts variable is checked, and incremented in this function.

That is not going to work as the TelemetryInitializer is further down the pipeline from the code that produces (or not produces) the dependency request.
What I think you are trying to do is just stop the request from being tracked, which there is a config for that is evaluated here the config is called excludeRequestFromAutoTrackingPatterns if can be an array of RegEx's or strings.

And if you are controlling the requests, there is another more "hacky" way, but id prefer you use the above if that works for you.

TelemetryInitializer is further down the pipeline

That was my strong suspicion, but I'm not familiar enough with the code base to be able to verify that without a learning curve.

excludeRequestFromAutoTrackingPatterns

Good to know. Looks useful, but doesn't quite fit my use case. The requests I'm wanting to exclude are being made by a JS component that's very chatty (an interactive map). I don't want to log its successful requests, but I do want to log failed requests, so I need a more nuanced filter than excludeRequestFromAutoTrackingPatterns allows.

if you are controlling the requests

As above, nope. And it's hard to imagine any other man-in-the-middle or monkey-patching options would be superior to the alternative I first posted: set maxAjaxCallsPerView to -1 and use an initializer to limit the logged number of calls if desired.
As a consolation, maybe this should just be a request for documentation update on https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/azure-monitor/app/javascript.md, to point out that maxAjaxCallsPerView does not account for initializer's filtering requests?

Ok, understand.
So for your use case it seems like something like the telemetry initializer but that is hooked into only the ajax pipeline...
That sounds like a viable option, I'll tag this as an enhancement (so it's not auto closed). But it may be a while before we can schedule this for design / review.

something like the telemetry initializer but that is hooked into only the ajax pipeline

Yes, that would work.
At first glance, it looks like extending excludeRequestFromAutoTrackingPatterns from type string[] | RegExp[] to string[] | RegExp[] | ((xhr?: XMLHttpRequestInstrumented, request?: Request | string, init?: RequestInit) => boolean) would help. But, it looks like the current sequence of events means it would get called before the request response is received, meaning the response couldn't be inspected to determine whether the telemetry should be excluded.

may be a while before we can schedule this for design / review

No sweat.

Ok, I had to add some code around the same area so I went ahead and added support for this at the same time.

Ok, I managed to sneak this into the next release (should start later this week) as it was around the same location as some other required changes.
I've added a addDependencyInitializer and included some documentation here.
All going well there should be an automated nightly deployment tonight with this change included that you should be able to test before the final release.


MRG, BUG: Force keywords for verbose in short sigs

Closes #8258
Closes #8263

Great!!

Rendered API doc is now even messier than before, though:

https://22643-1301584-gh.circle-artifacts.com/0/dev/generated/mne.Epochs.html

Argh, that's the Sphinx tuple rendering bug...

backported

Argh, that's the Sphinx tuple rendering bug...

Yep, and now with the * for kw-only args it looks even more hideous :D

Looks like the sphinx bug was fixed 4 days ago so hopefully it lands in some pre-release soon

https://github.com/sphinx-doc/sphinx/pull/8265

Super good!!!


Cleanup certificate policy section in certificate

CPS is not implemented and user_notice is merged with all present OIDs.
According to the RFC, CPS and user notice are attached to  A SINGLE OID, so the profile definition and implementation needs to be reworked.
userNotice is currently set as visible string but should be UTF8String

Fixed by 2cc939e190a02f27a648bad4bf5d434464f23af7 (not closed due to typo in commit message)


Patch for enabling Google Drive/Dropbox on all device models

Tested this on FW 4.38.23038 on my Kobo Libra 2.

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. It always gets stuck at loading.

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

I have enabled Google Drive on my Libra 2 version 4.38.23038 using this patch but I did have to edit eReader.conf per info found at the bottom of this:  https://github.com/pgaskin/NickelMenu/issues/143 to get beyond the blank screen for initial setup.
I already had DropBox setup via NickelMenu so it just worked without any further changes.

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

I have enabled Google Drive on my Libra 2 version 4.38.23038 using this patch but I did have to edit eReader.conf per info found at the bottom of this: pgaskin/NickelMenu#143 to get beyond the blank screen for initial setup. I already had DropBox setup via NickelMenu so it just worked without any further changes.

Very useful. Thank you. I just need to edit .kobo/Kobo/Kobo ereader.conf,
add https://authorize.kobo.com/{region}/{language}/LinkDropbox after dropbox_link_account_poll=, and
add https://authorize.kobo.com/{region}/{language}/linkcloudstorage/provider/google_drive after googledrive_link_account_start=

I had that URL copied over from Kobo Sage from when I was trying to get it working via NickelMenu, so I did not notice a potential problem. I've dug around some more, and it seems that these values aren't shipped in the firmware images, but rather they're fetched during initial device setup via an authenticated request to https://storeapi.kobo.com/v1/initialization. I assume the returned chunk of JSON contains different values depending on the device model.
I'll update the patch description to include the config values necessary for the sync to actually work.

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

My Clara BW is on 4.41.xxx and have the same issue. Did you ever get Dropbox working?

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

My Clara BW is on 4.41.xxx and have the same issue. Did you ever get Dropbox working?

You can check my comment on Aug 12

There are some bugs on Clara BW version 4.39.23027. I can see Google Drive and Dropbox menus on my ereader, but I cannot login. When I click "Get Started", there is only a blank screen.
(Not my network problem, because I can access Google Drive with internal browser)

My Clara BW is on 4.41.xxx and have the same issue. Did you ever get Dropbox working?

You can check my comment on Aug 12.

I just need to edit .kobo/Kobo/Kobo ereader.conf,
add https://authorize.kobo.com/{region}/{language}/LinkDropbox after dropbox_link_account_poll=, and
add https://authorize.kobo.com/{region}/{language}/linkcloudstorage/provider/google_drive after googledrive_link_account_start=

Worked beautifully, thanks.

Please help me understand why I cannot make this patch work.
My device is Kobo Clara BW on firmware 4.41.23145.
I have copied cloud_sync.yaml to the src\ folder, edited and enabled it and added the following line in kobopatch.yaml to the patches section:
src/cloud_sync.yaml: usr/local/Kobo/libnickel.so.1.0.0
I let all other patches in disabled state.
I have downloaded the 4.41.23145 fw, copied the zip file into src\ and modified the version number in kobopatch.yaml accordingly. The patching process runs successfully without any errors.
I have copied KoboRoot.tgz into the .kobo folder and reseted the device. It have applied tgz (it was missing from the folder after the reboot), but the syncing is not available, nothing seemed to change at all. I have also modified .kobo/Kobo/Kobo ereader.conf and set the needed value to googledrive_link_account_start, but this one keeps getting reset to the empty value after each reset.
What have I done wrong? Should I use an earlier FW and rollback my device to that one before patching?

Please help me understand why I cannot make this patch work.
My device is Kobo Clara BW on firmware 4.41.23145.
I have copied cloud_sync.yaml to the src\ folder, edited and enabled it and added the following line in kobopatch.yaml to the patches section: src/cloud_sync.yaml: usr/local/Kobo/libnickel.so.1.0.0
I let all other patches in disabled state.
I have downloaded the 4.41.23145 fw, copied the zip file into src\ and modified the version number in kobopatch.yaml accordingly. The patching process runs successfully without any errors.
I have copied KoboRoot.tgz into the .kobo folder and reseted the device. It have applied tgz (it was missing from the folder after the reboot), but the syncing is not available, nothing seemed to change at all. I have also modified .kobo/Kobo/Kobo ereader.conf and set the needed value to googledrive_link_account_start, but this one keeps getting reset to the empty value after each reset.
What have I done wrong? Should I use an earlier FW and rollback my device to that one before patching?

I cannot make it on the latest firmware, either. I suppose it only works on 4.39.23027

I cannot make it on the latest firmware, either. I suppose it only works on 4.39.23027 or 4.40.23081

bobf32 wrote he succeeded with some 4.41.xxx FW. We should know the exact version number then.

I cannot make it on the latest firmware, either. I suppose it only works on 4.39.23027 or 4.40.23081

bobf32 wrote he succeeded with some 4.41.xxx FW. We should know the exact version number then.

Sorry. I found my Kobo has been automatically updated. I am trying to see if it works on the latest version.

Did you see Google Drive and Dropbox icons on the reader?

Unfortunately no. That's why I wrote that it seems nothing has changed at all.

Did you see Google Drive and Dropbox icons on the reader?

Unfortunately no. That's why I wrote that it seems nothing has changed at all.

I tried again on my BW with latest firmware, but I cannot see the icons. Maybe the new firmware changed something.

Ok, now I'm totally confused. I downgraded my Kobo Clara BW to fw 4.39.23027 and applied the patch to this version.
I can see still no Drive/Dropbox icons anywhere. :( :( :(

I was able to find out what the problem was: in the "Kobo eReader.conf" file, another parameter needs to be changed: kobo_googledrive_link_account_enabled have to be set to true. So, with the 4.39.23027 fw, the patch works.
Because it's not a latest FW, the autoupgrade via WIFI had to be disabled too.

I was able to find out what the problem was: in the "Kobo eReader.conf" file, another parameter needs to be changed: kobo_googledrive_link_account_enabled have to be set to true. So, with the 4.39.23027 fw, the patch works. Because it's not a latest FW, the autoupgrade via WIFI had to be disabled too.

I remember you can disable auto firmware update with another patch. Search for “Block WiFi firmware upgrade”

I remember you can disable auto firmware update with another patch. Search for “Block WiFi firmware upgrade”

Yep, it's in libnickel.so.1.0.0.yaml. I used this to disable auto upgrades.

Unfortunately, blocking automatic firmware updates does not work. So, as it stands, this patch is not really usable now unless you keep WIFI turned off - which would obviously make the patch pointless. :(

@h734790 it works if you apply my patch here https://github.com/pgaskin/kobopatch-patches/pull/137

Personally never had issues. I gave up on setting up a wired calibre since it was inconvenient. I setup a web-calibre instance on my NAS with kobo-sync and my kobo are linked to it through a Tailscale mesh.
I can connect to web-calibre through any public, get my mangas on it and books I've bought on kobo are also displayed since web-calibre forward unknown requests to kobo servers. Best of both worlds. It's been pretty simple to install and worked flawlessly for the last 8 months.


net/http: reduce memory usage when hijacking

Previously, Hijack allocated a new write buffer and the existing
connection write buffer used an extra 4kB of memory until the handler
finished and the "conn" was garbage collected. Now, hijack re-uses the
existing write buffer and re-attaches it to the raw connection to avoid
referencing the net/http "conn" after returning.
Hijack will also swap the underlying reader of the read buffer to avoid
holding on to the "connReader", which in turn holds on to the "conn".
This allows all of the "conn", "response" and "Request" to get garbage
collected after the handler has exited.
The new underlying reader of the read buffer uses a weak-ref on the
"response" to allow CloseNotify to work before the handler has exited
(i.e. while the "response" is still referenced in "conn.serve"). This
aligns with the documentation of CloseNotifier:

After the Handler has returned, there is no guarantee that the channel
receives a value.

It is possible to preserve the extended behavior of letting CloseNotify
signal after the handler has exited by keeping around the relevant state
for closeNotify in a struct that is used in both "connReader" and the
new "connCloseNotify". It does not seem worth the extra code complexity
for the deprecated CloseNotifier interface.
To achieve a net-positive effect on allocations per request cycle, the
TODO for lazily allocating the CloseNotifier channel has been addressed.
This change also simplifies the read error handling in the new
"connCloseNotify" wrapper.
goos: linux
goarch: amd64
pkg: net/http
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
│   before    │               writer               │             lazy-notify              │                reader                │
│   sec/op    │   sec/op     vs base               │    sec/op     vs base                │    sec/op     vs base                │
Server-8                    506.6µ ± 1%   508.4µ ± 2%       ~ (p=0.315 n=10)   507.0µ ±  1%        ~ (p=0.796 n=10)   499.5µ ±  2%   -1.40% (p=0.004 n=10)
ServerHijack-8              50.64µ ± 5%   46.19µ ± 5%  -8.79% (p=0.000 n=10)   44.09µ ± 29%  -12.94% (p=0.000 n=10)   44.56µ ± 27%  -12.01% (p=0.002 n=10)
ServerHijackMemoryUsage-8   1.078m ± 3%   1.112m ± 5%       ~ (p=0.436 n=10)   1.181m ± 15%        ~ (p=0.190 n=10)   1.104m ±  9%        ~ (p=0.190 n=10)
geomean                     302.4µ        296.7µ       -1.89%                  297.7µ         -1.54%                  290.7µ         -3.86%
                      │    before    │                writer                │             lazy-notify              │                reader                │
                      │     B/op     │     B/op      vs base                │     B/op      vs base                │     B/op      vs base                │

Server-8                    2.298Ki ± 0%   2.297Ki ± 0%        ~ (p=0.781 n=10)   2.185Ki ± 0%   -4.91% (p=0.000 n=10)   2.188Ki ± 0%   -4.78% (p=0.000 n=10)
ServerHijack-8              16.21Ki ± 0%   12.14Ki ± 0%  -25.11% (p=0.000 n=10)   12.03Ki ± 0%  -25.78% (p=0.000 n=10)   12.09Ki ± 0%  -25.45% (p=0.000 n=10)
ServerHijackMemoryUsage-8   15.68Ki ± 0%   11.61Ki ± 0%  -25.91% (p=0.000 n=10)   11.51Ki ± 0%  -26.58% (p=0.000 n=10)   11.57Ki ± 0%  -26.21% (p=0.000 n=10)
geomean                     8.358Ki        6.867Ki       -17.84%                  6.714Ki       -19.68%                  6.738Ki       -19.39%
                      │   before   │               writer                │            lazy-notify            │              reader               │
                      │ allocs/op  │ allocs/op   vs base                 │ allocs/op   vs base               │ allocs/op   vs base               │

Server-8                    21.00 ± 0%   21.00 ± 0%       ~ (p=1.000 n=10) ¹   20.00 ± 0%  -4.76% (p=0.000 n=10)   20.00 ± 0%  -4.76% (p=0.000 n=10)
ServerHijack-8              52.00 ± 0%   50.00 ± 0%  -3.85% (p=0.000 n=10)     49.00 ± 0%  -5.77% (p=0.000 n=10)   51.00 ± 0%  -1.92% (p=0.000 n=10)
ServerHijackMemoryUsage-8   48.00 ± 0%   46.00 ± 0%  -4.17% (p=0.000 n=10)     45.00 ± 0%  -6.25% (p=0.000 n=10)   47.00 ± 0%  -2.08% (p=0.000 n=10)
geomean                     37.42        36.42       -2.69%                    35.33       -5.60%                  36.33       -2.93%
¹ all samples are equal
                      │    before     │                writer                 │              lazy-notify              │                reader                 │
                      │ retained_B/op │ retained_B/op  vs base                │ retained_B/op  vs base                │ retained_B/op  vs base                │

ServerHijackMemoryUsage-8    15.625k ± 0%    11.464k ± 0%  -26.63% (p=0.000 n=10)    11.339k ± 0%  -27.43% (p=0.000 n=10)     8.714k ± 0%  -44.23% (p=0.000 n=10)
Fixes #59567

It is possible to preserve the extended behavior of letting CloseNotify
signal after the handler has exited by keeping around the relevant state
for closeNotify in a struct that is used in both "connReader" and the
new "connCloseNotify". It does not seem worth the extra code complexity
for the deprecated CloseNotifier interface.

2bc45c12bea55251dd4c26c4eee4ed8d4f31241c is a WIP implementation for this -- in case this behavior is deemed useful to keep/worth the complexity.


UI Order of keybinds menu gets messed up

To reproduce: bind a couple of alternative keys in the key binds menu, then go back and re-open the keybinds menu. This is the result after adding alternative keybinds (numpad 1-9) to the hotbar slot keys, then clicking done and reopening the key binds menu:

I have confirmed this not to be the case in the normal NMUK for 1.20.3.

This should be solved. I was able to reproduce it and then I solved it in https://github.com/wyatt-herkamp/too-many-shortcuts/commit/561009ee97ae26d8411a0da88f0d902963420ffc


Parametrize std

2 policy nets: one with fixed std, the other with strategy like acme
improved logger: add mu. sigma, and actions
fixed std as a proportion of the range of the actions

I also added the support for having 2 different lrs: one for the policy and the other for the value


One Last Time

The home page is ready for the project SaveMyForm.  For this task you have to give final touches to the page. The page should be completely responsive on every device,  increase or decrease the font size,  increase padding, change icons ,etc.
Show your CSS skills and make the page as good as possible. The desktop and mobile designs are provided in figma file.  You have to make sure it looks almost same to it else your PR will not be merged.

claim

Assigned to @GammaMicrowave

Claim

Assigned to @iamatifmoin

@iamatifmoin  you have 48hrs to complete the task

@Manas2403
I get a blank white screen when I run 'npm run dev'.
How do I fix this?
The terminal looks like this:

Go to localhost:3000/home.

@Manas2403
Thanks!
PR: #100

updates @iamatifmoin ?

claim

Updates @TheDivineAurora


Turning off/on polling errors out the integration, making all sensors become unavailable

Describe the bug
Toggling data polling stops the integration from working, making all sensors unavailable.
The only way to get it back to working condition, is a restart of HA
The below logs are from a fresh reboot, and after some time, i disabled the polling resulting in an instant failure of the integration.
A full removal of vehicle, integration -> restart -> install integration has been done without any further success
Latest working release
Not sure when this stopped working, but i assume it came with one of the newer HA releases as it stopped not long ago
Debug logs
2024-05-14 22:07:03.434 DEBUG (MainThread) [skodaconnect.connection] Check if vehicle exists
2024-05-14 22:07:03.434 DEBUG (MainThread) [skodaconnect.connection] Adding vehicle , with connectivities: ['REMOTE']
2024-05-14 22:07:03.434 DEBUG (MainThread) [skodaconnect.vehicle] Creating Vehicle class object with data {'vin': '', 'connectivities': ['REMOTE'], 'capabilities': ['AUTOMATION', 'CHARGING', 'CHARGING_STATIONS', 'AIR_CONDITIONING', 'DEALER_APPOINTMENT', 'DESTINATIONS', 'MAP_UPDATE', 'MEASUREMENTS', 'ONLINE_SPEECH', 'ONLINE_SPEECH_GPS', 'PARKING_INFORMATION', 'PARKING_POSITION', 'PLUG_AND_CHARGE', 'POI_SEARCH', 'ROADSIDE_ASSISTANT', 'ROUTING', 'STATE', 'TRAFFIC_INFORMATION', 'VEHICLE_HEALTH', 'VEHICLE_LIGHTS'], 'specification': {'title': 'Škoda Enyaq', 'model': 'Enyaq', 'modelYear': '2023', 'body': 'SUV', 'systemCode': 'UNKNOWN', 'systemModelId': '', 'engine': {'type': 'iV', 'powerInKW': 195}, 'battery': {'capacityInKWh': 77}, 'gearbox': {'type': 'E1A'}, 'trimLevel': 'iV 80X SPORTLINE', 'manufacturingDate': ''', 'maxChargingPowerInKW': 125}}
2024-05-14 22:07:03.434 DEBUG (MainThread) [custom_components.skodaconnect] Updating data from Skoda Connect
2024-05-14 22:07:03.670 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/air-conditioning//settings" returned with status code [200]
2024-05-14 22:07:03.699 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/charging//settings" returned with status code [200]
2024-05-14 22:07:03.713 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/position/vehicles/'/parking-position" returned with status code [200]
2024-05-14 22:07:03.725 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/air-conditioning/'/timers" returned with status code [200]
2024-05-14 22:07:03.733 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/charging/'/status" returned with status code [200]
2024-05-14 22:07:03.738 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/air-conditioning/'/status" returned with status code [200]
2024-05-14 22:07:03.739 INFO (MainThread) [skodaconnect.connection] Returning with data {'airConditioning': {'remainingTimeToReachTargetTemperatureInSeconds': 0, 'state': 'Off', 'trigger': 'OFF', 'windowsHeatingStatuses': [{'windowLocation': 'Front', 'state': 'Off'}, {'windowLocation': 'Rear', 'state': 'Off'}], 'seatHeatingSupport': {'frontLeftAvailable': True, 'frontRightAvailable': True, 'rearLeftAvailable': False, 'rearRightAvailable': False}}, 'airConditioningSettings': {'targetTemperatureInKelvin': 294.15, 'temperatureConversionTableUsed': 'CELSIUS_KELVIN', 'airConditioningAtUnlock': False, 'windowHeatingEnabled': True, 'zonesSettings': {'frontLeftEnabled': False, 'frontRightEnabled': False}}}
2024-05-14 22:07:03.746 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v1/charging/'*******/mode" returned with status code [200]
2024-05-14 22:07:03.764 DEBUG (MainThread) [skodaconnect.connection] Request for "https://api.connect.skoda-auto.cz/api/v2/vehicle-status/***********" returned with status code [200]
2024-05-14 22:07:03.765 DEBUG (MainThread) [custom_components.skodaconnect] Finished fetching skodaconnect data in 0.331 seconds (success: True)
2024-05-14 22:07:03.766 INFO (MainThread) [homeassistant.components.sensor] Setting up skodaconnect.sensor
2024-05-14 22:07:03.766 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up skodaconnect platform for sensor
File "/config/custom_components/skodaconnect/sensor.py", line 22, in async_setup_entry
2024-05-14 22:07:03.768 INFO (MainThread) [homeassistant.components.lock] Setting up skodaconnect.lock
2024-05-14 22:07:03.768 ERROR (MainThread) [homeassistant.components.lock] Error while setting up skodaconnect platform for lock
File "/config/custom_components/skodaconnect/lock.py", line 23, in async_setup_entry
2024-05-14 22:07:03.769 INFO (MainThread) [homeassistant.components.device_tracker] Setting up skodaconnect.device_tracker
2024-05-14 22:07:03.770 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up skodaconnect platform for device_tracker
File "/config/custom_components/skodaconnect/device_tracker.py", line 18, in async_setup_entry
2024-05-14 22:07:03.771 INFO (MainThread) [homeassistant.components.switch] Setting up skodaconnect.switch
2024-05-14 22:07:03.771 ERROR (MainThread) [homeassistant.components.switch] Error while setting up skodaconnect platform for switch
File "/config/custom_components/skodaconnect/switch.py", line 25, in async_setup_entry
2024-05-14 22:07:03.773 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up skodaconnect.binary_sensor
2024-05-14 22:07:03.773 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up skodaconnect platform for binary_sensor
File "/config/custom_components/skodaconnect/binary_sensor.py", line 22, in async_setup_entry
Installation:
Core
2024.5.3
Supervisor
2024.05.1
Operating System
12.3
Frontend
20240501.1
Additional context
Add any other context about the problem here.

I have same issue. Additionally logs shows:
2024-05-16 09:21:24.517 ERROR (MainThread) [homeassistant.components.device_tracker] Error while setting up skodaconnect platform for device_tracker
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/skodaconnect/device_tracker.py", line 18, in async_setup_entry
data = hass.data[DOMAIN][entry.entry_id][DATA]
Folder /usr/src is completly gone.


[KYUUBI #3217] [DOCS] Doc for using Marcos in row-level filter in Authz

Why are the changes needed?

Support macros in Row-filter condition expression, introduced in Ranger 2.3 (release notes), is an major feature to significantly simplify the row-filter condition expression in practice by replacing explicit condition query by using user/group's attributes.

RANGER-3605 : Support macros in row-filter/condition expressions
RANGER-3550 : support for using user/tag attributes in row-filter expressions and conditions
Consider user liangtiancheng with attribute born_city = guangzhou, we can define the row filter condition with city='${{USER.born_city}}' with the macro feature.

However, This feature implicit relies on an config named ranger.plugin.spark.enable.implicit.userstore.enricher and the default value false will prevent RangerUserStoreEnricher fetching user/group and their attributes. Macros in row-filter condition will fallback to null value (as lack of user attributes value in UserStore of auth context) in script transformation unexpectedly and imperceptibly.
Improving doc of ranger-spark-security.xml to aware of this feature and related config.
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

Codecov Report

Merging #3267 (fa62402) into master (05e4e8f) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3267   +/-   ##
=========================================
  Coverage     51.25%   51.25%
  Complexity       13       13
=========================================
  Files           468      468
  Lines         26145    26162   +17
  Branches       3627     3629    +2
=========================================
+ Hits          13400    13409    +9
- Misses        11462    11467    +5
- Partials       1283     1286    +3

Impacted Files
Coverage Δ

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
76.13% <0.00%> (-3.41%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...a/org/apache/kyuubi/metrics/MetricsConstants.scala
100.00% <0.00%> (ø)

...g/apache/kyuubi/operation/BatchJobSubmission.scala
74.40% <0.00%> (ø)

...thentication/KyuubiHttpAuthenticationFactory.scala
88.23% <0.00%> (+0.23%)
:arrow_up:

...ache/kyuubi/plugin/spark/authz/OperationType.scala
60.00% <0.00%> (+1.17%)
:arrow_up:

.../plugin/spark/authz/ranger/RuleAuthorization.scala
80.00% <0.00%> (+2.85%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

+1, LGTM.
thanks, merged to master.

If it's already supported by Kyuubi 1.6, can we include this into 1.6 as well?

If it's already supported by Kyuubi 1.6, can we include this into 1.6 as well?

yes

Cherry picked to 1.6


SSR only works at '/'

💬 Questions and Help
Loadable Components project is young, but please before asking your question:

Read carefully the README of the project
Search if your answer has already been answered in old issues

After you can submit your question and we will be happy to help you!
First of all, Sorry for bad English.
I ported csr to ssr, It looks successful.
However, check ssr using unable javascript, it only works at '/'.
The other routes, it always comes out

 // nothing inside

I checked it also not work removing styled component.
I doubt below line, however I don't know I it not work.
const { default: App } = this.nodeExtractor.requireEntrypoint();

Below is my server side codes. This is entire codes for handling html request.
    console.log("SSR CALLED:", request.url);
    const location = request.url;
    const context = {};
    const sheet = new ServerStyleSheet();

    try {
      const { default: App } = this.nodeExtractor.requireEntrypoint();

      const app = sheet.collectStyles((
        <Provider store={store}>
          <StaticRouter basename={'/'} context={context} location={location}>
            <CookiesProvider cookies={request.universalCookies}>
              <App />
            </CookiesProvider>
          </StaticRouter>
        </Provider>
      ));
      const jsx = this.extractor.collectChunks(app);
      const helmetContent = Helmet.renderStatic();

      console.log("jsx", jsx.props.extractor.entrypoints);

      response.set('content-type', 'text/html');
      response.send(
        `
          <!DOCTYPE html>

              <meta charset="utf-8">
              <meta name="viewport" content="width=device-width, initial-scale=1">
              <meta name="apple-mobile-web-app-capable" content="yes">
              <meta name="mobile-web-app-capable" content="yes">
              <meta http-equiv="X-UA-Compatible" content="IE=edge">
              <link rel="shortcut icon" href="/static/icons/favicon.ico">

              ${helmetContent.title.toString()}
              ${helmetContent.meta.toString()}
              ${helmetContent.link.toString()}
              ${this.extractor.getLinkTags()}

            If you're seeing this message, that means
              JavaScript has been disabled on your browser, please
              enable JS to make this app work.

${renderToString(jsx)}

              ${this.extractor.getScriptTags()}
              ${sheet.getStyleTags()}

        `.trim()
      );
    } catch (e) {
      console.log(e);
      response.status(500).send(e.message);
    }
    finally {
      sheet.seal();
    }

To prevent confusing, This source is working in csr. only not working at disabling javascript.

Ooops, I solved.
The problem is not this package but StaticRouter.
I removed basename={'/'}, It works!
Sorry for interrupting you.

Good!


channel: Extend panic_on_drop test

Include https://github.com/rust-lang/rust/issues/107466 's case.
cc https://github.com/rust-lang/rust/pull/108164

bors r+

bors r- asan reports memory leaks in added test


109 new ui 2

#109, point 5.3 of roadmap #118.
It's not mergable yet, I have still some small cleaning to do. Functionality itself can be reviewed and tested.
I merged pinning rules into blending points view, also moved default blending point option to general subpage.

Ok, @un-tone, if You can please review. I think it's mergable now.

I started to review. First thing - 1 test failed:

@PatrykSzwer please take a look

It's strange but after running tests in the develop branch, in the current it works well too. @PatrykSzwer, nevermind.

About that:
There are methods which delete all WebsiteEditor data: WebsiteEditor.DataHelper.ClearData() and WebsiteProvider_AcceptanceHelperOne.DataHelper.ResetData(). You should add there clearing of new WebGroup data
It's not in scope of those changes. I'll add that in next PR/branch with surface groups.

The following style makes it very hard to locate inputs, because they appear borderless:
.website-table__control {
    box-shadow: none !important;
    border-bottom: none;
}

is there an apparent reason for it? If not, I vote for removing it

The app cannot be built in last SC version. Please update from develop after merging PR https://github.com/StarcounterApps/Website/pull/137.

Yes of course, I'll do it right after You merge #137.

Ok, It's merged to current develop.


Title is being displayed with logo for most of the anime titles.

Describe the bug
For most the anime shows the title is being displayed along with logo but it's working fine in other real shows and movies i.e., only logo or title (if logo absent) is being displayed but for anime shows the logo along with a Chinese, Japanese or English title is being displayed. This also happens to shows in same library like Gintama and Golden Boy are in same library but Gintama shows only logo and Golden Boy shows logo with text so I don't think it is a problem with library setup options.
To Reproduce
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/fixes.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/jf_font.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/base.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/accentlist.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/rounding_circlehover.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/smallercast.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/episodelist/episodes_grid.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/header/header_transparent.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/login/login_minimalistic.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/fields/fields_border.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/cornerindicator/indicator_corner.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/type/dark_withaccent.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/titlepage/title_simple-logo.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/bottombarprogress.css');
@import url('https://cdn.jsdelivr.net/gh/CTalvio/Ultrachromic/effects/hoverglow.css');
@import url('https://ctalvio.github.io/Monochromic/backdrop-hack_style.css');
/Style backdrop/
.backdropImage {filter: blur(18px) saturate(120%) contrast(120%) brightness(40%);}
/Login background/
#loginPage {background: url(https://i.imgur.com/9vL4iNf.png) !important;}
/Accent and roundingd/
:root {--accent: 161, 65, 136;}
:root {--rounding: 12px;}
Screenshots

Removing original titles provided from anlist metadata plugin solved the issue.


Add wrapping_add to change_tick

Objective
Fixes #7140
Solution
As discussed in the issue, added wrapping_add

bors r+


Enable Explain Execution Plan for SQL Server queries

Is your feature request related to a problem? Please describe.
DBeaver option "Explain Execution Plan" is greyed out in SQL Server connections
Describe the solution you'd like
Implement option "Explain Execution Plan" by parsing output from command "SET SHOWPLAN_ALL ON"+(user SQL statement) and displaying it uniformly.
Describe alternatives you've considered
Using SSMS for Explain Execution Plan

You can try it for free: https://dbeaver.com/trial/


Allow floating windows on special

Allows floating windows on the special workspace.


Improved SpecReporter output

Hi,
I have made some changes to the SpecReporter which I hope you will agree with and merge into master.
Thanks for your time and attention.

My change retains the default SpecReporter output format as below:

"test_0001_should return the correct path                        PASS (0.00s)"

But the output can be changed via these configuration options:

:show_order  - sets the output order (:before or :after) [ Default: :after ]
:show_time    - toggle for outputting the timer info.  [ Default: true ]
:show_status - toggle for ouputting the status info   [ Default: true ]

Via a combination of the above alternatives, the following output format can be achieved:

"should return the correct path"
"should return the correct path  -  (0.00s)"
"PASS   should return the correct path"
"PASS   should return the correct path  -  (0.00s)"

Please also take a look at Travis' failures.

the travis build has been fixed.  If the PR is still alive please clean it up.  I'm closing it for now.


jdk16u aarch64 64k builds show an error while testing on 4k machines (resurfaced bug)

Summary
Previously reported at (https://github.com/adoptium/aqa-tests/issues/1864, https://github.com/AdoptOpenJDK/openjdk14-binaries/issues/1, and https://bugs.openjdk.java.net/browse/JDK-8243392, https://bugs.openjdk.java.net/browse/JDK-8236847)
Like before, The problem is that if you build jdk16u on an aarch64 machine with 64k pages, and then use it on a machine with 4k pages (and possibly the reverse too), you get this non-fatal error right before the -version output:
[0.011s][error][cds] Unable to map CDS archive -- os::vm_allocation_granularity() expected: 65536 actual: 4096

In my case, I installed one of the rpms available (https://adoptopenjdk.jfrog.io/artifactory/rpm/centos/7/aarch64/Packages/adoptopenjdk-16-hotspot-16.0.1+9-3.aarch64.rpm) onto the new Oracle Cloud ARM free tier rigs with maxed out cpus and ram (4core/24gb ram)
Steps to reproduce
java -version

Expected results
[opc@minecraft-server ~]$ java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode)

Actual results
[opc@minecraft-server ~]$ java -version
[0.004s][error][cds] Unable to map CDS archive -- os::vm_allocation_granularity() expected: 4096 actual: 65536
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode)

Triaging info
Java version:
[0.004s][error][cds] Unable to map CDS archive -- os::vm_allocation_granularity() expected: 4096 actual: 65536
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-16.0.1+9 (build 16.0.1+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-16.0.1+9 (build 16.0.1+9, mixed mode)

What is your operating system and platform?
Oracle Linux 7.9 on ARM64
How did you install Java?
via the RPM i linked above
Did it work before?
This is my first time using adoptopenjdk on an arm device.
Did you test with other Java versions?
No, but the oracle 11 jdk that comes in the oracle repos did not have this issue.

Did you test with other Java versions?
No, but the oracle 11 jdk that comes in the oracle repos did not have this issue.

Likely because https://bugs.openjdk.java.net/browse/JDK-8236847 got backported to 11.0.12-oracle. So OpenJDK is missing a backport. I'll look into it.

Backport refused @ https://bugs.openjdk.java.net/browse/JDK-8268396

After looking at this some more it seems low priority (i.e. cost/benefit) to get this backported, because:

Class data sharing isn't being done by default at build time in contrast to later JDKs (16+?)
The error is only a warning and will disable CDS. It has no other consequence.
It's a sort-of a corner case when this would happen in JDK 11. Generate the CDS archive on one
system with a certain page size and then trying to run it on a different system with a different page size.
However, I wasn't able to reproduce this with JDK 11.
The JDK 17 patch is quite invasive and it's too risky to attempt backporting.

It seems like the solution given is just to wait for JDK 17, which i'm fine with doing since it doesn't have any actual effect on my workload.


Why 'Authorization failed' during login?

Hello, when I run
dbapi login <usr_email> <usr_pwd>
I always get the following error:

Traceback (most recent call last):
File "/Users/clairel/anaconda3/bin/dbapi", line 10, in
sys.exit(main())
File "/Users/clairel/anaconda3/lib/python3.7/site-packages/dbapi/cli.py", line 82, in main
print(json.dumps(method(*args), indent=2, default=default))
File "/Users/clairel/anaconda3/lib/python3.7/site-packages/dbapi/base.py", line 224, in login
raise Exception('Authorization failed for <%s>: %s' % (username, r1.url))
Exception: Authorization failed for <my_email_address>: https://accounts.douban.com/passport/login

I'm sure that my account information is correct. Do you have any idea why this is happening? Thanks a lot!

emm, this is caused by douban changing the API, this project is outdated. PR is welcome~


Fixes wrong attribute usage

@ggailey777
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@lilyjma can you take a look at this fix?

#reassign:davidmrdavid @davidmrdavid can you please verify this PR?

@jviau: Does this change seem right to you?

#sign-off

@ggailey777: can you please help us sign off?

#sign-off


Apply couple of rule of thumbs to simplify highlighting code

bors r+
🤖

cc @Nashenas88
Sorry for spamming you with cleanups PR, but I figured that this would be more efficient than another weeks-long back and forth on PR :)


IJCK R1C2

p. 1 "Competing standards such as the Cantera [2] CTI format or FlameMaster [3] lag behind considerably, although use of the former continually grows due to Cantera’s open availability."

Note that FlameMaster is also freely available from the GitLab repository of the developers.

Ref: https://github.com/pr-omethe-us/pyked-papers/issues/2#issuecomment-332318105
From Kyle:

Yeah, but not openly—I just tried to view it, and only people with an account can see it... so it's effectively a private repo.

I think this is addressed with:

We attempted to access the GitLab repository at https://git.rwth-aachen.de/ITV/FlameMaster, but it is a closed repository. Thus, while it may be freely available to those with access, it is not openly available.

I actually don't think this should be closed yet... As I mentioned on Slack, I think we need to define open in such a way that we can make our point. Also, I get a 404 if I login with my GitHub account and try to access that URL, which suggests that the links on their site might be broken? If I wasn't authorized, I'd expect a 503 or something.

I've added a brief definition of "open" with a reference to the OSI definition of open source. If that is sufficient, then we should be able to close this issue.
(I don't think we need to go further into the issues with the FlameMaster repo)


Editor associations setting is overly verbose

Testing #122030
Compared to files.associations which is just:
"files.associations": {
    "*.extension": "language"
}

Why is the editor one so complicated?
"workbench.editorAssociations": [
    {
        "viewType": "luna.editor",
        "filenamePattern": "*.png"
    }
]

I would suggest:
"workbench.editorAssociations": {
    "*.png": "luna.editor"
}

What are the repercussions from changing an existing setting. Also, I believe a setting such as
"workbench.editorAssociations": {
    "luna.editor": ["*.png", "*.ico", "*.jpg"]
}

would be cleaner.

What are the repercussions from changing an existing setting

I think you can still for some milestones read the old values and/or rewrite to the new format. I would maybe ping Sandy or Rob on this matter what they suggest.

@roblourens or @sandy081 Thoughts?

Can handle that with glob:
"workbench.editorAssociations": {
    "*.{png,ico,jpg}": "luna.editor"
}

This would align better with files.associations as well as files.exclude where the key is the file pattern.

I understand that in can be handled with a glob, but it's a bit more difficult I think to compute these joined globs when the user for examples configures .png and .jpg to be luna paint the gear logic would find the existing luna editor entries and then do a join on the glob pattern in a way rather than a nice simple array. Either way works for me, but just what I was thinking when thinking of an array.

This discussion was headed towards using global storage though, so you can use whatever structure you want there without worrying about editing globs. Something like this seems ideal so the extension lookup is fast:
{
  "ico": "luna.editor",
  "png": "luna.editor"
}

The discussion in this thread is regarding the user setting, the storage structure could be a different argument which I haven't thought too much into

But if the storage structure changes it removes the issue you had with making workbench.editorAssociations consistent with the other settings.

I'm sorry, I think I'm lost. There's two parts here

Which is what @connor4312 suggested is to preserve the "keep current" option in the storage service to not clutter your settings
What @bpasero suggested, which is to modify the user setting to no longer be a giant object array.

These two things are distinct in my mind currently.

I understand that in can be handled with a glob, but it's a bit more difficult I think to compute these joined globs when the user for examples configures .png and .jpg to be luna paint via the gear logic would find the existing luna editor entries and then do a join on the glob pattern in a way rather than a nice simple array.

You don't need to do this if you use the storage service.

Why wouldn't I? the user could still configure to their settings via the gear icon or configure default button. We would just be using the storage service for the "keep current" option.

Now I'm confused. If you used globs you would share the logic that the files settings/search uses to parse them out easily.

So the hope is to only use the storage service for the "Keep Current" that way when new editors come around you get prompted again and we don't dirty your setting.
As for the setting, I understand it would be different than what the others use but we already have our own glob parsing using the internal glob library. If we use an array it doesn't really require users to have an in-depth knowledge of globs and internally it's basically editorID: set<globs>

Consistency is important was my main point. Don't need to necessarily know how globs work as well:
"workbench.editorAssociations": {
    "*.ico": "luna.editor",
    "*.png": "luna.editor"
}

I guess my argument was would it make more sense for the user to have a 1:1 mapping of glob to editor or a 1:many mapping of editorID to glob patterns. Another reason I liked the 1 to many is that it's less lines 😝

The setting declares my "preferred" editor for a filetype, so it makes sense for the setting to match files.associations with a single entry per file type right? What happens currently if I list two different editors for *.png.


Typescript language server intellisense does not activate or work in VsCode Notebooks

I am currently looking for a way to set up notebooks to be able to activate and work with native vscode typescript language server so that essentially when a user opens a notebook with a Ts/Js kernel that initialization of Ts language server begins and the user is able to do basic intellisense autocompletion, jump to definition/implementation from their notebook just like they would if they opened a javascript or typescript file.
In our specific use case we essentially have our own DSL language which generates d.ts files which are interpretted by the native typescript language server which gives us the custom intellisense we are looking for.
Screenshot showing autocomplete for .js file -- UiTestType1 shows up since it is defined in UiTestType1.d.ts.

I would expect the same autocomplete to appear for .ipynb files such as in screenshot below

Most likely .ipnb is not part of same TS project and it won't suggest something unknown.

That screenshot shows that the Typescript server is active in the cell (otherwise you'd see no suggestions). Instead it's likely what @IllusionMH suggests: notebook cells aren't part of your tsconfig project. This falls under #129482

@mjbvz @IllusionMH How do you add notebook cells to tsconfig project? We tried this but it didn't work:

Not sure if this has an effect but we tried restarting TypeScript language server - although this doesn't actually show up when having .ipynb file as the current active tab.

@mjbvz  @IllusionMH anything we can do here?


Incorrect handling of HTTP redirects

Code:
manager = urllib3.PoolManager()
r = manager.request('GET', 'http://ynet.co.il')
r.data - returns incorrect page
same with paypal.com and other domains... The code takes the location value from the HTTP response and issues a GET request to http://www.ynet.co.il to hostname http://ynet.co.il

Mmm good point, might have to move redirect logic into PoolManager. Good find.
I'll try to have a closer look at this when I have time. If you can think of a nice solution, a patch branch is welcome.

Double bonus points for a failing unit test.

Btw, I'm wondering if we could refactor redirect logic so that Requests could use it instead of doing its own... @kennethreitz what do you think?

Requests will always do it's own redirection handling.

Because of...?

...

I considered factoring it out but it's currently only ~2 lines of code which didn't seem worth it.
urllib3's goal is to keep the code as simple and orthogonal as possible, whereas Requests tries to cater more towards convenience and a larger featureset.
I want to be conservative in how much logic we pull down from Requests into urllib3 by design, but if it comes to the point where through necessity and correctness urllib3 implements more of what Requests does, we'll re-evaluate then.

I have a test demonstrating the problem, I'm going to meditate on the correct solution some more this week and hopefully write down the answer shortly after.
If anyone else wants to take a crack at this before then, let me know.


poetry add --dev not installing as dev dependency for git dependencies

Hi @sdispater, poetry is a great tool that has been missing from the Python community for a long time. I wanted to point out this small bug that I hope should be an easy fix.
poetry add libero-schemas --git https://github.com/libero/schemas.git --dev

Installs the dependency and adds it to pyproject.toml:
[tool.poetry.dependencies]
lxml = "^4.3"

[tool.poetry.dev-dependencies]
libero-schemas = {git = "https://github.com/libero/schemas.git"}

However, in poetry.lock it appears to have installed as a main dependency rather than a dev dependency:
[[package]]
category = "main"
description = "Libero data model schemas"
name = "libero-schemas"
optional = false
python-versions = "*"
version = "0.0.1"

[package.source]
reference = "cebfb5fb66b3bd7b820e2cebf50f9cc471d5204c"
type = "git"
url = "https://github.com/libero/schemas.git"
[[package]]
category = "main"
description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."
name = "lxml"
optional = false
python-versions = "*"
version = "4.3.0"

Also notice that a blank line is missing after [package.source] in poetry.lock.
Thanks, in advance and keep up the good work.

I've noticed the same issue, with no response from the developers...


Feat/reconnect prompt

When client has been disconnected for too long and removed from the meeting room, a prompt will appear to ask user to reconnect the room by reloading the page.
Currently waiting for the design of the modal, before PR marked as ready

@GagahGK kayaknya ini perlu dirapihin tampilannya. Kayak margin, dan call to action button color. Coba coordinate sama @azhsetiawan

@tyohan ah iya mas betul, sudah ngobrol sama mas @azhsetiawan , saya masih nunggu untuk desain nya mas

@tyohan @faiq-naufal , due to the updated code using the sdk package, the reconnection modal now won't trigger
investigating the issue right now, my assumption it might be the event was not fired
previously I was testing this by disconnecting my wifi, and waited for a while, during this the ICE connection state will changed into connecting, and then I waited more until the client removed from the Hub Server, turned on the wifi
now the channel will reattempt to connect to the signaling endpoint, and found that the client was not found, then it fires the CHANNEL_NOT_FOUND event
but with the updated SDK, the ICE Connection State changed into disconnected during the wifi turned of, while it stuck on connecting previously
and then the channel also didn't try to connect or fires the CHANNEL_CLOSED event
the event name was changed from CHANNEL_NOT_FOUND to CHANNEL_CLOSED in the updated sdk
I'll investigate what causing this problem


Use the total energy value and uncertainty that pymbar offers

The uncertainty calculated using the sum of the squares neglects the correlation of the free energies. It might underestimate the uncertainty.
See: https://github.com/choderalab/pymbar/issues/304

FWIW, alchemical-analysis is now somewhat deprecated in favor of alchemlyb, so you may also want to check what's going on in that package (which is not yet as full featured as alchemical-analysis, but much better architected and is the only place we plan on doing any significant future development).


Revert "bug: 修复多处oracle与mysql解析sql 语法不正确"

testcase跑不过，回滚合并。Reverts alibaba/druid#4027

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


Unable to upscale full image because of time out

I am unable to preview a full-image upscale. When upscaling a 1024x1024 PNG using the "Refresh preview (full image)" button, I get a generic error message after about 2 minutes that an error occurred. Looking at the log, it seems like Cupscale or the python process has a time out of around 2 minutes or 100 seconds, after which it will throw an error.
This error does not occur on my desktop PC (Nvidia GTX 1080Ti), it only happens on my laptop (Nvidia GTX 950M). I suspect that the mobile GPU of my laptop is so slow that Cupscale simply declares the upscaling to have failed when I can see that the CUDA cores of my GPU are still doing work (in TaskManager).
Is there any way to increase the timeout?

Full log
Running in portable mode. Data folder: C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData
Arg: C:\DS3TexUp\Cupscale 1.39.0f1\Cupscale.exe
Detected Card: NVIDIA GeForce GTX 950M / GPU: GM107-A / Arch: Maxwell
Initialized Nvidia API. GPU: NVIDIA GeForce GTX 950M
[DepCheck] CMD: /C python -V
[DepCheck] System Python Check Output: Python 3.9.9
[DepCheck] Sys Python Ver: Python 3.9.9
[Servers] Ping to nmkd-hz.de: 37 ms
Parsing Patrons from CSV...
Found 14 Gold Patrons, 406 Silver Patrons
[Servers] Ping to nmkd-cb.de: 200 ms
[Servers] Closest Server: Germany (Nürnberg) (37 ms)
[MainUI] Dropped 1 file(s), first = C:\DS3TexUp\upscale\m31\a\m31_00_woodplank_10_a.png
[ImgProc] Converting C:\DS3TexUp\upscale\m31\a\m31_00_woodplank_10_a.png to PngRaw, DelSrc: False, Fill: True, Ext: UseNew
[ImgProc] Color depth of m31_00_woodplank_10_a.png is 32.
[ImgProc] Written image to C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\loaded-img\temp.png
[ImgProc] Preprocessing C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\preview\preview.png - Fill Alpha: True
[ImgProc] Color depth of preview.png is 24.
[ImgProc] Done pre-processing images
[CMD] /C cd /D "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch" & python upscale.py --input "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\preview" --output "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\preview-out"   --device_id 0 --fp16  --alpha_mode 0   "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x-UltraSharp.pth;50&C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_UniversalUpscalerV2-Neutral_115000_swaG.pth;50"
[Python] Traceback (most recent call last):
[Python] Model: 4x_UniversalUpscalerV2-Neutral_115000_swaG
[Python] Upscaling...
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\utils\dataops.py", line 31, in auto_split_upscale
[Python] 1 preview.png.png
[Python]     result = upscale_function(lr_img)
[Python] Image loaded
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\upscale.py", line 282, in upscale
[Python] Reloading model - model_path: C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x-UltraSharp.pth@50&C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_UniversalUpscalerV2-Neutral_115000_swaG.pth@50 - last_model: None
[Python] Setting last_model to C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x-UltraSharp.pth@50&C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\models\ESRGAN\4x_UniversalUpscalerV2-Neutral_115000_swaG.pth@50
[Python] Upscaling image...
[Python]     output = process(img1)
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\upscale.py", line 126, in process
[Python]     output = model(img_LR).data.squeeze(
[Python] RuntimeError: CUDA error: the launch timed out and was terminated
[Python] CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
[Python] For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
[Python] During handling of the above exception, another exception occurred:
[Python] Traceback (most recent call last):
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\upscale.py", line 375, in <module>
[Python]     rlt, depth, _ = ops.auto_split_upscale(img, upscale, last_scale)
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\utils\dataops.py", line 55, in auto_split_upscale
[Python]     top_left_rlt, depth, current_tile_num = auto_split_upscale(top_left, upscale_function, scale=scale, overlap=overlap, current_depth=current_depth+1, current_tile_num=current_tile_num)
[Python]   File "C:\DS3TexUp\Cupscale 1.39.0f1\CupscaleData\bin\esrgan-pytorch\utils\dataops.py", line 43, in auto_split_upscale
[Python]     raise RuntimeError(e)
[Python] RuntimeError: CUDA error: the launch timed out and was terminated
[Python] CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
[Python] For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
[ESRGAN] Upscaling Error: Der Index war außerhalb des Arraybereichs.
   bei Cupscale.Main.Upscale.<Run>d__8.MoveNext()

There is no such timeout, I'd say the resolution is just too high for that GPU

I can somewhat confirm that guess. I noticed that 512x512 images did not work, but 400x400 images did.
However, isn't Cupscale supposed to automatically tile large images? It had no problem with upscaling large images (4096x4096) using tiles on my desktop PC. (Cupscale does tile 1024x1024 images but it seems to not tile 512x512 images on my laptop.)

I guess it depends on your available RAM/VRAM....?

My GTX 950M has 4GB of VRAM, Cupscale uses about 2.5GB of that. My system has about 4GB RAM left available when running Cupscale, and it uses about 1.7GB of that.


chore: bump dart grammer version

reference: https://github.com/dart-lang/dart-syntax-highlight/blob/master/grammars/dart.json

Thanks for this! :D


error to run "python collect-fingerprints-of-songs.py"

It shows me the next error:
MacBook-Pro-de-Jesus:audio-fingerprint-identifying-python jesushedo$ python collect-fingerprints-of-songs.py
sqlite - connection opened
Traceback (most recent call last):
File "collect-fingerprints-of-songs.py", line 24, in
song = db.get_song_by_filehash(audio['file_hash'])
File "/Users/jesushedo/Desktop/audio-fingerprint-identifying-python/libs/db.py", line 15, in get_song_by_filehash
"filehash": filehash
File "/Users/jesushedo/Desktop/audio-fingerprint-identifying-python/libs/db_sqlite.py", line 61, in findOne
return self.executeOne(select['query'], select['values'])
File "/Users/jesushedo/Desktop/audio-fingerprint-identifying-python/libs/db_sqlite.py", line 34, in executeOne
self.cur.execute(query, values)
sqlite3.OperationalError: no such table: songs
sqlite - connection has been closed

Hello!I also had this problem. I solved it this way:
make clean reset

Solved! you saved my day :)


📝(documentation) Remove redundant types from docstrings ?

Feature Request
Current doctstrings might include an Args section where parameters have type information (eg anumber (int): a number). Since we aim to add type hints to all variables, this creates redundant information. For simplicity and maintanability, shouldn't we only use type hints for info relative to types ?
We would have something like:
def function_with_pep484_type_annotations(param1: int, param2: str) -> bool:
    """Example function with PEP 484 type annotations.
    Args:
        param1: The first parameter.
        param2: The second parameter.
    Returns:
        The return value. True for success, False otherwise.
    """

This post discusses this question:
https://stackoverflow.com/questions/69322595/duplicate-information-in-typing-and-docstring

That's a good improvement ! Until now, the application of Google convention for docstrings oriented us to have types in docstrings, but we can change in a future step the docstrings to fit with PEP484 soon applied in ralph code


Out of memory on transformed text

node-rsvg blows up with error: out of memory when text (or a group with text, etc.) is transformed.
rsvg-convert works just fine though!
Minimal test case:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="256" height="256">
  <text transform="translate(10, 10)" x="0" y="0" font-size="7.5">Hello</text>
</svg>

Has anyone made any progress on this? This effectively means I have to call out to rsvg-convert instead of using node-rsvg.

So, it seems that Cairo is returning out of memory on the following assignment:

FYI, from reading the Cairo API it looks like that function just reports pre-existing errors. So the out of memory error is occurring sometime before that call to cairo_status.

A fix here would also be a huge help to me.

any updates on this?
I'm getting the following error on text values
Assertion failed: (CAIRO_REFERENCE_COUNT_HAS_REFERENCE (&cr->ref_count)), function cairo_destroy, file cairo.c, line 301.

The only text value which is being render is 0. Otherwise, any of the above mentioned examples return the above error

Looks like this is fixed in 2gis/node-rsvg which is, apparently, the official fork (it's listed as the website on npm).

Does anyone have a fix for this. @myfreeweb the fork also does not fix this issue. I just tried it and run into the same issue.

I also have a problem with this with the following SVG:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" pointer-events="none" width="50" height="50" style="width: 50px; height: 50px; background-color: #2196F3;">
  <text text-anchor="middle" y="50%" x="50%" dy="0.36em" pointer-events="auto" fill="#ffffff" font-family="Helvetica, Arial, Lucida Grande, sans-serif" style="font-weight: 400; font-size: 28px;">
    AD
  </text>
</svg>

I reported it in 2gis repository: https://github.com/2gis/node-rsvg/issues/7


Svelte: ReferenceError: derived is not defined

Hello!
I'm trying to use Svelte component with store by NanoStores.
<script lang="ts">
import { ShikiMagicMove } from 'shiki-magic-move/svelte'

import { shiki } from '../stores/shiki'

// ...
</script>

<div>
  {#if $shiki.highlighter}
    <ShikiMagicMove
      options={{
        animateContainer: false,
        duration: 500,
        stagger: 3,
      }}
      highlighter={$shiki.highlighter}
      theme={$shiki.theme}
      code={'npm install'}
      lang="bash"
    />
  {/if}
</div>

However, all I am currently getting is an error message:
ReferenceError: derived is not defined

Maybe the problem lies here:
https://github.com/shikijs/shiki-magic-move/blob/main/src/svelte/ShikiMagicMove.svelte#L22
fyi @mattcroat

This only works with runes.

Thanks!


Infinite loop in cshtml - application permanently locked until restart, no way to debug

Describe the bug
It would be nice to have a size limit on the output buffer of the CSHTML files; otherwise, an infinite loop would completely lock down system resources, including CPU and up to 12-13GB of RAM, but the process somehow never runs into an OutOfMemoryException; I believe this is due to the buffer being flushed once it hits a certain size.
To Reproduce
Steps to reproduce the behavior:

Using ASP.NET Core 2.1.1
With the following in the cshtml:

do
{
    @("Some message\n")
} while(true)

Expected behavior
Get a meaningful exception eventually, or at least log a warning into the logging pipeline to make debugging such behaviour more easily. Instead, the host system is simply locked up into an infinite loop with no sign of what's happening.

I don’t think we should do anything here. An infinite loop in lots of other places can have the same effect.

Maybe it'd have a similar effect, but normally there is no pipeline in the way that automatically flushes the buffer, essentially stopping the system from throwing even an OutOfMemoryException.

Even if not throwing, logging a Warning that can be turned off would already be very helpful, since infinite loops like this are way too hard to diagnose otherwise, as no other log would ever indicate the issue.

I'm still not convinced we should do anything here. This is like any other logic bug in application code. Do you have an example where this happened in some less obvious way? That might make fore a more convincing argument.

@davidfowl I have a custom Error page which unwraps InnerExceptions iteratively for the error message for administrators of our website, since the standard error message for EF6 validation errors isn't particularly helpful (it just says "look at the inner exception"), but there as an error made with the code, so inside the while loop, instead of err = err.InnerException it said err = Model.Error.InnerException, causing the page to print the same message over and over. Sadly, there was absolutely 0 indication this is what caused the freezing of the app servers, I just got lucky the team member who caused it reported back step-by-step what happened.

Thanks for contacting us, @kanadaj.
This is not something we plan to add support for in the near future.


lxc/image: pack image on import if a directory is provided

Your new testsuite function isn't added to main.sh so won't run during automated tests.

@stgraber done now


added midi.toJSON()

All the fields that are documented in MIDIConvert.d.ts and README should match what's exposed by midi.toJSON()

Current coverage is 87.57% (diff: 100%)

Merging #24 into master will increase coverage by 1.94%

@@             master        #24   diff @@
==========================================
  Files            10         10
  Lines           327        330     +3
  Methods          43         44     +1
  Messages          0          0
  Branches         54         54
==========================================
+ Hits            280        289     +9
+ Misses           47         41     -6
  Partials          0          0

Powered by Codecov. Last update a8352f1...aa2a33c


add script for creating systemd user service

I created a small script which allows you to setup warpd as a systemd user service. The benefit of this is that now warpd starts automatically(you can disable that if you want to). No need to open new shell and type warpd every time you reboot your computer. It is also easier to check its status with systemctl --user status warpd.
Where is the appropriate place to put this script? Or maybe make part of the make install for Linux? Should I add a few lines in the README.md about this?

I'm not sure a systemd unit is a good place for this. Regardless, it should be left up to the user.


Fail to run the experiment

Hi, when I was using bash ConST/scripts/train_en2x.sh de checkpoint/model_saved. to train the model, I encountered some problem. It would be great help to me if you can help taking a look at my bug.
In the original ConST/scripts/train_en2x.sh file, language prefix token looks like this:

which brings me the following error:

After deleting the '<' and '>' outside lang:${TGT_LANG}, it can start training on train_st but when it began to validate on dev_st, another assertion error occured like this:

which comes from fairseq/tasks/speech_to_text_triplet_with_extra_mt.py, line 377.
I tried adding  '<' and '>' in speech_to_text_triplet_with_extra_mt.py before assertion, but it didn't work. It would be of great help to me if you know some solutions. Thank you!

@KYuuto1006 Try this: --lang-prefix-tok='lang:${TGT_LANG}', e.g. --lang-prefix-tok='lang:fr'

@KYuuto1006 Do not delete '<' and '>', it is part of the language tag.😂

@ReneeYe Thank you very much for your reply!
Unfortunately, I have tried --lang-prefix-tok='<lang:${TGT_LANG}>' and --lang-prefix-tok='lang:${TGT_LANG}', both of them still brought the same Assertion Error.

@KYuuto1006 I'm pretty sure --lang-prefix-tok='<lang:${TGT_LANG}>' is correct. Do you have lang:${TGT_LANG} in your vocabulary?

@KYuuto1006  I'm pretty sure --lang-prefix-tok='<lang:${TGT_LANG}>'  is correct. Do you have <lang:${TGT_LANG}>  in your vocabulary?

@ReneeYe I think it's the problem of my fairseq, I already fixed it. Thank you a lot!

@KYuuto1006 ..kindly tell me how you fixed  ConST/scripts/train_en2x.sh: line 14: lang:de: No such file or directory

@KYuuto1006 ..kindly tell me how you fixed ConST/scripts/train_en2x.sh: line 14: lang🇩🇪 No such file or directory
@PRASHANTGB
I think the original code is accurate and I failed to run it due to incompatible fairseq version. But I made it work in my version by

Hope it helps. I believe the author's code is correct, we just met some environment problems.

@KYuuto1006 i tried the same thing.. but i m getting  following error
assert prefix_tokens != self.tgt_dict.unk_index
AssertionError


Add Clone/Debug to QueuesIter.

This is primarily to allow debugging, e.g:
println!("Queues: {:?}", queues.clone().count());
let queue = queues.next().ok_or(VkError::NoAvailableQueue)?;

Thanks for the PR, however:
I think adding Clone will break invariants. It would allow for multiple Queue structs referring to the same queue whereas previously we just had one Arc<Queue>.
You can can achieve what you want by doing this instead:
let queues_vec: Vec<_> = queues.collect();
println!("len: {}", queues_vec.len());
let get_iter_again_by_doing_this = queues_vec.iter();

Adding Debug is not correct because it's displaying implementation details. If there is a specific field you need access to, maybe we can talk about a proper way to expose it?
I noticed that Queue itself has Debug. I'm guessing that's just left there from early stages of development and should be removed. But maybe I'm wrong and exposing such things is useful for a library like vulkano.

Thanks @rukai, I'm happy to defer to your opinion on this, I assumed it was just an omission.

No worries