Nothing will pass. Not even the solutions provided by FreeCodeCamp

Challenge Convert HTML Entities has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) brave/0.10.0 Chrome/50.0.2661.102 Brave/0.37.8 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

function convertHTML(str) {
  // Split by character to avoid problems.

  var temp = str.split('');

  // Since we are only checking for a few HTML elements I used a switch

  for (var i = 0; i < temp.length; i++) {
    switch (temp[i]) {
      case '<':
        temp[i] = '<';
        break;
      case '&':
        temp[i] = '&';
        break;
      case '>':
        temp[i] = '>';
        break;
      case '"':
        temp[i] = '"';
        break;
      case "'":
        temp[i] = "'";
        break;
    }
  }

  temp = temp.join('');
  return temp;
}

convertHTML("Dolce & Gabbana");

Hi, unfortunately your code is not correct.
for example  temp[i] = '&'; <-- this is not what the tests expect
Please go through the instructions and test cases once again.
Please consult the JavaScript Chat Room for any further assistance to Coding.
Happy Coding!

@jjoyce24 You should file an issue on the wiki repo.


SoTA methods for regulatory effect prediction

Methods to be listed by @qinqian

Two additional methods has been added

Two additional methods has been added


Update dependencies and workflows

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

Project coverage is 100.00%. Comparing base (d03e7d3) to head (fd26a4a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #310   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            7         7
  Lines          178       178
  Branches        35        35
=========================================
  Hits           178       178

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


Cannot see map when --background is set in Ionic 4

I'm submitting a ...  (check one with "x")

[ ] question
[x] any problem or bug report

OS:  (check one with "x")

[ ] Android
[x] iOS
[ ] Browser

cordova information:  (run $> cordova plugin list)
com.synconset.imagepicker 2.1.8 "ImagePicker"
cordova-plugin-app-version 0.1.9 "AppVersion"
cordova-plugin-camera 4.0.3 "Camera"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-file 6.0.1 "File"
cordova-plugin-file-transfer 1.7.1 "File Transfer"
cordova-plugin-firebase-analytics 2.0.4 "FirebaseAnalyticsPlugin"
cordova-plugin-googlemaps 2.6.2 "cordova-plugin-googlemaps"
cordova-plugin-inappbrowser 3.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.0.1 "cordova-plugin-ionic-webview"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.1 "Network Information"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-transport-security 0.1.2 "App Transport Security"
cordova-plugin-whitelist 1.3.3 "Whitelist"
cordova-sqlite-storage 3.2.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
@ionic-native/core : 5.5.1
@ionic-native/google-maps : 5.5.0

Current behavior:
Whenever I attempt to use the plugin in an Ionic 4 project with --background set, I cannot see the Google Map displayed.
If I remove the --background property, the map renders fine. Even setting the property to something very simple like just a colour seems to cause the bug to occur, i.e. --background: white;. I therefore do not know if this issue is Ionic's problem, or the plugin maintainer here...
I have take some screenshots to further illustrate my problem. I also receive the following line in the Xcode console. But I doubt this is related.
2019-06-14 13:29:09.181929+0100 MyMapps[24530:1452077] ERROR: Plugin 'map_2_34074899756' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2019-06-14 13:29:59.613137+0100 MyMapps[24530:1452077] FAILED pluginJSON = ["INVALID","map_2_34074899756","detachFromWebView",[]]

If I remove the background property, the map works as expected. If you'd like me to isolate a project with the issue, I can do. Just let me know.
Expected behavior:
For the Google Map area to display when --background has been set.
Screen capture or video record:
Issue:

Working:

Related code, data or error log (please format your code or data):
Happy to create an isolated incident upon request 🙂
Support this plugin activity
I appreicate if you give me a beer :beer: from here

https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/master/README.md#how-does-this-plugin-work-android-ios

Ohhh makes sense! Thanks so much 🙂 I'll have to turn off the background for this page then.


Cloud shell

Users shouldn't need to edit connstrings in the config, should be able to highlevel edit whether or not to use TLS and the like.
Identify the right timeouts for good UX, default to those
Handle CA certs better via configuration

let's make sure the tls / cert stuff is well handled and streamlined, add an example on how to use it wit cloud

the current shell works with cloud, the timeouts should also be okay. But there is an issue with commands like nodes / buckets which do not work through lcb

For example,
/pools/default
Connection times out, but using CURL is working.
Need help from the cloud team to see what's happening from the server side.

Fixed by applying a libcouchbase change to couchbase-rs


Give Camera Safe Defaults

I believe this should be no zoom.

cc: @EtienneBruines

Camera has default zoom value of 1.00, this is usually equal to "no zoom".
However, (0, 0) is at the center of the screen. Perhaps I can try and move this a bit such that it becomes upper-left-corner?

Sure.
On Mon, Oct 26, 2015 at 9:59 AM Etienne Bruines<EMAIL_ADDRESS>wrote:

Camera has default zoom value of 1.00, this is usually equal to "no
zoom".
However, (0, 0) is at the center of the screen. Perhaps I can try and
move this a bit such that it becomes upper-left-corner?
—
Reply to this email directly or view it on GitHub
https://github.com/paked/engi/issues/26#issuecomment-150985236.


JS keywords and reserved words doesn't work with dot notation -> Missing identifier

It took me a long time to figure out why my code wouldn't convert from js to coffee.
Turns out I had a bit like this:
var memcached=require('memcache');

...

memcached.delete(...);

I guess the delete method conflicted with the built in delete() operator?

Fixed in redux: demo


TextView property: alignment: center not working

Problem description

TextView: Ignored unsupported value for peoperty "alignment": Accepting "left","right","centerX", given was: "center".
Expected behavior

Center was working will before an update that i did.
Environment

Tabris.js version: @nightly
Device: Samsung Galaxy
OS: Android

Code snippet
// A minimal, *self-contained* code snippet to reproduce the problem:

https://github.com/eclipsesource/tabris-js/blob/master/doc/migration-guide.md#alignment-properties

But what should I do with types?

(3.0 rc1)

Quick turnover :) Closing as resolved.

Should i update for the fix to work?

As you said, "center" worked before the update.  If you want to continue using "center", downgrade to the version you were previously using.  Othewise, please refer to the linked migration guide for the value that will be supported going forward.


CPP: Tests for taint through lambdas

Tests for taint through lambdas.  For https://jira.semmle.com/browse/CPP-410.
@jbj thinks that taint flow through lambdas may come for free with flow through fields.  If this occurs most of these test cases should then begin to get correct results.  Otherwise, it shouldn't be very difficult to add explicit lambda support.

Note to self: this will conflict with #1715.

LGTM. The test output will need to be updated after #1715 is merged.
I just looked through Lambda.qll to confirm that we extract lambdas to a completely desugared form where the captures become fields of a compiler-generated struct. I think most of the tests in this file can be covered by flow through fields.

I've just updated this with the effects of https://github.com/Semmle/ql/pull/1715.  There's one good result, the rest are probably correct but point to things with no locations.  This might be OK for many purposes but I think we need to fix it.

Nice!

Additional issue: it appears that both captured variables (in this case t and u) are considered tainted even when only one (t) is ever assigned tainted data.  I'm guessing in the generated code they're held in the same struct, which perhaps has something to do with the issue?

Note: I said on Slack: "It looks like an Access to a LambdaCapture.getField() doesn't always have a getLocation()."

Added the same test code to a dataflow test.  The only cases that work in that are the two with flow through ordinary parameters to the lambdas, which worked before #1715.
I'm not sure exactly what's going on, best guess data flow through fields is not providing everything we need after all, and taint is doing something a bit too broad (in conjunction with the fields changes) which is where we're getting our results on the taint test.


Unrelease part should be removed

change log is created but that Unrelease needs to be removed

If I add a parameter option to close this feature, that is to say, will not include these unreleased commits, will it be nice for you to work? It will be served as the default to remove unreleased commits.

@kambpr01
The problem should be solved in the new release v1.2.1.


🐛 [firebase_auth]  user displayName is null when signing with Apple.

Bug report
Describe the bug
Using signInWithProvider with AppleAuthProvider I successfully log in to my Flutter App but the displayName retrived always have a null value. The username does show well is the Apple Login UI Panel prior to the login.
Steps to reproduce
Steps to reproduce the behavior:

Login with Apple using the signInWithProvider and scopes: "name", "email"
get the credentials

Expected behavior
The credentials should contain a displayName with a no null value.
 Please see underlying comments in original issue on latest updates on the issue from native side.
Closing.


⚠ Bofrost.com has degraded performance

In 947d025, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 648 ms

Resolved: Bofrost.com performance has improved in b3a2de5 after 13 minutes.


Beta docs update attributes file

I added variables for each OSP service for the upstream build and downstream build.

There is no distinction between service names between upstream and downstream. But these variables will help ensure that the names are consistent in both docs.


Copy request

Body was used and an empty one getting sent

Codecov Report

Merging #43 into master will decrease coverage by 6.19%.
The diff coverage is 13.33%.

@@           Coverage Diff            @@
##           master     #43     +/-   ##
========================================
- Coverage     100%   93.8%   -6.2%
========================================
  Files           3       3
  Lines         197     210     +13
========================================
  Hits          197     197
- Misses          0      11     +11
- Partials        0       2      +2

Impacted Files
Coverage Δ

appstore/validator.go
83.75% <13.33%> (-16.25%)
:arrow_down:

Continue to review full report at Codecov.

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


Update Oasis -- robo control comp, other minor changes.

About the PR

Add robotics control comp
De-reinforce lots of walls
adds some signage
Why / Balance

Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

mappy no CL

What’s with this weird pattern of reinforcements around the chapel?

What’s with this weird pattern of reinforcements around the chapel?

I tried making the corners of walls reinforced.

POV you can break into sec with a welder and a wrench.


[Feature suggestion] Color by crature type

Hi! I'd like to suggest that the module choose the default blood color for a creature based on its type (like Aberrations in D&D), similar to what Splatter does. Or put a color picker in the token configuration menu, but not having to configure each creature manually would be great! Thank you for the work!

+10000 :) It will be great !
@shemetz Do you think you can add this feature ?

I don't think I will, because:

there are lots of creature types and maintaining the list will require a lot of effort - plus, a lot of them are really inconsistent within a type.  Even with undead - some want dark red blood, some blue blood, some black blood, some no blood at all.
it will require even more system-dependent behavior, which I prefer to avoid as it makes maintenance harder

@shemetz I dont understand, I had in devellopement long time ago :)
Maybe you can be insperied by the work of theRipper93, it's module work for DnD5e and it's custom by users (so you dont have maintaining the list.

I believe this issue can be closed. Thanks for the improvement!


Add NavigationTitle component

Checklist before requesting a review

[x] Working on iOS
[x] Working on Android
[x] Integration tests added
[x] Visual regressions screenshots are up to date
[ ] Design validated

Looks good to me, thanks @hcourthias !


Automatic update of Microsoft.NET.Test.Sdk to 16.0.1

NuKeeper has generated a major update of Microsoft.NET.Test.Sdk to 16.0.1 from 15.9.0
Microsoft.NET.Test.Sdk 16.0.1 was published at 2019-03-04T17:34:39Z, 7 days ago
2 project updates:
Updated tests/HttpClientInterception.Tests/JustEat.HttpClientInterception.Tests.csproj to Microsoft.NET.Test.Sdk 16.0.1 from 15.9.0
Updated samples/SampleApp.Tests/SampleApp.Tests.csproj to Microsoft.NET.Test.Sdk 16.0.1 from 15.9.0
Microsoft.NET.Test.Sdk 16.0.1 on NuGet.org
This is an automated update. Merge only if it passes tests
NuKeeper: https://github.com/NuKeeperDotNet/NuKeeper

Codecov Report

Merging #73 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #73   +/-   ##
=======================================
  Coverage   98.88%   98.88%
=======================================
  Files           8        8
  Lines         804      804
  Branches      123      123
=======================================
  Hits          795      795
  Partials        9        9

Continue to review full report at Codecov.

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

Already part of #72.


Put a system offline

I think by putting a system offline we should commit a new revision with an empty topology.containers section, and 'deploy' it.

This came up because I had a container that I hadn't built correctly, so supervisor was going into an infinite loop trying to start it up, spinning up my fans and using a bunch of processing power.
The only way I could think to stop it was to kill the docker container manually with docker kill.
This kind of problem eludes to the need for health checks and other things that are probably out of scope for nscale right now. I mean, I'd expect it to revert to a previous revision in that case at the very least.

nscale 0.16 has the 'system stop' command.


[Bug] [Speculative Decoding/flash_attn]: Flash attn backend crashes in speculative decoding

Your current environment
CI environment
🐛 Describe the bug
See https://github.com/vllm-project/vllm/pull/5286 and https://github.com/vllm-project/vllm/issues/5152
My guess is the way we encode multiple query tokens per sequence in an attention kernel invocation breaks the flash_attn contract somehow.

actually I will close this in favor of https://github.com/vllm-project/vllm/issues/5152


Power-to-gas should not have a profile, yet it validates and complains that it doesn't have one

See title

Fixed with: 4b4521efa29758b38ce0df4f8a48103da439082e


Expose clusterctl argument to filter objects per cluster during move

Clusterctl move was designed as a one time command to be run when creating management clusters, to move the CAPI objects from kind (bootstrap cluster) to the provider/workload cluster. Move command takes in a namespace option to filter for objects only present in the namespace.
This changes adds an option --filter-cluster to filter objects that belong or are dependents of the provided cluster. This includes machines, secrets, etc. Filter cluster options works for all move scenarios

From and To a cluster
To Directory
From Directory

/lgtm


Updated assistant_agent's system_message

Why are these changes needed?
These changes are needed for two reasons:

The assistant_agent currently gives shell script commands to run only in "sh" blocks (because its system_message asks it do so)

This is dealt with internally by autogen when the user_proxy_agent is supposed to execute the command given to it by the assisstant_agent by checking the user's operating system and appropriately changing "sh" to the required command ("pwsh" or "powershell") if required. However, the assistant_agent still prints out the recommended "sh" command and asks the user or the user_proxy_agent to use that no matter what operating system the user is on. This can be misleading for users reading the outputted chat between the assistant_agent and user_proxy_agent.

To make the assistant_agent's responses more robust and relevant to the user. This change was also suggested by someone else and affirmed by @sonichi in issue #111 (which is still open by the way)

Due to the reasons mentioned above, I propose that we pass the user's operating system in the system_message provided to the assistant_agent so it produces better shell script suggestions and general code results.

Expected outcome:

Related issue number

Addresses conversations in Issue #111
Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[x] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

Codecov Report
Attention: Patch coverage is 50.00000% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 20.63%. Comparing base (ac15996) to head (3032030).
Report is 1 commits behind head on main.

Files
Patch %
Lines

autogen/code_utils.py
0.00%
3 Missing :warning:

autogen/agentchat/conversable_agent.py
0.00%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1776       +/-   ##
===========================================
- Coverage   39.13%   20.63%   -18.50%
===========================================
  Files          57       62        +5
  Lines        6174     6478      +304
  Branches     1384     1555      +171
===========================================
- Hits         2416     1337     -1079
- Misses       3564     4975     +1411
+ Partials      194      166       -28

Flag
Coverage Δ

unittests
20.63% <50.00%> (-18.50%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

why is this happening?

Thanks for the PR. I think this makes sense in the direction of refining AssistantAgent for the feature it supports currently. Though I have a brainstorming question: do you think there is a way to separate prompt tuning from the implementation? E.g., have a separate module to produce a prompt for different usage cases, platforms, etc. and have a mechanism to check the compatibility of prompt combinations among collaborative agents.

Thanks for the PR. I think this makes sense in the direction of refining AssistantAgent for the feature it supports currently. Though I have a brainstorming question: do you think there is a way to separate prompt tuning from the implementation? E.g., have a separate module to produce a prompt for different usage cases, platforms, etc. and have a mechanism to check the compatibility of prompt combinations among collaborative agents.

That makes sense yeah, for jupyter command execution the agent will have to be given a different prompt. I can make a separate folder with python files that have prompts for different agents and their specific use cases well organized. That way, for the jupyter executor all we'll have to do is create a new python file for that and add its prompt there. Instead of filling actual wordy prompts inside the implementation files we can then just call the modules and pass their respective variables as prompts right? This would help make things a lot easier and more organized for future developers as well.

Thanks for the PR. I think this makes sense in the direction of refining AssistantAgent for the feature it supports currently. Though I have a brainstorming question: do you think there is a way to separate prompt tuning from the implementation? E.g., have a separate module to produce a prompt for different usage cases, platforms, etc. and have a mechanism to check the compatibility of prompt combinations among collaborative agents.

That makes sense yeah, for jupyter command execution the agent will have to be given a different prompt. I can make a separate folder with python files that have prompts for different agents and their specific use cases well organized. That way, for the jupyter executor all we'll have to do is create a new python file for that and add its prompt there. Instead of filling actual wordy prompts inside the implementation files we can then just call the modules and pass their respective variables as prompts right? This would help make things a lot easier and more organized for future developers as well.
I'd like to make a separate PR for that whole system tho rather than do that in this PR

also @ekzhu did I understand what you asked for correctly?

That makes sense yeah, for jupyter command execution the agent will have to be given a different prompt. I can make a separate folder with python files that have prompts for different agents and their specific use cases well organized. That way, for the jupyter executor all we'll have to do is create a new python file for that and add its prompt there. Instead of filling actual wordy prompts inside the implementation files we can then just call the modules and pass their respective variables as prompts right? This would help make things a lot easier and more organized for future developers as well.
I'd like to make a separate PR for that whole system tho rather than do that in this PR

also @ekzhu did I understand what you asked for correctly?

Thanks for checking! Yes I think this is a good approach. The key is to consider compatibility between agents' instructions.

That makes sense yeah, for jupyter command execution the agent will have to be given a different prompt. I can make a separate folder with python files that have prompts for different agents and their specific use cases well organized. That way, for the jupyter executor all we'll have to do is create a new python file for that and add its prompt there. Instead of filling actual wordy prompts inside the implementation files we can then just call the modules and pass their respective variables as prompts right? This would help make things a lot easier and more organized for future developers as well.
I'd like to make a separate PR for that whole system tho rather than do that in this PR

also @ekzhu did I understand what you asked for correctly?

Thanks for checking! Yes I think this is a good approach. The key is to consider compatibility between agents' instructions.

Okay, I'll start working on this immediately after this PR

@abhaymathur21 I think this PR may not be able to solve the issue with user proxy's platform, because you cannot access the user proxy during initialization of assistant agent. I suggest we close this PR for now.

@abhaymathur21 I think this PR cannot solve the issue with user proxy's platform, because you cannot access the user proxy during initialization of assistant agent. I suggest we close this PR for now.

Okay, got it


[fs] Universal banner

Related Ticket(s)
https://github.com/carbon-design-system/carbon-for-ibm-dotcom/issues/6547
Description
Added the new component universal banner as a core layout component
Changelog
New

universal banner

Changed

fixed small formatting changes I found

@photodow I made a change so Universal banner still uses Button as CTA in @md. I thought changing the CTA style should sync up with the banner becoming completely clickable. See comments above ^


Update height when receiving new children

Dynamic container height issue
This PR is a fix to the container (view) height not updating itself after it receives new children.
Here is the original issue.
Height animation
Personally I don't want this container height update to be animated so I'll remove that in my fork. But I think you want to keep that animation mandatory there so this PR doesn't touch that.

Could this be merged, please? We are trying to use Swipable Views and without this fix, it is quite unusable

Do we know when this fix can be merged?

is it freezed?


Deployment failure after the instance was cleaned

After the deployment was cleaned i tried to deploy my instance again. Firstly i requested the instance but when i tired to confirm the deployment request i got this error

failed to deploy for user mohamedamer, error message:
cannot find config for mohamedamer at /root/.config/jumpscale/secureconfig/jumpscale/tools/terraform/terraform/Terraform/mohamedamer/data

@Mohamedamer45 I checked the error.  As the deployment service is always running, after cleaning the instances it has no idea that we deleted these instances, they still exist in memory but their config files have gone.  I restarted the server, and your deployment ran successfully.

verified and the deployment is working without any issue


[QUESTION] how to use until_ready/until_n_ready

        println!("waiting");
        ratelimit.until_n_ready(api_cost).await.unwrap();

        println!("trying");
        if let Ok(_) = ratelimit.check_n(api_cost) {

this is the correct usage right?

The usage of until_n_ready looks right - it's fallible because api_cost could be greater than the rate limiter's burst capacity (e.g. trying to get 6 elements through a limiter that allows 5 elements per second), so unwrap() or other error-handling methods are necessary. If the api cost fits into burst capacity, until_n_ready will wait until the request can proceed.
The usage of check_n needs more special-casing though: Since there are two possible Err cases (one, saying it's not ready yet, the other saying it can never be ready). I'd suggest something like (rust syntax not checked, sorry):
match ratelimit.check_n(api_cost) {
  Ok(_) => (), // proceed
  Err(NegativeMultiDecision::BatchNonConforming(_, not_until)) => ..., // We are blocked for now, but can retry later
  Err(NegativeMultiDecision::InsufficientCapacity(_)) => panic!("Programming error: this API call can never succeed"),
}

Hope that helps - I'll close this issue, but if you need more help with the API, feel free to reopen.


Housekeeping Updates

Various smallish updates and fixes. (See #96.)

@pietergreyling Would you be able to look at this?


Filtered rows in the middle are also being copied

For example, if there are 4 rows of data and rows 2 and 3 are filtered out, then copying data to rows 1 and 2 results in rows 2 and 3 (which are filtered out) also getting the copied data. However, if the copy is done by dragging down from the first row, rows 2 and 3 (which are filtered out) do not get the copied data.

hey, thanks for reporting this. i wont be able to have a look for the next few days, but i will get back to you after verifying the same actions in google sheets.

ok so i had a look at google sheets, the behaviour when the values are dragged down is correct but the copy/paste operation should not be pasting the values in the filtered out rows. is this your expectation aswell?

ok so i had a look at google sheets, the behaviour when the values are dragged down is correct but the copy/paste operation should not be pasting the values in the filtered out rows. is this your expectation aswell?

yes


Enable faster polling in ethers.js

Based off my investigation in #1433.
ethers default polling time is 4 seconds which can be a bit long. This sets it to 50 ms when the chainUpdatedFeed  is subscribed to.
Most of #1433 is caused by metamask 20 second polling time so this only helps slightly.

This seems good to me. My only questions are around the 50ms interval you chose for the "fast" setting. It wouldn't make much sense to poll at an interval significantly lower than the typical transaction confirmation interval: so I am wondering whether we should only use this fast setting when targeting ganache?

I think we're only really concerned about ganache but I don't think there's too much harm doing it against an actual blockchain for now.
Longer term we could set ETHERS_REGULAR_POLLING_INTERVAL, ETHERS_QUICK_POLLING_INTERVAL to appropriate values for different networks but I'm not sure it's worth the effort now.


Update ad-banner-cms.json

What is the purpose of the change

ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying

Documentation and Release Note

@jonator this was meant to just go straight to master, cause it's to update copy/links


Got "Lost connection to the socket server. Reconnecting..." everytime when I open kuma site, how can I check the log?

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hi, I installed kuma by docker in a rocky 9.3 linux, with this command:
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
But everytime when I tried open site(without login),  I got a "Lost connection to the socket server. Reconnecting..." error, after some time (maybe 1 or 2 min), the error disappare, everythings seems fine.
I tried using a reserve proxy(with config in here https://github.com/louislam/uptime-kuma?tab=readme-ov-file#advanced-installation ), or direct visite the ip:3001, still got the same error.
So, how can I check the error log?
Add:
I newly installed a fresh Rocky 9.3 server, with docker 25.0.1, and new uptime-kuma , visit using ip:3001, still got lost conneciton. And the docker logs shows the same like below.
📝 Error Message(s) or Log
(docker logs, seems no error?)
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Rocky 9.3, docker
🌐 Browser
Chrome,edge,firefox
🐋 Docker Version
20.10.13
🟩 NodeJS Version
No response

So, how can I check the error log?

sudo docker logs uptime-kuma

![Uploading<PHONE_NUMBER>257_d.png…](docker logs, seems no error?)

I think a file you tried to attach was not fully done uploading..

So, how can I check the error log?

sudo docker logs uptime-kuma

![Uploading<PHONE_NUMBER>257_d.png…](docker logs, seems no error?)

I think a file you tried to attach was not fully done uploading..

sorry, i update the attach in the origin post..

I think this is more of a front-end issue, would be great if you also take a look if there are any browser console errors (but I think it's unlikely).
I also noticed that the polling connection method seems to behave a bit weird compared to before, but further investigation would require deeper knowledge of how socket.io works first.

I think this is more of a front-end issue, would be great if you also take a look if there are any browser console errors (but I think it's unlikely).
I also noticed that the polling connection method seems to behave a bit weird compared to before, but further investigation would require deeper knowledge of how socket.io works first.

This is the chrome console error. In this picture I got 2 error then seems connected, and kuma works fine. In some other times will be more and more same error...

400 seems connected to #4409.

continuing to debug this in #4409 as I think they are the same issue.
If during said process we discover that this is a different issue, we will reopen
=> closing as duplicate


Testing: MarkdownString in vscode.TestMessage is always sanitized (strips color styles)

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

VS Code Version: all
OS Version: alll

Following code snippet:
    const mds = new vscode.MarkdownString();
    mds.supportHtml = true;
    mds.value = `
# Title
## Title
### Title
RED
`;
    mds.isTrusted = true;
    const message = new vscode.TestMessage(mds);

Results in:

Expected: RED should be red.
// @connor4312

This is by-design. We only allow a one or two css properties for security and presentation reasons
Marking as a feature request to gauge interest in broadening the subset of css that is supported

While I'm not certain that we want to do this, eventually we will probably add webview-like capabilities to testing output, as we've had asks for more complex scenarios, and it's easy to imagine even more advanced ones like image diffing.


Page number offset in document outline

Hi, I am using PDFMiner to extract the outline from a PDF document. I have noticed that the page numbers that I am extracting appear to be off by a constant. Here is my code:
import re
import sys

from pdfminer.pdfdocument import PDFDocument, PDFNoOutlines
from pdfminer.pdfparser import PDFParser
from pdfminer.pdftypes import PDFObjRef

def get_outline():
    pattern = re.compile(r".*:Bookmark (\d+):.*")  # Will this work for all PDFs?

    with open(sys.argv[1], "rb") as f:
        doc = PDFDocument(PDFParser(f))
        try:
            outlines = doc.get_outlines()
        except PDFNoOutlines:
            return

        title: str
        action: PDFObjRef
        for (_, title, _, action, se) in outlines:
            if action is None:
                continue
            resolved = action.resolve(default=dict())
            try:
                destination_field = resolved["D"]  # "D" for destination
            except KeyError:
                continue
            if isinstance(destination_field, list):
                # This seems to happen when the link goes to a specific place in a page, not a whole page. In
                # all the examples I looked at, this happened in long-form paragraphs (not flowcharts).
                continue
            match = pattern.search(destination_field.decode())
            if match:
                page = int(match.group(1))
                yield page, title

I have found that the offset varies from document to document. For this document, the offset is 2: document.pdf
You will notice that while my code identifies "Workup, Primary Tx, and Pathologic Dx (TEST-1)" as page 4, it is actually on page 6 in the PDF document.
I was hoping you could give me some insight as to why this is. I have looked over section 8.2.2 of the PDF reference but I didn't find an explanation.
Maybe this isn't a bug and I am just misinterpreting the output. Also, if you have any suggestions for making the code more robust to different PDF documents, please let me know. I'll note that we are not interested in outline items that point to the middle of a page.

I did find a section in the PDF reference (section F.3.1) on something called the "Page Offset Hint Table." I am wondering if this is the cause of the problem, and if so, can I access that table using PDFMiner?

Your code looks good, as far as I could understand it in a short period of time.
You might also want to read the related sections of the PDF Reference:

8.2.1 on destinations.
3.6.1 about the document catalog (for named references)
G.5 an example of an outline

I would expect you to use the "Dest" entry, to get a reference to the page the outline is pointing to. Not to use the "A" entry. The "D" entry of the "A" entry is a destination, but the "Dest" entry is also a destination and probably a more direct approach.

Thanks for the response! This project is no longer active for me, but this is good to know for future reference.


[5.3] trait Illuminate\Foundation\Auth\AuthenticatesUsers has no possibility to set guard

Illuminate\Foundation\Auth\AuthenticatesUsers has no possibility to set guard's name. Becouse of that, multi auth can't be implemented.
    /**
     * Get the guard to be used during authentication.
     *
     * @return \Illuminate\Contracts\Auth\StatefulGuard
     */
    protected function guard()
    {
        return Auth::guard();
    }

Guard's name should be customizable for example:
    protected $guard = '';

    public function getGuard()
    {
        return $this->guard;
    }

    /**
     * Get the guard to be used during authentication.
     *
     * @return \Illuminate\Contracts\Auth\StatefulGuard
     */

    protected function guard()
    {
        return Auth::guard($this->getGuard());
    }

yes, I changed here for using multi auth

I just figgured out that its enough to override guard() method. My fault.
protected function guard()
    {
        return Auth::guard('name_of_new_guard');
    }


Fixes crash when using Mesh::create_outline and Mesh::create_convex_shape

This fixes #32988

All paths in surface_get_arrays should return a VS::ARRAY_MAX sized array even on
error.

There are four error paths in this function call. Three of them return an empty array before this fix, causing the index error crash.
Currently, Array does not have a constructor for creating a non-zero sized array. To only create the array on error, I have to use ERR_FAIL_V_MSG instead of ERR_FAIL_INDEX_V or ERR_FAIL_COND_V. This can be fixed after #18328 is resolved.

Quick comment from @reduz on IRC:
14:14 <reduz> Akien: I am not sure, maybe it should be better to check that the array is empty and return an error
14:14 <reduz> or show an error

I did a search and there are about at least 23 calls to surface_get_arrays / surface_get_blend_shape_arrays across the codebase. Only 4 of them checked whether the array returned is empty.
I'll give it a try tomorrow.

I changed the PR to do size checks.
To keep it simple, this only adds checks to places that crashes the original issue's reproduction project.
After adding the size checks, there is still a strange crash in create_outline in the Worst Godot Test Project. One CylinderMesh instance has 522 vertices, but only 1 index, so it crashes when trying to access three indices at a time: (crashes on line 399)
https://github.com/godotengine/godot/blob/3df9d187a32c7d1d500812b295e01c8f14eb50de/scene/resources/mesh.cpp#L383-L401
So the check on line 384 is added to make sure that the indices array size is a multiple of three.

Thanks!


Add 'resume training' feature

Our current draft manages config.yaml within the dataframe, but doesn't make adjustments to the model training file located under models: <project_folder>/dlc-models/iteration-<#>/<scorer>/train/pose_cfg.yaml
To resume training from the previous training snapshot, we would need to modify the init_weights value to a full path without extension dlc-models/iteration-<#>/<scorer>/train/snapshot-<#>

partially addressed in upcoming workflow pr

This function provides the ability to update the training config file to point to the relevant checkpoint. The team will consider migrating this code to the element itself.


Merge PR to catenax-ng/tx-digital-product-pass develop branch

What this PR changes/adds

Update image repository in consumer UI and consumer backend helm deployments
Update changelog.md

The develop branch is wrongly selected. Hence, this PR is closed


add gg and G vim motions to keyboard shortcuts

I added two basic vim motions to the keyboard shortcuts:
g g: move focus to top
G: move focus to bottom
A few thoughts:

I was unsure whether to add these to the help page. I did, though I placed them with the other multi-key commands as if I placed them next to the existing Focus commands the g g multi-key looked ugly in an otherwise single-key column.

visually aligned

topically placed, but visually poor?

I debated whether to make moveFocusToTop shift focus to the title cell (idx 0), the setup cell (idx 1), or the first custom cell. I chose idx 0 as that seemed the plainest meaning of "shift focus to top".

I'm new to Livebook, so I don't know how practical or possible a motion like 5 G ("go to 5th cell") would be. I did not add anything in this regard, but would be happy to look into it if it would be a common motion.

 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.

Hey, thanks for the PR, but I'm not convinced we should be doing that. I am hesitant to add such specific top-level shortcuts, because we may want to use g as a mnemonic in the future (as with s/show and e/evaluate). I'm not sure if jumping bottom/down is strong enough use case, especially that one can use page-top/page-bottom system shortcuts.


[MM-30966] Show the correct sub header when company information is filled

Summary
Show the correct sub header when company information is filled
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-30966
Screenshots

before
after

Release Note
Bug Fix: Show the correct sub header when the billing information is filled.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/230662

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/230674


New tag and TER release

Hi
Can you please tag a new version as well as relase to TER?
The current version in TER is 0.3.4, which results in showing the extension as outdated:

Hey @tmotyl, thanks for reaching out. Unfortunatley, I have to tell you, that I'm no longer going to support non composer based installations of TYPO3, therefore I won't release a new Version on TER in the future, only packagist.org.
Unfortunaltley, my time is at the moment really tight and therefore  - if you have time and are in need of a new version, a pull request with the necessary additions would be apreciated.

Hi @benjaminhirsch
My main concern is the fact that TER is not only used to download extensions for non-composer mode, but also as a single place to discover extensions/packages. If extension is not visible there, it will not be found and used.
I see a grate benefit in having the extension being up to date in TER even if non-composer mode is not supported.
Since recently it's also possible to automatically push new releases to TER using github actions and the new TER REST API
https://github.com/TYPO3/tailor
Right now I'm using the dev-master version of this extension in the project, as the most recent commits from master hasn't been released yet.
It woudl be grateful for a release :)

@benjaminhirsch AFAIK it's enough to merge https://github.com/benjaminhirsch/typo3-azurestorage/pull/29 and release a new tag

Released 0.5.3


Too much compile time to resolve a complex function signiture definition.

Example Environment

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Abstraction
I found the case that the compile time of tsc increases to ~15x to resolve a complex function signature definition  when I update rxjs to 5.0.0-beta.2 from 5.0.0-beta.1 (https://github.com/karen-irc/karen/pull/574).
But after this commit, the compile time was recovered to the previous one.

beta.1
beta.2
beta.2 + explicit type annotations

Files:
111
124
124

Lines:
28560
29011
29012

Nodes:
119182
125219
125258

Identifiers:
44304
46931
46945

Symbols:
2960494
5126214
3375603

Types:
66178
1069572
41087

Memory used:
165777K
1264781K
118627K

I/O read:
0.03s
0.04s
0.04s

I/O write:
0.32s
0.31s
0.22s

Parse time:
0.48s
0.73s
0.64s

Bind time:
0.28s
0.41s
0.31s

Check time:
1.83s
31.48s
1.67s

Emit time:
0.52s
1.53s
0.43s

Total time:
3.10s
34.15s
3.05s

<EMAIL_ADDRESS>has some pretty complex type signitured functions:

combineLatest()
zip()

I know the type inference is not omnipotent, it need a complex computations, and this issue may be a corner-case of TypeScript compiler.
But I also think this would be a problem if libraries having a complex type signatures rises in the future.
Could you resolve this problem?

@vladima do you think this is related to the other perf regression we tracked down a couple weeks ago?

As an additional information, I tried to upgrade to<EMAIL_ADDRESS>from<EMAIL_ADDRESS>for the private code of my day job.
This is the comparison (sorry, I forgot diagnostic options...):

<EMAIL_ADDRESS>
about 3.4s~4s

<EMAIL_ADDRESS>
the compilation has not completed after 2h!

This upgrading needs some migration to my code thus this is not simply comparison. But this indicates that the type definitions of rxjs v5 is more complex than v4...

Fix is checked in and should be available on today's nightly build: typescript@next on npm. Can you give it a try and check if it resolves your issue?

okay, I'll try<EMAIL_ADDRESS>

Seems that today's next does not include the fix, can you either try next tomorrow or use tsc.js built from master (I've pasted it here)

@vladima
This is the result with<EMAIL_ADDRESS>I feel there would be no problem. Thank you!

without type paramter
with type parameter explicitly

Files:
124
124

Lines:
29011
29012

Nodes:
125219
125258

Identifiers:
46931
46945

Symbols:
3401852
3376452

Types:
56016
41557

Memory used:
140577K
127098K

I/O read:
0.03s
0.04s

I/O write:
0.02s
0.02s

Parse time:
0.35s
0.36s

Bind time:
0.24s
0.23s

Check time:
1.24s
1.01s

Emit time:
0.15s
0.15s

Total time:
1.99s
1.75s

#7372 ports this fix to the next point release


don't exit on backspace

While trying this out, I entered a few strings to see how it's working, in between deleting input by repeatedly pressing backspace. When I pressed it once too often, lighthouse closed, which I didn't expect and is imho a bad choice.
Consider only closing on Escape?

it was a choice, but you can add backspace_exit=0 to your lighthouserc to get that the way you like it, now

Thanks


Update global surface CX namelist

Explicitly list the fields in the global surface CX namelist. This follows the UKV namelist but adds three more required fields: cloud_bulk, cf and cl.
The existing opsinputs ctest is unchanged.
Sith global KGO output: http://fcm1/cylc-review/taskjobs/chthomas/?suite=sith-cx-global%2Frun3
(Not shown) sith UKV and malak global KGOs are also unaffected.
Fixes #155

Thanks for both of your reviews!


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1757 ms

Resolved: Bofrost.be performance has improved in a387392.


FindSecurityBugs encounters issues with java 21

Situation:
When scanning binaries that use Temurin / Java 21 FindSecurityBugs will fail.
Solution:
The currently used Spotbugs version does not support Temurin / Java 21. Starting from version 4.8.0 they do. That means that Spotbugs needs to be updated and the system version of the openjdk needs to be updated to 21 too.

@haerter-tss it would be nice to have a system test for find security bugs. My idea would be to test FBugs with a number of JVM versions (Java 8, 11, 17 and 21).


[BUG]: Error in validating payment method

Is there an existing issue for this?

[X] I have searched the existing issues.

🐞 Describe the Bug
I am implementing React-Paypal integration for Advanced Payment using our own Api built with dotnet to prepareForPayment, createOrder and capturePayment. I used the same example as yours for hostedfield but keep getting errors. I did check on our dotnet side and test our api in Postman, it was working well. So, I assume this must be a bug from react-paypal-js
The errors:

Failed to load the PayPal JS SDK script. Error: Expected client-id to be passed (debug id: f175715de182b)
GET https://www.paypal.com/sdk/js?components=buttons,hosted-fields&intent=capture&vault=false net::ERR_ABORTED 400 react-paypal-js.js:520
GET https://www.paypal.com/sdk/js?components=buttons,hosted-fields&intent=capture&vault=false 400 react-paypal-js.js:679

These are my react code:-
MainWrapper.js
import { useState } from "react";
import { PayPalScriptProvider } from "@paypal/react-paypal-js";

import PrepareForPayment from "./PrepareForPayment";
import "../styles/ProductCard.css";

const MainWrapper = () => {

	const [clientId, setClientId] = useState(null)
    const [clientToken, setClientToken] = useState(null)
	const [merchantRef, setMerchantRef] = useState(null)
	const [sessionHash, setSessionHash] = useState(null)
	const [showData, setShowData] = useState(false);

	const baseUrl = "http://local.payment.web"

	const onClick = async () => {
		console.log("onClick ran");
		return await fetch(`${baseUrl}/api/Ppal/ReactApi/PrepareForPayment`, {
				mode: "cors",
				method: "post",
				headers: {
					'content-type': 'application/json',
					'Access-Control-Allow-Origin': '*'

				},
				body: JSON.stringify({
					"curCode": "USD",
					"orderAmount": 500
				})
			}).then(res => {
				console.log("fetch Data : ", res);
				return res.json()
			}).then(data => {
				console.log("fetch Data : ", data);
				setShowData(true)
				setClientId(data.ClientId)
				setClientToken(data.ClientToken)

				if (data.prepareForPayment) {
					setMerchantRef(data.merchantRef)
					setSessionHash(data.sessionHash)
				}
			}).catch(err => console.log(err))
	}

	return (
		<>
			<button onClick={onClick} disabled={showData ? true : false}>Prepare for payment</button>
			{
				showData && (
                    <PayPalScriptProvider
                    options={{
                        "client-id": clientId,
                        components: "buttons,hosted-fields",
                        "data-client-token": clientToken,
                        intent: "capture",
                        vault: false,
                    }}
                    >
                        <PrepareForPayment merchantR={merchantRef} sessionH={sessionHash} clientT={clientToken} clientI={clientId} />
                    </PayPalScriptProvider>
				)
			}
		</>
	)
}

export default MainWrapper

PrepareForPayment.jsx
import { useState } from "react";
import {
	PayPalScriptProvider,
	PayPalHostedFieldsProvider,
	PayPalHostedField,
    usePayPalHostedFields
} from "@paypal/react-paypal-js";
import "../styles/Checkout.css";

const SubmitPayment = ({ merchantR, sessionH }) => {
    // Here declare the variable containing the hostedField instance
    const hostedFields = usePayPalHostedFields();

    const baseUrl = "http://local.payment.web"

    const submitHandler = () => {
        if (!typeof hostedFields.submit !== "function") return; // validate that `submit()` exists before using it
        hostedFields
            .submit({
                // The full name as shown in the card and billing address
                cardholderName: "John Wick",
            })
            .then((order) => {
                fetch(
                    `${baseUrl}/api/Ppal/ReactApi/CaptureOrder`, {
                        mode: "cors",
						method: "post",
						headers: {
							'content-type': 'application/json'
						},
						body: JSON.stringify({
							merchantRef: merchantR,
							sessionHash: sessionH
						})
                    }
                )
                    .then((response) => response.json())
                    .then((data) => {
                        console.log("data from pay button : ", data);
						if(data.isApproved) {
							alert("Payment successful")
						}
						if(!data.isApproved) alert("Payment declined")
						if(data.isExpired) alert("Payment expired")
                    })
                    .catch((err) => console.log("Error here : ", err));
            });
    };

    return <button onClick={submitHandler}>Pay</button>;
};

const PrepareForPayment = ({ merchantR, sessionH, clientT, clientI }) => {
    const [orderId, setOrderId] = useState(null)

    const baseUrl = "http://local.payment.web"

	return (
		<>
			{clientT ? (
				<PayPalScriptProvider
					options={{
                        "client-id": clientI,
						components: "buttons,hosted-fields",
						"data-client-token": clientT
					}}
				>
					<PayPalHostedFieldsProvider
						styles={{".valid":{"color":"#28a745"},".invalid":{"color":"#dc3545"},"input":{"font-family":"monospace","font-size":"16px"}}}
						createOrder={async() => {
                            return await fetch(`${baseUrl}/api/Ppal/ReactApi/CreateOrder2`, {
                                method: 'post',
                                headers: {
                                    'content-type': 'application/json'
                                },
                                body: JSON.stringify({
                                    merchantRef: merchantR,
                                    sessionHash: sessionH
                                })
                            }).then(res => {
                                console.log("res from createOrder", res);
                                return res.json()
                            }).then(data => {
                                console.log("orderId from button : ", data?.orderId);
                                if (data?.createOrder) return setOrderId(data?.orderId)
                            })
                        }}
					>

                            Card Number
                            *

                        <PayPalHostedField
                            id="card-number"
                            className="card-field"
                            hostedFieldType="number"
                            options={{
                                selector: "#card-number",
                                placeholder: "4111 1111 1111 1111",
                            }}
                        />

                            CVV*

                        <PayPalHostedField
                            id="cvv"
                            className="card-field"
                            hostedFieldType="cvv"
                            options={{
                                selector: "#cvv",
                                placeholder: "123",
                                maskInput: true,
                            }}
                        />

                            Expiration Date
                            *

                        <PayPalHostedField
                            id="expiration-date"
                            className="card-field"
                            hostedFieldType="expirationDate"
                            options={{
                                selector: "#expiration-date",
                                placeholder: "MM/YYYY",
                            }}
                        />
                        <SubmitPayment merchantR={merchantR} sessionH={sessionH} />
					</PayPalHostedFieldsProvider>
				</PayPalScriptProvider>
			) : (

Loading token...

			)}
		</>
	);
}

export default PrepareForPayment

😕 Current Behavior

🤔 Expected Behavior
It should capture our api and validate payment
🔬 Minimal Reproduction
No response
🌍 Environment
| Software         | Version(s) |
| ---------------- | ---------- |
| react-paypal-js  |     ^7.8.1       |
| Browser          |      Chrome      |
| Operating System |     windows       |

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

➕ Anything else?
No response

First thing I am noticing is that you should only be rendering one instance of PayPalScriptProvider in your component tree. You appear to be rendering two instances one in the parent MainWrapper and one in the child PrepareForPayment. Any providers should be rendered once if possible to avoid refetches of the sdk. Typically this is easiest when they are rendered at or near the root of your application. Please see our [usage guide] (https://github.com/paypal/react-paypal-js#usage).
The client-id is safe to use directly in front end code. Do not share any other tokens with client code.  I noticed that you are retrieving client-id from the backend and doing a hide show operation in state. If the script provided is mistakenly loaded with a null value for client-id it will fail the fetch request similar to what you see in Chrome dev tools. You can choose to retrieve it from your backend but please ensure your React application code is not passing null to the PayPalScriptProvider at any time.
Here is a codesandbox for buttons that is working correctly given your MainWrapper component code. I did have to remove hosted fields as it requires the secret token which can not be shared in public. I also did a promise around the state setters to mimic the async logic of the fetch request where you retrieve your client-id.

@westeezy Thank you for responding to this. I did another implementation by only rendering 1 instance on #305 but React skipped HostedField
The one that you implemented is for PaypalButton , I can make it work with that but what I want to achieve is by using card fields

In that case I will close this and we can handle conversation about #305 in its respective issue.


Turn links blue

Turns links and headers blue and makes "STATUSBOARD" "STATUS BOARD"

Thanks Kevin!
I merged this into my local, and pushed it to the Dev site. I am waiting on some heroku updates before we have a more standard dev-staging-live setup, so i can get approval on changes from the group, and then we can merge this in!
http://brigade-project-index-dev.herokuapp.com/#/


TFS 2015 Update 3 Build Deploy TestAgent Task 'ConfigureTestAgent' Keeps Rebooting and Does Not Finish

I have a vNext build that is stuck at the step below. The VM (Windows 10) keeps being rebooted (even after the build is manually stopped). This agent needs to be configured as an "Interactive Process" (to run Selenium tests).

DistributedTests: Task 'ConfigureTestAgent' on machine 'DVDIP-W10-36.dev.jha:5985' is taking time. Please Wait

Can someone please help?
Thanks in advance.

I ended up installing the test agent manually so that the build can bypass this step.


Return errors from ArcLoaderBuilder.build().

Hope this is ok, cheers!

Hi XAMPPRocky,
We can pass the path easily for the shared resource but it is lost for the locale resources and I think it would involve a fairly heavy refactor to include the path for the locale resources; whilst it is desirable I don't have the time to go through all the changes required to make this work.
No worries if you don't want to take the PR, cheers!

Thanks for looking into this, that reasoning seems fine, to me. If you could remove the path variable so we only have one error variant I can merge this in and create a seperate issue for improving the error message.

Thanks. Agreed, I think it is better if assigning the path to the error is handled as a separate issue considering it will take some refactoring of the types to implement correctly.
Hopefully, the latest commit can be merged. Cheers :+1:

This has now been published as 0.5.10


Add Modbus RTU

This PR adds Modbus RTU capability using the nerves_uart package.
Open to discussion how this ought to work so that persons interested only in TCP don't need to be pulling in extra dependencies.

Thank you for your contribution and sorry for the delay. I'm pretty busy right now. I'll look at your PR ASAP.

Hey, I'm so sorry I totally forgot to look at your PR. It looks good and I want to merge it and publish a new version.
Do you have any clue what it is?

I can't publish a hex package, because the nerves_uart dependency points to your Github fork. Only hexpackages can be dependencies of hex packages. What did you change? Can you publish your changes upstream?


Clean up and document the generation of stations.

I am warming up. The generation of stations didn't work out of the box, so I added instructions and cleaned up the code.

Hi, thank you very much for your PR!
I had to remove the call to the Google API as scraping is not allowed by them. I will review your PR in a few hours and remove the according parts.
Best regards

It seems to work now. This is the statistics output of tracemalloc for the full parse:
./simple_dwd_weatherforecast/dwdforecast.py:606: size=105 KiB (+105 KiB), count=413 (+413), average=259 B
./simple_dwd_weatherforecast/dwdforecast.py:565: size=67.4 KiB (+67.4 KiB), count=2876 (+2876), average=24 B
./simple_dwd_weatherforecast/dwdforecast.py:605: size=18.0 KiB (+18.0 KiB), count=243 (+243), average=76 B
./simple_dwd_weatherforecast/dwdforecast.py:635: size=17.1 KiB (+17.1 KiB), count=240 (+240), average=73 B
./simple_dwd_weatherforecast/dwdforecast.py:653: size=5760 B (+5760 B), count=240 (+240), average=24 B
./simple_dwd_weatherforecast/dwdforecast.py:571: size=1134 B (+1134 B), count=10 (+10), average=113 B
/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/zipfile.py:1069: size=768 B (+768 B), count=1 (+1), average=768 B
./tests/test_parsekml.py:29: size=352 B (+352 B), count=3 (+3), average=117 B
/opt/homebrew/Cellar/python@3.11/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/zipfile.py:733: size=288 B (+288 B), count=2 (+2), average=144 B
./tests/test_parsekml.py:30: size=248 B (+248 B), count=2 (+2), average=124 B

All tests pass, except the full parse, for which I don't have the right comparison ("dummy") data.

Code looks good, thank you very much! I need to regenerate the test data for the large weather report. After this, I will merge your PR.


Stabilize docker readings behavior

Sometimes docker doesn't return any values in the headers. The header just contains the timespan, but not the actual value. In Issues #15  and #6 the behavior is visible and should be effectively mitigated by this PR.
With this pull request we do the following:

decode the JWT token and extract the limit contained in there
store the current value to re-use it on the next run when it occurs that the header returned from docker is not complete

@Stift thanks for contributing.
I think your changes would not fix the issue described in #15 because the method limit_extractor is still called and will still fail if the header string is as described in the issue. Is this possible or am I mistaken here?
However, I think your pull request is still interesting for two reasons:
Firstly, it might alleviate #6 because it caches a previous result from the docker hub api which could be used if we have no response from the api. However, if this is something that we want do (lets see what @immanuelfodor thinks about this), we should also always cache the last success value. Currently you only cache the value once when the container is startet and use this value for all cases where it is failing.
Secondly, you extract the remaining requests information from the jwt token. I didn't know that this is possible, is it as accurate as the information in the head requests? If so, we might want to only use the information from the jwt token. This would save us (and the docker hub api) the head request. If we want to do this, we could remove most of the code that is called after get_token. @Stift What do you think?

Although the DockerHub API seems to be fixed, I think caching the last successful read as a fallback solution is acceptable in case of future API problems. For details, see this comment: https://github.com/viadee/docker-hub-rate-limit-exporter/issues/6#issuecomment-825680538

@immanuelfodor thanks!
So lets go with the caching approach. @Stift, since you already wrote most of the code, do you want fix the above mentioned issues, afterwards I will merge :-)


Character not play animation

Describe your bug here.
The Character didn't want to play animation (On hiting note)
Opponent and Player
If don't know how here the Explain:
https://user-images.githubusercontent.com/109717730/182099387-86c99ab2-c8b6-4847-9c58-767a5bbd8a77.mp4
It's a Working Project btw
and it happen when change bpm
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.


Fix fetch by unprivileged user

Add execute permission for group to temporary directory allowing unprivileged user to fetch files there.

Thanks! I have DST set in my config file which apparently made me miss this in my testing.


Redux with ngrx?

What do you think about implementing Redux with NgRX? I know that it would add a lot of code but the payoff is worth it.

It would be amazing @verygreenboi Want to contribute? Starting with this redux implementation? :)

I'll give it a shot.

Cool @verygreenboi


Version 1.0.0 does not refresh in chromium browser

Version 1.0.0 does not refresh in chromium browser (FullPageOS). In Safari everything works, including the color of the moon

Try to clear your cache.

it didn't work

It updates flawlessly for me in both Chrome and Edge.

in chrome 114.0.5735.199, after clear cache worked

@nawonpl, what exactly do you mean by "does not refresh":

You still see the old version (e.g., no moon)
OR
It shows everything it's supposed to but doesn't update, i.e. the Sun and the Moon don't move, the azimuth/elevation doesn't update, etc.

I see a new version with the moon but neither the sun nor the moon moves

So it has nothing to do with the browser cache. I suspect Chromium on FullPageOS is heavily optimized in some way that interferes with the refresh mechanism of the card. The card uses window.setTimeout to schedule the refresh in case anyone wants to debug this.

Please try lovelace-horizon-card.zip together with adding this to the card config:
refresh_method: hass

It will force an alternative refresh method that relies on HA sending state change events. Note that the card has no control over when HA will send such an event. On a busy production installation it should happen relatively often, on an almost empty test one I have it happens every 8 minutes or so. Also note that the refresh period setting still applies (default 60s) so for example if HA sends state change events every 10 seconds the card won't update until the refresh period has passed.

Isn't this fix in master ?


Support LocalDateTime and ZonedDateTime (and some cleanup)

This is the first half related to https://github.com/primefaces-extensions/primefaces-extensions.github.com/issues/677

Looks great!


s/sensative/sensitive in Module 2

In section 2.1.1 of Module 2, first paragraph.

Solved with commit 3eb26cc


Speedtest error like closed issue #9

Hi there
First, thanks for a brilliant stack. Works a treat. I'm running on Unraid (using Docker Compose plugin to pull and docker up stacks).
All working fine except the Speedtest from netstats which hourly puts thie error into the log -
2022-09-05T19:00:02Z E! [inputs.exec] Error in plugin: exec: exit status 1 for command 'speedtest -u bps -f json-pretty --accept-license': ==============================================================================...
I've tried repulling and re building the stack but error persists. All other tests from netstats (ping etc..) working fine.
Any help appreciated.
Many thanks.

What do you have in your default.env file? Is it still the default?
SPEEDTEST_COMMAND="speedtest -u bps -f json-pretty --accept-license"
SPEEDTEST_INTERVAL="15m"

If so, strange the error is every hour. Anyway, do you have any speed test data at all? They all show at the bottom under "Additional Test Details".
Next would be to jump into the container and see if you can run it manually.

Connect to the netstats container

docker-compose exec netstats bash

Run the Speed test

speedtest -u bps -f json-pretty --accept-license

You should get a dump of JSON out of the above command.

Fixedchanging the speedtest command inside the netstats-provisioning/telegraf.conf, line 55 to speedtest -u bps -f json-pretty --accept-license --accept-gdpr that way it automatically accepts the GDPR license


[Bug] Vision-Transformer-Base model not support dynamic shape due to hard-coded Reshape node input shape

Describe the bug
I notice that PR #706 was merged in master, which target to support dynamic input shape for ViT-based algorithms. However, when I trained a dummy model with ImageNet dataset, then export Pytorch model with tools/deployment/pytorch2onnx.py with onnx simplifier, following error occurs:
  File "/home/xsun/anaconda3/envs/mmcls/lib/python3.6/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 192, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Reshape node. Name:'ime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:41 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, std::vector<long int>&, bool) e.Size()) == size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{1,768,28,28}, requested shape:{1,768,196}

When I visualize intermediate generated ONNX model vit-p16-base.onnx before simplify, I found that Node reshape_5 has hard-coded input shape [1,768,196], which can not be reshape for ONNX runtime, so vit-p16-base.onnx is not support dynamic shape input. Could you please have a look?

To Reproduce
You may follow following step to reproduce the error in github master with commit 2037260
conda create -n mmcls python=3.6
conda activate mmcls
conda install pytorch==1.5.1 torchvision==0.6.1 -c pytorch
pip install openmim protobuf onnxruntime onnx-simplifier
git clone https://github.com/open-mmlab/mmclassification.git
cd mmclassification
mim install -e .
python tools/train.py configs/vision_transformer/vit-base-p16_pt-64xb64_in1k-224.py
python tools/deployment/pytorch2onnx.py \
configs/vision_transformer/vit-base-p16_pt-64xb64_in1k-224.py \
--checkpoint work_dirs/vit-base-p16_pt-64xb64_in1k-224/latest.pth \
--output-file vit-base-p16.onnx  --dynamic-export --simplify

Post related information

The output of pip list | grep "mmcv\|mmcls\|^torch"

mmcls              0.21.0          /home/xsun/mmclassification
mmcv-full          1.4.6
torch              1.5.1
torchvision        0.6.0a0+35d732a

config file modified it or created a new one.
I just use dummy 200 imagenet images, and change max_epochs as 1 for training, you may find trainig.log and pytorch2onnx.log as follow: train.log, python2onnx.log

Thanks for your report, and I will check it later

@mzr1996 Thanks for you quick response, I found Twins-Svt-Base model has similar issue, I created a separate issue #726 for detailed info, could you please also have a look. Thanks!

I also had this issue. But it succeed when I upgrade the torch to 1.11. Seems a bug of torch.onnx.export.

I also had this issue. But it succeed when I upgrade the torch to 1.11. Seems a bug of torch.onnx.export.

@zhentaoyu, thanks for your advice, I upgrade torch to 1.11.0,  export ONNX model now does not have hard-coded reshape node:

But when I ran following command, another runtime error raised:
python tools/deployment/pytorch2onnx.py configs/vision_transformer/vit-base-p16_pt-64xb64_in1k-224.py --checkpoint work_dirs/vit-base-p16_pt-64xb64_in1k-224/latest.pth --output-file vit-base-p16.onnx  --dynamic-export --simplify
2022-03-15 09:48:21.911159557 [E:onnxruntime:, sequential_executor.cc:346 Execute] Non-zero status code returned while running Add node. Name:'Add_25' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/math/element_wise_ops.h:505 void onnxruntime::BroadcastIterator::Append(ptrdiff_t, ptrdiff_t) axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 197 by 785

Traceback (most recent call last):
  File "tools/deployment/pytorch2onnx.py", line 226, in <module>
    pytorch2onnx(
  File "tools/deployment/pytorch2onnx.py", line 131, in pytorch2onnx
    model_opt, check_ok = onnxsim.simplify(
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 492, in simplify
    model = fixed_point(model, infer_shapes_and_optimize, constant_folding)
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 393, in fixed_point
    x = func_b(x)
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 482, in constant_folding
    res = forward_for_node_outputs(model,
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 229, in forward_for_node_outputs
    res = forward(model,
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxsim/onnx_simplifier.py", line 215, in forward
    res = OrderedDict(zip(outputs, sess.run(
  File "/home/xsun/anaconda3/envs/py38/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 192, in run
    return self._sess.run(output_names, input_feed, run_options)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Non-zero status code returned while running Add node. Name:'Add_25' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/math/element_wise_ops.h:505 void onnxruntime::BroadcastIterator::Append(ptrdiff_t, ptrdiff_t) axis == 1 || axis == largest was false. Attempting to broadcast an axis by a dimension other than 1. 197 by 785

I use following python package pip list | grep "mmcv\|mmcls\|onnx\|^torch":
mmcls              0.21.0          /home/xsun/mmclassification
mmcv-full          1.4.6
onnx               1.11.0
onnx-simplifier    0.3.7
onnxoptimizer      0.2.6
onnxruntime        1.10.0
torch              1.11.0
torchvision        0.6.0a0+35d732a

It seems that new error is related to onnx-simplifier. Can same issue be reproduceable in your environment?
Thanks,
Xiake

@sammysun0711, the input shape when do simplify is like it in the script:

I don't understand why, so I change it to line 125, it can simplify successfully. It may help.
Besides, onnx-simplifier has not much help to simplify onnx model with dynamic input. So, if you add --simplify, the result may has no much different.
Hope it helps, Thanks.

Well, it looks an upstream issue about PyTorch and onnxsim.


Is the default overlay meant to be for the Apple silicon?

Hello!
As in the title; it seems that older channels cannot be used with the current overlay, even the latest stable nixos channel nixos-22.05, as its version of the darwin group does not currently have the apple_sdk_11_0 pkgs, and therefore cannot use its callPackage function. Was this intended?
Thank you kindly for the information!

not intended, we can make it conditional I think, will you submit a PR?

@yihuang Sure, there it is ^, and thanks for clarifying. :)

@shadowrylander The fallback has been merged, if you're good with that, I think this can be closed. :)

It works! Sorry for the delay; was testing other things and forgot! 😅 Thanks for the quick fix!


[Request] ESP32-S3 compatibility

Hi!
Will you update this library to be compatible with ESP32-S3?

ESP32-S3 does not support the full bluetooth stack.
So A2DP is not possible!


[test] Restrict xfail in test/Serialization/load-target-normalization.swift to asserts builds

It was failing because of an assertion, so unexpectedly passing on no_asserts builds, e.g. here

@swift-ci please smoke test


imagecontentsourcepolicy has no shortname

Not sure I'm in the right repository, sorry if I'm wrong.
This is so boring to type "oc get imagecontentsourcepolicy" tens times a day, could be so much better to have a shortname like "oc get icsp"

Waiting for the other PR to be merged
/remove-lifecycle stale

/lifecycle frozen

/lifecycle frozen