[Announcement] The Kestrel package/namespace has been renamed to Microsoft.AspNet.Server.Kestrel

Discussions for https://github.com/aspnet/Announcements/issues/53

That namespace looks awesome. :)  I have been impressed with the organization and namespaces I have seen so far. :+1:
Quick question from a newb: is "Kestrel" also the same as references to "K" that have been used throughout the history of this project?  Is there a link/backstory behind this for the curious?

"Project K" was the old code name for ASP.NET 5 as a whole. The k command was what is now dnx.
The fact that Kestrel happens to start K is a happy coincidence as far as I know. @lodejard or @davidfowl probably know whether or not this was intentional.

We like birds

awesome! Use of "Kerstel" is limited to local development or it would be used in production in future?

@NeelBhatt the goal is both.

I've noticed that --config option to store settings in another file is no longer supported.
like
Server = Microsoft.AspNet.Server.Kestrel
Server.Urls = http://<IP_ADDRESS>:5000
"Microsoft.AspNet.Server.Kestrel --config hosting_local.ini"

@developer1998  --config is still supported, but the file format was changed to json.  If you don't specify the --config option RC1 will look in hosting.json by default.

@Tratcher thanks, do you have a link to schema to see what is supported, or give me a sample... Thanks

I've figured out the JSON
{
    "server": "Microsoft.AspNet.Server.Kestrel",
    "server.urls": "http://<IP_ADDRESS>:5000"
}

FYI: https://github.com/aspnet/Hosting/issues/453

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.


ROI add operation doesnt work

The version I installed with pip is ok to use ROI add
But the codes I download from github doesn't work
When I draw a roi and add it it doesn't work

Thanks a lot for the feedback @q671383789 . This bug is fixed by the PR #151 .


An error ocurred while starting the kernel

Description
What steps will reproduce the problem?

An error ocurred while starting the kernel
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/main.py", line 23, in
start.main()
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/start.py", line 289, in main
import_spydercustomize()
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/start.py", line 39, in import_spydercustomize
import spydercustomize
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/customize/spydercustomize.py", line 24, in
from IPython.core.getipython import get_ipython
File "/usr/lib/python3/dist‑packages/IPython/init.py", line 56, in
from .terminal.embed import embed
File "/usr/lib/python3/dist‑packages/IPython/terminal/embed.py", line 14, in
from IPython.core.magic import Magics, magics_class, line_magic
File "/usr/lib/python3/dist‑packages/IPython/core/magic.py", line 20, in
from . import oinspect
File "/usr/lib/python3/dist‑packages/IPython/core/oinspect.py", line 30, in
from IPython.lib.pretty import pretty
File "/usr/lib/python3/dist‑packages/IPython/lib/pretty.py", line 82, in
import datetime
File "/home/pawan/my py pro/datetime.py", line 10, in
from datetime import datetime
ImportError: cannot import name 'datetime' from partially initialized module 'datetime' (most likely due to a circular import) (/home/pawan/my py pro/datetime.py)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist‑packages/apport_python_hook.py", line 72, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist‑packages/apport/init.py", line 5, in
from apport.report import Report
File "/usr/lib/python3/dist‑packages/apport/report.py", line 21, in
from urllib.request import urlopen
File "/usr/lib/python3.8/urllib/request.py", line 88, in
import http.client
File "/usr/lib/python3.8/http/client.py", line 71, in
import email.parser
File "/usr/lib/python3.8/email/parser.py", line 12, in
from email.feedparser import FeedParser, BytesFeedParser
File "/usr/lib/python3.8/email/feedparser.py", line 27, in
from email._policybase import compat32
File "/usr/lib/python3.8/email/_policybase.py", line 9, in
from email.utils import _has_surrogates
File "/usr/lib/python3.8/email/utils.py", line 30, in
import datetime
File "/home/pawan/my py pro/datetime.py", line 10, in
from datetime import datetime
ImportError: cannot import name 'datetime' from partially initialized module 'datetime' (most likely due to a circular import) (/home/pawan/my py pro/datetime.py)
Original exception was:
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/main.py", line 23, in
start.main()
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/start.py", line 289, in main
import_spydercustomize()
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/console/start.py", line 39, in import_spydercustomize
import spydercustomize
File "/home/pawan/.local/lib/python3.8/site‑packages/spyder_kernels/customize/spydercustomize.py", line 24, in
from IPython.core.getipython import get_ipython
File "/usr/lib/python3/dist‑packages/IPython/init.py", line 56, in
from .terminal.embed import embed
File "/usr/lib/python3/dist‑packages/IPython/terminal/embed.py", line 14, in
from IPython.core.magic import Magics, magics_class, line_magic
File "/usr/lib/python3/dist‑packages/IPython/core/magic.py", line 20, in
from . import oinspect
File "/usr/lib/python3/dist‑packages/IPython/core/oinspect.py", line 30, in
from IPython.lib.pretty import pretty
File "/usr/lib/python3/dist‑packages/IPython/lib/pretty.py", line 82, in
import datetime
File "/home/pawan/my py pro/datetime.py", line 10, in
from datetime import datetime
ImportError: cannot import name 'datetime' from partially initialized module 'datetime' (most likely due to a circular import) (/home/pawan/my py pro/datetime.py)
Versions

Spyder version: 4.1.5
Python version: 3.8.2
Qt version: 5.12.9
PyQt5 version: 5.12.3
Operating System: Linux 5.4.0-48-generic

Dependencies

# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.3.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.13.0 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
keyring                        :  None (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.7.0 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.6.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.5.1 (OK)
pygments >=2.0                 :  2.3.1 (OK)
pylint >=1.0                   :  2.4.4 (OK)
pyls >=0.34.0;<1.0.0           :  0.35.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  1.0.1 (OK)
qtconsole >=4.6.0              :  4.6.0 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
sphinx >=0.6.6                 :  1.8.5 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
xdg >=0.26                     :  0.26 (OK)
zmq >=17                       :  18.1.1 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  None (OK)
numpy >=1.7                    :  None (OK)
pandas >=0.13.1                :  None (OK)
scipy >=0.17.0                 :  None (OK)
sympy >=0.7.3                  :  None (OK)

Hey @git-pawan-tripathi, thanks for reporting. I hope you realized that the problem was this file:
/home/pawan/my py pro/datetime.py

Once you remove or rename it, your problem will be fixed.

Hey @git-pawan-tripathi, thanks for reporting. I hope you realized that the problem was this file:
/home/pawan/my py pro/datetime.py

Once you remove or rename it, your problem will be fixed.

Yes sir, it's is fixed .thanks for reply


Internationalization support

🚀 Feature
Support internationalization.
Have you read the Contributing Guidelines on issues?
Yes
Motivation
Because it's mentioned in the introduction, I assumed V2 would already have support for internationalization. From deeper inspection it appears I was wrong and it's still lacking.
Pitch
Documentation sites are often available in multiple locales. A prominent example is MDN, where docs are located at <base-url>/<locale>/<path> and the end-user can switch between the different languages a document is available in using a control on the page:

I see there's some complicated brainstorming going on at https://github.com/facebook/docusaurus/issues/3317 about translation services. All our organization needs right now is a way to map doc content paths to languages, like on MDN, and this is a deal breaker forcing us not to use Docusaurus for our public docs for now.

Closing since implementation seems to be coming in #3325

Yes, the first part is handled, working on the 2nd part right now ;)


Add Log Expression

Builds on top of dead PR #46 to add log expressions to macros, and addresses PR comments
Fixes #45

This change is

Please also squash some of your git history to tidy it up a bit :pray:


Dimension Mismatch between Sparse_prompt_embedding and output_tokens

I am trying to train SAM for Camouflage Object Detection Task. So for a batch size other than 1, I am getting a dimension mismatch error. When I adjust it to match it with the image_embeddings and dense_prompt_embeddings then it gives mismatch with the output_tokens when I pass it through the sam.mask_decoder (which is internal in the SAM Model) and when I adjust it for output_tokens then it gives mismatch with the image_embeddings and dense_prompt_embeddings. And I cannot think of any solution to this problem
The batch size is 2
Shape of image_embeddings: torch.Size([2, 256, 64, 64])
Shape of dense_prompt_embeddings: torch.Size([2, 256, 64, 64])
Shape of sparse_prompt_embeddings: torch.Size([2, 2, 256])
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 256 but got size 2 for tensor number 1 in the list.

Hello, @Tanishq-9001!  Have you found a way to solve your problem?


Fixed #34619 -- Ensured FilteredSelectMultiple elements were associated with their labels.

Trac ticket number

ticket-34619
Branch description
Added aria labels to elements in the admin:auth_group_add view
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense, mentions the ticket number, and ends with a period.
[x] I have checked the "Has patch" ticket flag in the Trac system.
[x] I have added or updated relevant tests.

@sarahboyce thanks for looking at my PR again, it seems you're the only one. I've revised the approach to pointing existing labels to their elements. Should I change the tests as well?

Thanks for the changes @sarahboyce. I've changed the links to buttons and fixed the plus add icon. If there are no more issues,  should we start working on some tests?

@django/accessibility please also feel free to take a look and offer suggestions

Okay, I think the admin site looks nice now. @sarahboyce could you do a review of this?

I did spot one thing that doesn't seem quite right to me. It seems there are two help texts for this type of field. One that tells you how to use the widget, and one how to choose multiple options. Ideally, both of these should be (if screen readers support this - I didn't really check). Per the spec we can set this to a list of IDs: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby#values
So it would probably be good to give both these help texts a unique ID and associate them both.
I'm also unsure if we should use the word "clicking" as this doesn't really apply for screen reader users that are probably also keyboard users. Perhaps they know what this means though, as it's used quite widely. I don't think there is really a need to change this now, just to keep in mind.

I did spot one thing that doesn't seem quite right to me. It seems there are two help texts for this type of field. One that tells you how to use the widget, and one how to choose multiple options. Ideally, both of these should be (if screen readers support this - I didn't really check). Per the spec we can set this to a list of IDs: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-describedby#values

I think this is a symptom of a different problem which is admin forms ignores the widget use_fieldset attribute
This doesn't just impact RelatedFieldWidgetWrapper but also all other widgets which should use a fieldset and a legend like SelectDateWidget
As a very rough proof of concept, we can probably add in support for this:
diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py
index d28a382814..3d8a31db30 100644
--- a/django/contrib/admin/helpers.py
+++ b/django/contrib/admin/helpers.py
@@ -173,6 +173,7 @@ class AdminField:
         self.is_first = is_first  # Whether this field is first on the line
         self.is_checkbox = isinstance(self.field.field.widget, forms.CheckboxInput)
         self.is_readonly = False
+        self.is_fieldset = self.field.field.widget.use_fieldset

     def label_tag(self):
         classes = []
@@ -185,12 +186,14 @@ class AdminField:
         if not self.is_first:
             classes.append("inline")
         attrs = {"class": " ".join(classes)} if classes else {}
+        tag = "legend" if self.is_fieldset else None
         # checkboxes should not have a label suffix as the checkbox appears
         # to the left of the label.
         return self.field.label_tag(
             contents=mark_safe(contents),
             attrs=attrs,
             label_suffix="" if self.is_checkbox else None,
+            tag=tag,
         )

     def errors(self):
diff --git a/django/contrib/admin/templates/admin/includes/fieldset.html b/django/contrib/admin/templates/admin/includes/fieldset.html
index 9c9b31965a..9cd8cc6a68 100644
--- a/django/contrib/admin/templates/admin/includes/fieldset.html
+++ b/django/contrib/admin/templates/admin/includes/fieldset.html
@@ -12,6 +12,7 @@
             {% if line.fields|length == 1 %}{{ line.errors }}{% else %}
{% endif %}
             {% for field in line %}

+                    {% if field.is_fieldset %}<fieldset{% if field.field.help_text %} aria-describedby="{{ field.field.id_for_label }}_helptext"{% endif %}>{% endif %}
                     {% if not line.fields|length == 1 and not field.is_readonly %}{{ field.errors }}{% endif %}

                             {% if field.is_checkbox %}
@@ -30,6 +31,7 @@

{{ field.field.help_text|safe }}

                     {% endif %}
+                    {% if field.is_fieldset %}</fieldset>{% endif %}

             {% endfor %}
             {% if not line.fields|length == 1 %}
{% endif %}
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py
index 74004a7ba7..0e49266c06 100644
--- a/django/contrib/admin/widgets.py
+++ b/django/contrib/admin/widgets.py
@@ -250,6 +250,7 @@ class RelatedFieldWidgetWrapper(forms.Widget):
     """

     template_name = "admin/widgets/related_widget_wrapper.html"
+    use_fieldset = True

     def __init__(

I say "rough" as the styling needs adjusting, tests etc

In short, this widget has multiple inputs and so technically should be a fieldset with an appropriate aria-describedby attribute for the field help text and the label should be a legend.

Though to be honest I am not sure if it falls in the scope of this PR.

I think it deserves it's own ticket as it's not specific to this widget

@sarahboyce Thanks, I agree. Everything else looks fine as far as I could tell, so I'm happy 👍🏻

I'm also unsure if we should use the word "clicking" as this doesn't really apply for screen reader users that are probably also keyboard users. Perhaps they know what this means though, as it's used quite widely. I don't think there is really a need to change this now, just to keep in mind.

I am not strongly attached to the helptext, we can update these :+1:


CF-1337: Custom GitHub Action for Jira notifications

Squash & merge preferred ;)

@mariuskiessling are you concern solved? If yes please confirm, we should move forward.


Documentation error: LocaleTestRule works together with ActivityScenarioConfigurator.ForActivity(), contrary to what is stated in the KDOC

Describe the bug
Documentation error
It does not work with ActivityScenarioForActivityRule, but it works with ActivityScenarioConfigurator.ForActivity(), as stated in the README.md

Fix in 1.2.2


Issues with casting and delay

Hi,
At this moment I am testing a Google Nest Hub for casting some dashboards.
Unfortunately, the streams doesn’t show anything except a black screen with a red banner with the text ‘Error with media stream’ for a few seconds.
With a browser such as Edge on Windows the stream is working with the default HA cards but with a delay of 2 seconds. The ‘old’ webRTC Camera integration doesn’t have this delay.
Home Assistant 2022.8.7
Supervisor 2022.08.3
Operating System 8.5
Frontend 20220802.0 - latest
go2RTC
Current version: 0.1-alpha.11

Hi,
At this moment I am testing a Google Nest Hub for casting some dashboards.
Unfortunately, the streams doesn’t show anything except a black screen with a red banner with the text ‘Error with media stream’ for a few seconds.
With a browser such as Edge on Windows the stream is working with the default HA cards but with a delay of 2 seconds. The ‘old’ webRTC Camera integration doesn’t have this delay.
Home Assistant 2022.8.7 Supervisor 2022.08.3 Operating System 8.5 Frontend 20220802.0 - latest
go2RTC Current version: 0.1-alpha.11

I think the default card is not using the addon. Hoe can I check if the addon is in use by a card? It’s not so clear for me since there is no custom card.

Camera setting "Camera View":

auto - snapshots every 10 seconds
live - WebRTC if you have RTSPtoWebRTC integration installed

Hi @AlexxIT,
Thank you! I didn't install the RTSPtoWebRTC first.
After installing it, it's working fine without any delay.
I've returned the Google Nest Hub since it's very slow, I'll buy something else.


leekwire.com feed issue

article links for https://leekwire.com/v//feed are getting messed up - i think this might be a feed format issue, but previous feed reader didn't cause this
here's an example...
<image>
<title>RSS LEEKWire - Uncensored Video Host</title>
<url>https://leekwire.com/v/videos/userPhoto/logo.png</url>
<link>https://leekwire.com/v/</link>
<width>144</width>
<height>40</height>
<description>YouPHPTube versione rss</description>
</image>

    <item>
<title>STRATEGY of TENSION (2019) Full Documentary</title>
<description>blah blah</description>
<link> https://leekwire.com/v/v/5550</link>
<pubDate>Sat, 18 May 2019 02:31:54 -0400</pubDate>
<guid>https://leekwire.com/v/v/5550</guid>
    </item>

that <image> block is supposed to be inside the <item> block, no?
the S-RSS link for the article ends up as...
https://leekwire.com/%20https://leekwire.com/v/v/5550

AFAIK that Image tag fits there properly and old Firefox' feed preview displays it next to the feed title so I assume this part is right
As I can see these links contain space as a first character for some reason, trimming them should do it. While I'm at it I'll trim every field to be sure nothing else breaks, though in most cases it would only cause display issues


[5.1] [SE-0258] Fix crash with implicitly-initialized backing storage.

Fixes SR-10830 / rdar://problem/51443591

@swift-ci please test and merge


Cache not working when using Heroku

I've built some simple GET webservice using PHP that return some JSON. I've tested on my local and cache is working perfectly fine. But when I deploy to Heroku, the cache simple doesn't work.
I made few tests, and the server is returning perfectly fine all the cache headers:
Heroku Headers response got from AFNetworking:
"Cache-Control" = "public, max-age=86400";
Connection = "keep-alive";
"Content-Type" = "application/json";
Date = "Sat, 20 Jun 2015 05:10:20 GMT";
Server = "Apache/2.4.10 (Unix)";
"Transfer-Encoding" = Identity;
Via = "1.1 vegur";
"X-Powered-By" = "PHP/5.6.10";

Local server headers from AFNetworking:
"Cache-Control" = "public, max-age=86400";
Connection = "Keep-Alive";
"Content-Length" = 1711;
"Content-Type" = "application/json";
Date = "Sat, 20 Jun 2015 05:11:39 GMT";
"Keep-Alive" = "timeout=5, max=98";
Server = "Apache/2.4.10 (Unix) OpenSSL/1.0.1j PHP/5.6.3 mod_perl/2.0.8-dev Perl/v5.16.3";
"X-Powered-By" = "PHP/5.6.3";

Also, NSCachedURLResponse always return nill from my Heroku URL.
Does anyone have any ideia about this?
Btw: Using iOS 8.3 SDK.

I seems that works sometimes on iOS 7.1 devices. I'm not sure why and when it happens. But never works on iOS 8.x

Caching is definitely finicky across different versions of iOS. AFNetworking using the built in caching mechanisms of NSURLSession and NSURLConnection, and does nothing different by default. You have the ability to override the behavior by default.
It might be best to take this on to StackOverflow, as there is nothing with AFNetworking here that is affecting it.
:beers:


Migrate all Reactive modules model into Application/ReactiveModules node

required for configuration consistency and discoverability

We will try to answer all questions that do not require research within 24hr.
To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.

❇ Exclusive-Services
❤ Bronze Sponsor
❤ Sponsor
❤ Backer
Installation
ShowStopper
Nuget
Contribution
BreakingChange
ReproSample
Deployment
must-have

This case is prioritized.

Issue is deprioritized as no Assignee found and scheduled for auto-close if no activity in the next 60 days. Thanks a lot for your contribution.

Closing issue for age. Feel free to reopen it at any time.
.Thank you for your contribution.


[FEAT] display Pool

Is your feature request related to a problem? Please describe.
Given a bpmn input source,  display the bpm pool and elements which belong to it.
Describe the solution you'd like
Manage all pools declared in the bpmn input source
Describe alternatives you've considered
N/A
Additional context
The final shape rendering of the pool  won't be done as part of this issue and will be managed later

If there is no lane in the process, we need to add the pool as the parent of the flowNodes !!


Screen Ruler showing behind applications, visible only from desktop

Microsoft PowerToys version
0.75.1
Installation method
PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
Screen ruler, System tray interaction
Steps to reproduce

Click the powertoys icon in system tray
Select the screen ruler icon from the shortcuts menu which is now open.
Screen ruler will now only display behind applications. Using shortcut key (Win+Shift+M) shows screen ruler in front of applications.

✔ Expected Behavior
The on screen ruler bar (defaulted to top of screen) is visible in front of all applications.
❌ Actual Behavior
Screen ruler bar only displays behind applications. Using shortcut key (Win+Shift+M) shows screen ruler in front of applications.
Other Software
No response

The Screen ruler bar also appears behind the active application when launching from Powertoys Run.
Interestingly the bar appears on top of other other windows until the focus is shifted to them.


Would you consider including options spreads in the notebook to make this an even better resource?

What kind of option spreads were you interested in?
Davis Edwards

On Jul 19, 2020, at 2:04 AM, Apurv Shah<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hey David,
In my current project, we have implementing the basic bearish and bullish puts and calls spreads. We are also in the process of implementing straddles and strangles, box and butterfly and calendar spreads and expand it even further. I thought that that would be an excellent addition to this amazing project of yours.

We have also made an attempt to make it a full stack project by building a react app. We have an API up and running on a flask app as of now. You can have a look at https://github.com/ChiragJhawar/ProjectReward. I would love to add on to your projects by implementing the spreads algorithm and the payoff graphs. We believe that your code is very useful and important to us specially to determine the price of options.

@dedwards25


Browser support list

Come up with a list of browsers we’re trying to support and add required polyfills.

@esetnik great question – I'm thinking that it might be worthwhile to focus on 1) most popular, and 2) default mobile browsers for this, since one primary goal is mobile accessibility. Meaning, w.r.t. your question on the other issue, I think we could avoid IE11 support. It's below Opera right now in estimated usage for 2019, and not a default browser on Android or Apple phones. Thoughts?

My only consideration as to whether or not to support ie11 is that the demographic of our users are most likely not the earliest adopters of technology based on financial constraints and the age of the population so I would expect we will see more usage of older browsers than "most popular" lists report. Even at my work we see >3% usage on ie11 and we choose not to support it.
I think eliminating ie11 official support is probably something we can get away with, but we should probably polyfill for ie11 anyways and attempt to at least get the page to load even if the UX isn't great due to usage of newer browser features like flexbox and grid that don't work well on ie11.

For now can we use something like https://polyfill.io/v3/polyfill.min.js?features=default to cover us without adding a lot of bloat to the bundle?

we can also use https://www.gatsbyjs.org/docs/browser-support/

Also should add linting config https://github.com/amilajack/eslint-plugin-compat #19


Customizable Ctrl+R keybinding

Category

[x] Key bindings

OS

[x] Linux

Shell

[x] bash

Hi! As much as I adore fzf's ctrl+R behaviour, sometimes it gives too many results and requires more effort to get to the needed command than the original ctrl+R of bash.
I ended up binding fzf's ctrl+R to ctrl+F instead (by modifying key-bindings.bash) and use original ctrl+R and fzf's search interchangeably now.
What do you think,

is it possible to make this keybinding easily configurable
or maybe
just setting it to ctrl+F by default can be discussed?

A few things you might want to consider first:

Sorting is by default disabled. You can enable it by pressing CTRL-R again.
If you want to enable sorting by default, set export FZF_CTRL_R_OPTS='--sort'
Prefix each search term with ' (single-quote) to turn it into an exact (not fuzzy) term.
Or you can even add --exact to FZF_CTRL_R_OPTS as well. Then prefixing a term with ' will make it fuzzy term.

Although fzf does not provide an option to customize the key, you can access the definition with bind -s, so you can use the information to customize the binding.
[ -f ~/.fzf.bash ] && source ~/.fzf.bash

bind "$(bind -s | grep fzf_history | sed 's/r/f/')"
bind '"\C-r": reverse-search-history'

Thanks!
It seems --exact does work pretty much like default ctrl+r behaviour.

One more thing though.
Bash's reverse-search-history immediately invokes the command on enter.
Fzf copies the command to the command line instead.
Is it configurable too?

I think it is worth putting such a snippet (with binding customization) in the readme.

There's an open issue for that: #477. I have a solution for zsh (enter / ctrl-x), but not for bash. If you think you can hack it up let me know.

Agreed. I'll add a page to the wiki when I get some time.


CMO (Chande Momentum Oscillator) calculation

Original CMO explanation from Chande's book:

To Reproduce
df = ta.DataFrame({'close': [101.0313, 101.125, 101.9687, 102.7813, 103, 102.9687, 103.0625, 102.9375, 102.7188, 102.75, 102.9063, 102.9687 ]})
df['cmo'] = ta.cmo(close = ff['close'], length=10)
df

Expected behavior
This should generate THREE cmo values - for the last three rows of data, equivalent to what is in the book.
Instead, we get:
close   | cmo
101.031 | NaN
101.125 | NaN
101.969 | NaN
102.781 | NaN
103.000 | NaN
102.969 | NaN
103.062 | NaN
102.938 | NaN
102.719 | NaN
102.750 | NaN
102.906 | 60.091
102.969 | 61.928

Remark: TA-LIB also mis-calculates CMO and returns different results from the book (and different results from Pandas-TA)...

Hello @mihakralj,
Thanks for sharing the relevant pages of CMO! 😎  This is really helpful. I do want a pure implementation of CMO but the default will always be TA Lib. Hopefully someone can help and submit a PR as a conditional option.
KJ

According to my reproduction, your CMO implementation returns different data than TA-LIB's CMO... And neither of them matches what Chanda wrote in his book...

According to my reproduction, your CMO implementation returns different data than TA-LIB's CMO... And neither of them matches what Chanda wrote in his book...

@twopirllc @mihakralj You're right that ta.cmo returns wrong values, even though that you have made mistake by trying to reproduce the results from the book. You didn't include the first input "101.031" at time 0. That's why you have got 2 results instead of 3. I'll try to make push request regarding ta.cmo() function this week.

@OskarBienko,
Cool!  Looking forward to it. 😎
Thanks,
KJ

@mihakralj, @OskarBienko
Ok. Finally had a bit of time research this.
Pandas TA is also correct when:

When talib=False
The close values in the table in the book begins with two 101.0313's, not one.

Example
import pandas as pd
import pandas_ta as ta

df = pd.DataFrame({"close": [101.0313, 101.0313, 101.125, 101.9687, 102.7813, 103, 102.9687, 103.0625, 102.9375, 102.7188, 102.75, 102.9063, 102.9687 ]})
df.ta.cmo(length=10, talib=False, append=True)
df

Output

This is true for both the main and development branches.

Unless I am mistaken, there is no difference between book CMO and Pandas TA (talib=False) CMO?
KJ

@mihakralj, @OskarBienko
Since there has been no response to confirm or deny the results of my prior results and comment, I'll be closing this issue. Reopen if you have evidence to the contrary.
Kind Regards

@twopirllc @mihakralj
Hello there, sorry for delay. I confirm that with the talib=False argument you obtain the right results. However, by default this argument is set to True, so you obtain wrong results by default. Thus, I recommend changing the default argument talib=True into talib=False. How does that sound?


Cursor got stuck when select->paste

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
When I selected some characters and try to replace by typing or paste new text, the cursor is not showing as expected and sometimes it replace the text after the cursor.
Steps to Reproduce

Type some random words.
Type some random words on next line.
Copy the word from first line.
Select some words on second line.
Paste words from clipbook.

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Reproduces how often: [What percentage of the time does it reproduce?]
Sometimes.
Versions
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
OS: macOS Sierra 10.12.6
atom --version

Atom    : 1.19.2
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

apm --version

apm  1.18.4
npm  3.10.10
node 6.9.5 x64
python 2.7.10
git 2.6.4

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.

I'm not sure it's same problem or should I create another issue, but it has similar situation when I selected and typed.
Here it is:

I just [select] and typed 123456789 but it only shows 456789.

Thank you for the report :bowing_man:
I believe both of these are because you are selecting with the mouse and still holding down the mouse button while typing or copying the new text. Can you please verify if this is the case?
We have a duplicate issue if you are holding down the mouse button. /cc: https://github.com/atom/atom/issues/15217

No, I'm not holding my mouse button, because I'm using trackpad actually.
Maybe the events are different between mouse and trackpad?

Sorry my repro is to hold the mouse button because I don't use a trackpad. I should have been more clear. The user in that issue is also on macOS with a trackpad. He had some setting that caused this for him because of event delay /cc: https://github.com/atom/atom/issues/15217#issuecomment-321528582
Seems there is some difference with a trackpad because of event delays.

After reading the comment on #15217, I'm pretty sure it's the same issue on me, thanks.
I think it's a bug obviously because it's not happening when I use previous versions such as 1.18.x.

@ethancfchen Thank you for verifying this :bowing_man: I will bring it up with the team. Can you please comment in the issue with the gifs you posted in this issue?

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/15217. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


[Bug] [datax task and python task] The command used by datax task and python task is not a location

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
datax默认是/opt/soft/python/bin/python2.7
python 默认是/opt/soft/python
因为依赖同意${PYTHON_HOME}
导致这个两个节点同时需要时，只有一个能成功运行。
What you expected to happen
ee
How to reproduce
eee
Anything else
No response
Version
3.1.x
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

You can set ${DATAX_HOME} to run the datax task.

不是${DATAX_HOME} ，比如现在默认PYTHON_HOME=/opt/soft/python。当运行python任务时,会将/opt/soft/python当命令来运行脚本。当运行datax任务是，/opt/soft/python/bin/python2.7当成命令 运行json脚本。这时/opt/soft下的python不可能既是命令也是目录。

Just like this
/tmp/dolphinscheduler/exec/process/vbn/9816683486976/9817453555328_2/30/42/30_42_node.sh: line 1: /home/foobar/py_env/bin/python2.7: No such file or directory
[INFO] 2023-06-07 17:24:42.565 +0800 - FINALIZE_SESSION

When running the datax task, the python binary file will be modified to python2.7, even PYTHON_HOME is python3

最后怎么处理的？

最后如何处理解决该类问题啊？


.github: add missing export in variable

The VOLUME environment variable is required so that it's available to child processes.
Fixes: 49efc885b93e (".github: run scripts from trusted source code")

/test


Fix git push error for protected CLA branch

The pull request is created from master636918977757152273 to master to fix git push error for protected CLA branch

@Taojunshen : Thanks for your contribution! The author, @, has been notified to review your proposed change.


solved #478 #647 #649

📥 Pull Request
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue number)
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

kindly consider as level3

sir please merge this

sir please consider this as level 3 and  i have made changes


Encoding chokes on π and ∞ characters

Running encode.py over the current AllSets.json throws errors of the form

UnicodeEncodeError: 'ascii' codec can't encode character [code] in position 27: ordinal not in range(128)

It appears to be hung up on the values "π" and "∞" found in Unstable cards "Just Desserts" and "Infinity Elemental", respectively.

I added Unstable to the list of ignored sets as a workaround. The other Un-Sets are already there. Also had to add HasCon 2017 for mtgjson 4.4.2, since it has ®.
But, in the long run, unicode support would be better.

I made a pull request you can find here: https://github.com/billzorn/mtgencode/pull/29  it fixes this problem : )


Fix improper shader names

Summary of the PR
Remove capitals from the shader filenames, so that the program can find them.
Related issues, Discord discussions, or proposals
Closes #155
Further Comments
Should non-code resources be moved to a subdirectory? I think it would make things a lot cleaner, especially when we get into things like model-loading where there'll be lots of extra files.

Should non-code resources be moved to a subdirectory? I think it would make things a lot cleaner, especially when we get into things like model-loading where there'll be lots of extra files.

Nah, or at least not out of each individual project. I want each tutorial to be its own isolated tutorial so you can clearly see where it builds on the previous tutorial.


Closing bracket uncovered in try-catch statement when exception is re-thrown in catch

The closing bracket is showing up as uncovered when I re-throw an exception from a catch statement. Is this expected behavior? The closing bracket is technically unreachable code, and it prevents me from reaching 100% coverage on the method when coverlet says it is uncovered by a test.
try
{
...
}
catch (Exception)
{
    // handle exception (retry/log/etc.)

    throw;
} // ** uncovered line **

Can you produce a simple repro?
Coverlet results are based on generated pdb(where we don't have control), to understand if it's a bug we would need a repro.

This only seems to be an issue when there is an await inside the catch block. Here is a repro:
https://github.com/brpratt/CoverletAwaitThrowInsideCatch
From the generated code, it seems there is a branch while deciding how to re-throw the exception. In the linked example, maybe this is the offender?
Exception ex = <>s__1 as Exception;
if (ex == null)
{
    throw <>s__1;
}
ExceptionDispatchInfo.Capture(ex).Throw();

Thank's for repro...I'll let you know what I discover.

did some check...and seem that result is expected for both cases sync and async, I mean if exceptio throw code rewind and so we cannot reach end of a method.
The only "incorrect" thing that I see is the branches on emtpy catch and on throw that is autogenerated, I don't know if I we can remove those noise without risk to remove "non false positive" I'll check what we can do.
TL;DR; The issue with this edge cases is that the pattern of compilers could change in future and if we're to much "aggressive" on "not so clear pattern recognition" we risk to intruduce bug where a branch/line is reported wronlgy covered.

Compiler generated code is below, at the moment I don't know how to recognize and filter branches out without remove other possible real branches.
Move issue level from bug to enhancement, I mean branches are real there is a mismatch between c# and IL.
// Coverlet.Core.Samples.Tests.CatchThrow
// Token: 0x06000021 RID: 33 RVA: 0x00002FF4 File Offset: 0x000011F4
public async Task<int> ParseAsync(string str)
{
	int num = 0;
	object obj2;
	try
	{
		return int.Parse(str);
	}
	catch (object obj)
	{
		obj2 = obj;
		num = 1;
	}
	int num2 = num;
	if (num2 == 1)
	{
		await Task.Delay(0);
		Exception ex = obj2 as Exception;
		if (ex == null)
		{
			throw obj2;
		}
		ExceptionDispatchInfo.Capture(ex).Throw();
	}
	obj2 = null;
	int result;
	return result;
}

I am experiencing the same problem. Doesn't seem too much like an edge case because it happens in all cases where there is a return statement before closing brackets and some opening brackets.
Why is line 20 not considered for code coverage at all but line 21 is?
Obviously there are other coverage issues in this picture, but that discrepancy jumps out at me the most.

@NoahApplebaum some questions, version of coverlet?Debug or release?Can you specify your "test" or better provide full repro(tests) with method above.

Updated my coverlet.msbuild and it works! Thanks @MarcoRossignoli


Native ad failed to load with error code -5001 and message: MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info

MAX Module Version
5.4.0
React Native Version
0.71.8
Device/Platform Info
iOS
Current Behavior
Native banner ads have problem after the last update. Ad load fails with message "Native ad failed to load with error code -5001 and message: MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info". I use admob mediation with open bidding. It loads first and maybe second ad too but after it, if I don't reopen the app, native ad loading always fails. I have reinstalled node modules, pods, updated SKAdNetworks but nothing helps. Testing in physical device.
Expected Behavior
No response
How to Reproduce
I don't know how you can reproduce. Maybe I have an issue in my banner but what?
Additional Info
No response

Could you enable and send over our SDKs' verbose logs?

After upgrading to 5.5.0 in has been fixed.

@alhiwatan Now I caught this issue on ios, logs:
2023-05-30 01:36:38.027681+0400 appname[4259:407567] [expo] 🟢 Creating JS object for module 'ExpoStoreReview'
2023-05-30 01:36:38.313143+0400 appname[4259:407244] [AppLovinSdk] [AppLovinMAX] Loading a native ad for Ad Unit ID: ...
2023-05-30 01:36:38.313388+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader initWithAdUnitIdentifier: ******** sdk: [ALSdk: key=, enabled=1, isFirstSession=0]]
2023-05-30 01:36:38.313521+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] Created new MANativeAdLoader (<MANativeAdLoaderController: 0x281376940>)
2023-05-30 01:36:38.313913+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader setNativeAdDelegate: <AppLovinMAXNativeAdView: 0x16512f5f0; frame = (16 16; 350 96); alpha = 0; layer = <CALayer: 0x28238c460>>]
2023-05-30 01:36:38.314001+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] Setting native ad delegate: <AppLovinMAXNativeAdView: 0x16512f5f0; frame = (16 16; 350 96); alpha = 0; layer = <CALayer: 0x28238c460>>
2023-05-30 01:36:38.314071+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader setRevenueDelegate: <AppLovinMAXNativeAdView: 0x16512f5f0; frame = (16 16; 350 96); alpha = 0; layer = <CALayer: 0x28238c460>>]
2023-05-30 01:36:38.314500+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] Setting revenue delegate: <AppLovinMAXNativeAdView: 0x16512f5f0; frame = (16 16; 350 96); alpha = 0; layer = <CALayer: 0x28238c460>>
2023-05-30 01:36:38.314564+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader setPlacement: (null)]
2023-05-30 01:36:38.314608+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader adUnitIdentifier]
2023-05-30 01:36:38.314649+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader setCustomData: (null)]
2023-05-30 01:36:38.314690+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader adUnitIdentifier]
2023-05-30 01:36:38.314730+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdLoader loadAdIntoAdView: (null)]
2023-05-30 01:36:38.314780+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] Loading native ad for '' into '(null)' and notifying <MANativeAdLoaderDelegateWrapper: 0x2820554f0>...
2023-05-30 01:36:38.317641+0400 appname[4259:407984] [AppLovinSdk] DEBUG [ALTaskCollectSignals] Running signal collection for [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALGoogleMediationAdapter;
"max_signal_length" = 32768;
name = "DV360_BIDDING";
"run_on_ui_thread" = 1;
scode = "2!v3!1396023.1685396158823!F_ywp4Ub9lbgrMXzAo0HcYfKNg1NF4mQaHaFpWBQAk4*";
"server_parameters" =     {
bidder = dv360;
};
}] on the main thread
2023-05-30 01:36:38.317652+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALTaskCollectSignals] Running signal collection for [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALLinkedInDSPAdapter;
"max_signal_length" = 32768;
name = "LINKEDIN_DSP";
scode = "2!v3!1396023.1685396158823!OM2lc6S086IkdUJCsEiB9h8C_EaoGidFPUl6L7Sxq7g*";
"server_parameters" =     {
"sdk_key" = 15550566edbcae560bac1ccdaa33392eeb80cd9b1d4797a52fdccfc3ea114d15;
2023-05-30 01:36:38.317755+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterManager] Loaded DV360_BIDDING
};
}] on the main thread
2023-05-30 01:36:38.318923+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterManager] Loaded DV360_BIDDING
2023-05-30 01:36:38.319020+0400 appname[4259:407244] [AppLovinSdk] INFO [ALMediationAdapterInitializationManager] Initializing adapter [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALGoogleMediationAdapter;
"max_signal_length" = 32768;
name = "DV360_BIDDING";
"run_on_ui_thread" = 1;
scode = "2!v3!1396023.1685396158823!F_ywp4Ub9lbgrMXzAo0HcYfKNg1NF4mQaHaFpWBQAk4*";
"server_parameters" =     {
bidder = dv360;
};
}]
2023-05-30 01:36:38.319106+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running initialize...
2023-05-30 01:36:38.319156+0400 appname[4259:407244] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Initializing Google SDK...
2023-05-30 01:36:38.319214+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished initialize
2023-05-30 01:36:38.319554+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationService] Collecting signal for adapter: DV360_BIDDING
2023-05-30 01:36:38.319615+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running collect_signal...
2023-05-30 01:36:38.319962+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] Setting timeout 3.000000sec. for [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALGoogleMediationAdapter;
"max_signal_length" = 32768;
name = "DV360_BIDDING";
"run_on_ui_thread" = 1;
scode = "2!v3!1396023.1685396158823!F_ywp4Ub9lbgrMXzAo0HcYfKNg1NF4mQaHaFpWBQAk4*";
"server_parameters" =     {
bidder = dv360;
};
}]
2023-05-30 01:36:38.320142+0400 appname[4259:407244] [AppLovinSdk] INFO [ALTaskTimeoutSignalCollection:(null)] Scheduling (ALTaskTimeoutSignalCollection:(null)) on queue [Mediation Timeout] in 3...
2023-05-30 01:36:38.320200+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished collect_signal
2023-05-30 01:36:38.384685+0400 appname[4259:407244] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Signal collection successful
2023-05-30 01:36:38.384787+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running destroy...
2023-05-30 01:36:38.384814+0400 appname[4259:407244] [AppLovinSdk] INFO [ALMediationAdapterWrapper] Marking ALGoogleMediationAdapter as disabled due to: destroy
2023-05-30 01:36:38.384846+0400 appname[4259:407244] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Destroy called for adapter <ALGoogleMediationAdapter: 0x281863000>
2023-05-30 01:36:38.384870+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished destroy
2023-05-30 01:36:38.384971+0400 appname[4259:407556] [AppLovinSdk] DEBUG [ALTaskCollectSignals] Collected signal from [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALLinkedInDSPAdapter;
"max_signal_length" = 32768;
name = "LINKEDIN_DSP";
scode = "2!v3!1396023.1685396158823!OM2lc6S086IkdUJCsEiB9h8C_EaoGidFPUl6L7Sxq7g*";
"server_parameters" =     {
"sdk_key" = 15550566edbcae560bac1ccdaa33392eeb80cd9b1d4797a52fdccfc3ea114d15;
};
}]
2023-05-30 01:36:38.385026+0400 appname[4259:407556] [AppLovinSdk] DEBUG [ALTaskCollectSignals] Collected signal from [ALSignalProviderSpec: specObject={
"adapter_timeout_ms" = 3000;
class = ALGoogleMediationAdapter;
"max_signal_length" = 32768;
name = "DV360_BIDDING";
"run_on_ui_thread" = 1;
scode = "2!v3!1396023.1685396158823!F_ywp4Ub9lbgrMXzAo0HcYfKNg1NF4mQaHaFpWBQAk4*";
"server_parameters" =     {
bidder = dv360;
};
}]
2023-05-30 01:36:38.385614+0400 appname[4259:407556] [AppLovinSdk] DEBUG [ALTaskFetchMediatedAd:] Fetching next ad for ad unit id: ******** and format: [MAAdFormat: NATIVE]
2023-05-30 01:36:38.394242+0400 appname[4259:407556] [AppLovinSdk] DEBUG [ALConnectionManager] Sending POST request to id=#31459914757388934 "https://ms4.applovin.com/1.0/mediate?p=1:578efbfe648d76493fe2f12e21ac789d317ac6d1:7KgSTfvJT76NrfTUMUZNdAiTl9tgZuTIJBxRq_a-AIKNrV626dvWE3:pJJDEXIC1vqKispkjTbJgY_TR-YnEklkTO9H3ZqAAw-JFbEad3syxDcwkEPeGtHn"...
2023-05-30 01:36:38.671189+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALConnectionManager] 200 received from #31459914757388934 "ms4.applovin.com/1.0/mediate"
2023-05-30 01:36:38.675319+0400 appname[4259:407983] [AppLovinSdk] INFO [ALConnectionManager] Successful POST returned 200 in 0.277000 s over wifi to #31459914757388934 "ms4.applovin.com/1.0/mediate"
2023-05-30 01:36:38.685865+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALTaskProcessMediationWaterfall:NATIVE:] Starting waterfall for 1 ad(s)...
2023-05-30 01:36:38.686767+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALTaskProcessMediationWaterfall:NATIVE:] Loading ad 1 of 1: ADMOB_NATIVE_NETWORK
2023-05-30 01:36:38.687225+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationService] Loading [ALMediatedNativeAd thirdPartyAdPlacementIdentifier=ca-app-pub-4217347467183594/8921456174, adUnitIdentifier=, format=NATIVE, networkName=Google AdMob Native]...
2023-05-30 01:36:38.687753+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALCommunicatorService] Sending "max_ad_events" message: {
"ad_format" = NATIVE;
id = 20af7ad19734f89c7047a0a7bef71df37ae51363;
"max_ad_unit_id" = ;
"network_name" = "ADMOB_NATIVE_NETWORK";
"network_placement" = "ca-app-pub-4217347467183594/8921456174";
"third_party_ad_placement_id" = "ca-app-pub-4217347467183594/8921456174";
type = "WILL_LOAD";
}
2023-05-30 01:36:38.688404+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterManager] Loaded ADMOB_NATIVE_NETWORK
2023-05-30 01:36:38.688923+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterManager] Loaded ADMOB_NATIVE_NETWORK
2023-05-30 01:36:38.689244+0400 appname[4259:407983] [AppLovinSdk] INFO [ALMediationAdapterInitializationManager] Initializing adapter [ALMediatedNativeAd thirdPartyAdPlacementIdentifier=ca-app-pub-4217347467183594/8921456174, adUnitIdentifier=, format=NATIVE, networkName=Google AdMob Native]
2023-05-30 01:36:38.689535+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running initialize...
2023-05-30 01:36:38.689711+0400 appname[4259:407983] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Initializing Google SDK...
2023-05-30 01:36:38.689916+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished initialize
2023-05-30 01:36:38.690362+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running load_ad...
2023-05-30 01:36:38.690555+0400 appname[4259:407983] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Loading native ad: ca-app-pub-4217347467183594/8921456174...
2023-05-30 01:36:38.691126+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] Setting timeout 20.000000sec. for [ALMediatedNativeAd thirdPartyAdPlacementIdentifier=ca-app-pub-4217347467183594/8921456174, adUnitIdentifier=, format=NATIVE, networkName=Google AdMob Native]
2023-05-30 01:36:38.691827+0400 appname[4259:407983] [AppLovinSdk] INFO [ALTaskTimeoutMediatedAd:] Scheduling (ALTaskTimeoutMediatedAd:) on queue [Mediation Timeout] in 20...
2023-05-30 01:36:38.692246+0400 appname[4259:407983] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished load_ad
2023-05-30 01:36:38.702978+0400 appname[4259:407244]  To get test ads on this device, set:
Objective-C
GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"035e85e7654fc53f6663aef51cc39b03" ];
Swift
GADMobileAds.sharedInstance().requestConfiguration.testDeviceIdentifiers = [ "035e85e7654fc53f6663aef51cc39b03" ]
2023-05-30 01:36:38.703974+0400 appname[4259:407244]  Note that test device identifiers may be reset when uninstalling and reinstalling the application.
2023-05-30 01:36:39.614103+0400 appname[4259:407244] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Native ad (ca-app-pub-4217347467183594/8921456174) failed to load with error: [MAError: code=204, message=No Fill, mediatedNetworkErrorCode=1, mediatedNetworkErrorMessage=Request Error: No ad to show.]
2023-05-30 01:36:39.614213+0400 appname[4259:407244] [AppLovinSdk] ERROR [ALMediationAdapterWrapper] ALGoogleMediationAdapter: native ad failed to load with code: [MAError: code=204, message=No Fill, mediatedNetworkErrorCode=1, mediatedNetworkErrorMessage=Request Error: No ad to show.]
2023-05-30 01:36:39.614408+0400 appname[4259:407244] [AppLovinSdk] INFO [ALMediationService] Destroying [ALMediatedNativeAd thirdPartyAdPlacementIdentifier=ca-app-pub-4217347467183594/8921456174, adUnitIdentifier=, format=NATIVE, networkName=Google AdMob Native]
2023-05-30 01:36:39.614473+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: running destroy...
2023-05-30 01:36:39.614520+0400 appname[4259:407244] [AppLovinSdk] INFO [ALMediationAdapterWrapper] Marking ALGoogleMediationAdapter as disabled due to: destroy
2023-05-30 01:36:39.614580+0400 appname[4259:407244] [AppLovinSdk] INFO [ALGoogleMediationAdapter] Destroy called for adapter <ALGoogleMediationAdapter: 0x2817f9980>
2023-05-30 01:36:39.614629+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdapterWrapper] ALGoogleMediationAdapter: finished destroy
2023-05-30 01:36:39.614708+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALTaskProcessMediationWaterfall:NATIVE:] Ad failed to load in 0.93s with error: [MAError: code=204, message=No Fill, mediatedNetworkErrorCode=1, mediatedNetworkErrorMessage=Request Error: No ad to show.]
2023-05-30 01:36:39.615417+0400 appname[4259:407244] [AppLovinSdk] INFO [ALTaskProcessMediationWaterfall:NATIVE:*******] Waterfall failed in 0.93s with error: [MAError: code=-5001, message=MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info., mediatedNetworkErrorCode=-1, mediatedNetworkErrorMessage=]
2023-05-30 01:36:39.615527+0400 appname[4259:407244] [AppLovinSdk] DEBUG [ALMediationAdLoadManager] Incrementing ad load failures count for ad unit ID: ********
2023-05-30 01:36:39.615685+0400 appname[4259:407244] [AppLovinSdk] DEBUG [MANativeAdLoader] -[MANativeAdDelegate didFailToLoadNativeAdForAdUnitIdentifier: ******** withError: [MAError: code=-5001, message=MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info., mediatedNetworkErrorCode=-1, mediatedNetworkErrorMessage=]], delegate: <AppLovinMAXNativeAdView: 0x16512f5f0; frame = (16 16; 350 96); alpha = 0; layer = <CALayer: 0x28238c460>>
2023-05-30 01:36:39.616244+0400 appname[4259:407244] [AppLovinSdk] [AppLovinMAX] Failed to load native ad for Ad Unit ID ******** with error: [MAError: code=-5001, message=MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info., mediatedNetworkErrorCode=-1, mediatedNetworkErrorMessage=]
2023-05-30 01:36:39.619708+0400 appname[4259:407567] [javascript] Native ad failed to load with error code -5001 and message: MAX returned eligible ads from mediated networks, but all ads failed to load. Inspect -[MAError waterfall] for more info.

As stated in the log, you have a no fill error.    There are no guarantees that live ads will fill your device.    Can you try MAX Test Mode?

@alhiwatan Test mode requires to add device with idfa and can i get it on iphone? I couldn't find a way to get it. Also, I don't think it is ad fill problem, it worked fine until I changed to admob bidding ads. It was happening on Android too, until last update. Now happens only on iphone. Checked on many different devices belonging different person and it's all the same.
P.S. When i was using admob fully, cpm was 1$ and after moving to your library and setup admob as mediation network, my cmp now in max panel is 0.4. So, how does this library work? Why isn't admob making the same income as it was without your library? Note that my user count increased, but money dropped. Can this be related to your lib? And fact is that it is. Now this fill error on ios kills me.

Closing this issue due to inactivity for 180 days.   Please feel free to reopen if the issue still persists.


Logo with title in V layout

For marketing / display use, it would be beneficial to have a logo with a title in a stacked/vertical layout, similar to the existing horizontal layout with same color options (svg, minimally).

Abandoned project...


Support MLHub packages

Description
Introduce mlhub folder to expose examples of using recommenders through mlhub.
Motivation and Context
MLHub.ai provides another avenue to demonstrate the functionality of the recommenders utilities. MLHub packages are targeted to run out of the box demos on Ubuntu (e.g., DSVM on Azure) within 5 minutes. If the user is interested they are then directed on to the notebooks for more detailed engagement.
Related Issues
The current code packages the SAR quick start as a demo. Expecting to add RBM and NCF examples with the February release of the recommenders utilities.
Demonstration
This will install the package from github:gjwgit/recommenders
$ pip3 install mlhub
$ ml configure
$ ml install sar
$ ml configure sar
$ ml demo sar

TODO:

[ ] Discuss with the team to change notebook folder to examples so mlhub can live there
[ ] We will use mlhub mostly through command line (it was designed that way)
[ ] Some function from this PR, like the movie visualization, can go directly to reco_utils folder
[ ] We will do a README in examples/mlhub to explain what is mlhub and how to use it
[ ] We need to create a folder in the blob to store the mlhub models


Roll engine a02a94e0182c..9fde6e0d8c33 (1 commits)

https://github.com/flutter/engine/compare/a02a94e0182c...9fde6e0d8c33
git log a02a94e0182c..9fde6e0d8c33 --no-merges --oneline
9fde6e0d8 Roll src/third_party/skia a81c2be75adc..1f0fb09d5e35 (13 commits) (flutter/engine#6110)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Trybots failed. These were the failed builds: https://flutter-dashboard.appspot.com/build.html

Commit queue failed; closing this roll.


[Solution] React Native Tests won't work with react-query

Note: This is not a bug with react-query, but I wanted to leave this here if anyone is experiencing the same problems.
Problem
When trying to write react-native tests for Components which use react-query, jest seemingly gets stuck without printing anything.
Solution
Put this inside your jest setup file:
global.window = global

What's happening?
As stated in the docs, react-query's hooks only return initialData (or null) if it's running on the server. If the hook mounts, it will re-execute, the queries will be cached and data will be fetched.
How does this affect React Native? react-query is checking if it's running on the server with typeof window === 'undefined'. window is defined in the React Native runtime, but it's undefined in the react-native jest preset!
This causes the useEffect hooks of react-query to get stuck in an infinite loop, because it correctly assumes that when useEffect is executed, it is running inside the client. But window is still undefined, thus react-query thinks it's still on the server, and the whole thing repeats forever.
Setting window to something other than undefined will resolve this. Since window seems to have the same attributes as global, I just cross-referenced them, to reduce the difference between both environments.
I opened a PR inside react-native (https://github.com/facebook/react-native/pull/28067).

This is indeed very strange. Let's keep an eye on that issue in react-native, but going to close this for triage now. Thanks for finding a solution/workaround!

This absolutely needs to be documented somewhere (maybe under the "React Native" section in the docs?), I just spent a whole day trying to find a solution to Jest refusing to run a particular test (the only one using react-query) until I luckily stumbled upon this issue.

My fix just got merged into https://github.com/facebook/react-native/, so hopefully once it's released, it will ✨ just work ✨


Persistent file saving

I was wondering if there was a way to make file writes persistent across refreshes. At the moment all my save/load code works correctly, but only until I refresh my browser; afterwards everything is lost. Maybe using cookies?
Could be that it's outside of the scope of love.js though, I'm definitely not an expert on this.

Ah, completely my bad, I was using io.open instead of the LOVE filesystem functions for writing. Thanks, apologies!


🔠 TUI

TUI
Adds tui with trogon
Usage
ci tui

CTRL+R: Close & Run

Codecov Report

Merging #31 (261aa75) into main (e8d316d) will decrease coverage by 0.52%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   79.23%   78.72%   -0.52%
==========================================
  Files           8        8
  Lines         183      188       +5
==========================================
+ Hits          145      148       +3
- Misses         38       40       +2

Impacted Files
Coverage Δ

sonyci/cli.py
59.01% <80.00%> (+1.87%)
:arrow_up:

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


cmd/internal/moddeps: TestAllDependencies fails when GOROOT involves symlinks

What version of Go are you using (go version)?

$ go version
go version devel go1.17-6c1c055d1e Wed May 19 15:20:08 2021 +0000 linux/amd64

What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/a/.cache/go-build"
GOENV="/home/a/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/a/n/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/a/n/go/"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR="/dev/shm/"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="devel go1.17-6c1c055d1e Wed May 19 15:20:08 2021 +0000"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/usr/local/go/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/dev/shm/go-build777046897=/tmp/go-build -gno-record-gcc-switches"

What did you do?
./all.bash

What did you expect to see?
PASS
What did you see instead?
--- FAIL: TestAllDependencies (0.00s)
    moddeps_test.go:49: findGorootModules didn't find the well-known module "std"
--- FAIL: TestDependencyVersionsConsistent (0.00s)
    moddeps_test.go:321: findGorootModules didn't find the well-known module "std"
FAIL
FAIL	cmd/internal/moddeps	0.008s

It seems that this was introduced by https://go-review.googlesource.com/c/go/+/320991 6c1c055d1ea417d050503efe92c1eead0da68cef
cc @dmitshur

Thanks for reporting. That seems unexpected. This did not happen when I ran the test locally (darwin/amd64) nor on builders.
Is there any information you can add about how you checked out the GOROOT directory to help reproduce this?

The output of go env GOROOT is actually a symlink on my system. This is the only thing I can think of that could affect this.

Are you able to try with commit dade83a588feace6af9882500f2282c8a83f54d0, and its parent, and see if it reproduces with those?

Can you describe your symlink setup in more detail? That would be very helpful in reproducing this and understanding the issue.
I expect either the test can be improved to handle this situation, if that's feasible, or otherwise detect it and skip running.

Both dade83a588feace6af9882500f2282c8a83f54d0 and it's parent fef5a153961fc314499f3c3208e001593f95a8e6 pass all the tests.

I have a symlink called /usr/local/go that points to the directory /usr/local/go-tip which is a normal git checkout of the go repository. The env variable PATH contains /usr/local/go/bin. The output of go env GOROOT is /usr/local/go the GOROOT environment variable is not set.

Thanks, that's very helpful. I'm able to reproduce the error with that symlink setup, although only with ./all.bash and not go test cmd/internal/moddeps.
I'll work on a fix.
I also want to confirm whether this type of symlink setup is something we should improve our support for, or if it shouldn't be supported. If it should be supported, we should add a builder or test to provide coverage to help catch similar regressions.

I understand this test never worked in the past, it just passed because it found no modules. This is because filepath.Walk doesn't follow symlinks.
I'm currently leaning towards fixing this by detecting when filepath.EvalSymlinks(runtime.GOROOT()) doesn't match runtime.GOROOT(), rather than trying to make these tests support symlink setups, unless it turns out very easy and reliable to get it to work. It's not a goal for moddeps tests to be able to run everywhere, they just need to run somewhere, so it's not worth it to add complexity to them.

I also want to confirm whether this type of symlink setup is something we support, or if it shouldn't be supported.

It should be ok for GOROOT proper to be a symlink.
(I don't think we want to support constructing a GOROOT by symlinking in little parts like src or api, though.)

Based on previous experience, I suspect that the problem is here:
https://github.com/golang/go/blob/6c1c055d1ea417d050503efe92c1eead0da68cef/src/cmd/internal/moddeps/moddeps_test.go#L438-L439
When we set cmd.Dir to a different directory, we may also need to update the PWD environment variable to point to our desired name for that directory. Otherwise, os.Getwd may detect that the two don't match and fall back to a system-canonical name for the directory, when then might not syntactically match GOROOT.

(We may need to make the same change in the other places where we set the Dir field of a command, too.)

golang.org/x/tools/internal/gocommand handles this stuff; I wonder if it would be worth cutting down its dependencies and using it in the stdlib tests.

@aarzilli, was this fixed by CL 304449?

No, the original report is against a commit that happened after dade83a588feace6af9882500f2282c8a83f54d0

PS. I actually took a look at fixing this a few days ago. It turns out that there are many places in that set of tests that assumes runtime.GOROOT() is not a symlink.

Dup #64375?

This does seem to be the same problem, thanks. Closing.


[experiment] error on comparisons where the only comparable type is undefined

For more detailed information, checkout https://github.com/typescript-eslint/typescript-eslint/issues/5602
As far as I know, there are no typescript issues related. I'm curious to witness how it performs on actual code in real-world scenarios. Would anyone be available to help me by executing the "top800" test suite?

@typescript-bot user test this
@typescript-bot test top800
@typescript-bot run dt

Very surprisingly few hits, but I think they are all good hits.
I feel like we've had a PR like this before (did I send one?), but I can't remember where it is.

https://github.com/supabase/supabase/blob/e5b647878d3c9defba4d61db12bd3752b41bd31a/apps/studio/components/layouts/AccountLayout/AccountLayout.types.ts#L8 🙂

Probably not, but:
@typescript-bot perf test this faster

It seems super weird to have a carve-out to say that you're allowed to write string | 0 === boolean | 0 but not string | undefined === boolean | undefined, especially when string === undefined is allowed.
A possible alternate strategy is to only remove missingType from both operands (and do so unconditionally rather than requiring two rounds like we have here). This would make this code error:
type Str = {
  foo?: string;
}
type Num = {
  bar?: number;
}

function fn(x: Str, y: Num) {
  return x.foo === y.bar;
}

which feels like the motivating case and easier to justify in terms of behavioral inconsistency.

A possible alternate strategy is to only remove missingType from both operands (and do so unconditionally rather than requiring two rounds like we have here). This would make this code error:

missingType won't work if exactOptionalPropertyTypes is off?


Add CE Docker builds to Windows pipeline

Adds new workflows in another PR to build pipelines

/assign bkatyl


Check what complex:$n matches

It didn't match 1+9i, 2i or 2. It only seems to match i.

It matches a complex number token, not a tree representing a sum of real and imaginary parts.


Fixed moving tooltips

closes #246
Summary:

Added dragTooltipId to the store.
The selectedTooltip to drag is passed to the draggable component.
If both dragTooltipId and dragId are same only that tooltip is dragged around.

screencast:
https://user-images.githubusercontent.com/104566246/215486883-65c0b60e-f883-46e1-be58-4b70047aaa3e.mp4

The tooltipId  is changed to have the contextKey and  visahoi-tooltip text, visahoi-tooltip-${contextkey}-${uuid()}


Update Extension

close #191

 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.


Build getting triggered on old comments

I enabled "Only use trigger phrase for build triggering" and everything works fine. But one thing I would like to suggest is that if I comment the trigger phrase, the build runs but if I close the PR and reopen it again then again the build runs because my trigger phrase is already there in the comment. So, it would be better that a comment should trigger the build only once and not every time a PR is reopened.

Here I commented the trigger 5 mins ago and the build ran. But after sometime I closed and reopened the PR and the build ran again which is not expected as the build should be triggered on a fresh comment and not on the past comments.

Not really. The comment is there telling jenkins to test. Why should it matter if you close the PR in the meantime?
I am going to close this for now, if you have objections against it, please comment, I am happy to discuss this further.

We've experienced this as well. Reopening a PR that was previously tested re-triggers the build. The problem for us is that the new build has parameter ghprbCommentBody equal to the last comment in the PR and we parse the trigger comment for build inputs. Since the last comment is not necessarily the trigger comment, our build errors out because the comment is not what our build is expecting. If there could be an option added like "re-trigger on reopen" that would solve this for us.


Warning with server side rendering

Hi community,
Version
2.0.0
Actual Behavior
I use styled-components on Meteor project with server side rendering, and i've React warning in browser console :
Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
 (client) t<a class="sc-ifAKCX D
 (server) t {
  const sheet = new ServerStyleSheet();
  const html = renderToString(sheet.collectStyles(
    <Routes location={sink.request.url} />
  ));
  const helmet = Helmet.renderStatic();
  sink.appendToHead(helmet.title.toString());
  sink.appendToHead(helmet.meta.toString());
  sink.renderIntoElementById('app', html);
  sink.appendToHead(sheet.getStyleTags());
});

And my babelrc :
{
	"presets": [
		"stage-1"
	],
 	"plugins": [
  		"transform-decorators-legacy",
  		"transform-class-properties",
  		["styled-components", {
      		"ssr": true
    	}]
  	]
}

I think the problem is because i use styled-components on server AND on client. Maybe i need to configure my module for use only on server side ?
Thank you community !

So you're already using the babel plugin which generates consistent component IDs:
["styled-components", { "ssr": true }]
But from what I can see here is that you're simply outoutting different class names here:
 (client)  t<a class="sc-ifAKCX D
 (server) t<a class="activ

This output is cut off so you'll have to investigate this yourself, but you can see here that on the server the a tag starts rendering a class called activ... and on the client I'm only seeing the styled-components class: sc-ifAKCX...
Also make sure to upgrade to the latest version. 2.0.0 is seriously outdated and we fixed a couple of bugs since then. https://github.com/styled-components/styled-components/releases
I'm also not sure whether you're actually using the plugin correctly. The className that I can see on your client snippet there suspiciously looks like an auto generated one from the runtime.

Hi @philpl
Thank for your response.
I've upgrade my styled-components package on latest version :) But same problem. Maybe, the problem is my routes ? I've my routes on server-side AND client side, styled-components is executed on server and client ? :
My server side routes :
const Routes = (props) => {
  const context = {};
  return (
    <StaticRouter location={props.location} context={context}>
      <Switch>
        <AppLayout exact path='/' component={Home} />
        <AppLayout exact path="/blog" component={Blog} title={Trans.page.blog.title} />
        <AppLayout path='/blog/:slug' component={Article} title={Trans.page.blog.title} subtitle />
      </Switch>
    </StaticRouter>
  );
}

And my client side routes :
const Routes = () => {
  return (
    <BrowserRouter>
      <Switch>
        <AppLayout exact path='/' component={Home} />
        <AppLayout exact path="/blog" component={Blog} title={Trans.page.blog.title} />
        <AppLayout path='/blog/:slug' component={Article} title={Trans.page.blog.title} subtitle />
      </Switch>
    </BrowserRouter>
  );
}

Maybe, the problem is here ?

@stephane-r I think that's unlikely. The most plausible explanation is that the babel plugin is not taking effect on either the server code, client code, or even both.
Can you paste a snippet of the transpiled server code and client code of one of the affected styled components?
Also the original code so I can make sure that it's not a simple usage mistake.
I'm afraid without seeing any part of your app, it's impossible to pin down :/

@philpl I've find the difference server side/client side : i add new item on my navigation (item Admin, display after client load with Meteor) :
server side :
data-reactid="16">contactcontactadmin<a class="active

Ok, make sure to only add a difference after the initial render :)


Can't Push Source after just Adding/Changing the Description to a Custom Object

Summary
Can't Push with sfdx force:source:push --json --loglevel fatal --forceoverwrite after just Adding/Changing the Description of a Custom Object.
Steps To Reproduce:

Create a Custom Object in the UI without Description and add a Mater Detail field related to Asset (Standard Object).
Create a sfdx project and add this Custom Object to it. Make sure the Metadata contains the attribute <externalSharingModel>ControlledByParent</externalSharingModel>. Also, ensure the <description></description> attribute is not present.
Create a Scratch Org(SO) and deploy this package with sfdx force:source:push --json --loglevel fatal --forceoverwrite. Ensure it deployed without any errors.
Open the Custom Object metadata and just add <description>Object Description</description>
Try to push the source again to the same SO and you will see the following error message, which does not relate to just adding/changing the description:

If I remove the <externalSharingModel>ControlledByParent</externalSharingModel>from the metadata it can't be deployed again, and the same error is thrown.
Expected result
Since I just added the description to the xml/metadata file, the object should deploy without any error messages.
Actual result
SFDX throws an error message that is not related to adding/changing the description in the object metadata file.
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):

OS and version: Windows 10

@AllanOricil in order to successfully push the object, you need to also make a change to the field as described here: https://help.salesforce.com/articleView?id=000334872&type=1&mode=1
I admit that this isn't ideal behavior but we're constrained by the API here. We could do some things in the CLI to work around this use case but that would amount to a feature request. For now I'm going to close this since it's working as documented. But feel free to open a new issue and mark it as a feature request


HTTP trace logs are not working with a mysql client

Description:

$Subject

Steps to reproduce:
Ballerina service :
import ballerina/http;
import ballerinax/mysql;
import ballerinax/mysql.driver as _;

configurable string host = "localhost";
configurable int port = 3306;
configurable string user = "root";
configurable string password = "root@123";
configurable string database = "ballerina";

mysql:Client db = check new (host, user, password, database, port);

listener http:Listener serverEP = new(8080);

service on serverEP {

    resource function 'default [string ...path]() returns string {
        return "HelloWorld";
    }
}

Run the service while enabling the tracelogs in the console :
bal run -- -Cballerina.http.traceLogConsole=true

Call the endpoint :
curl  -v http://localhost:8080/albums

The trace logs are not printed. When removing the mysql client the trace logs are printed.
Affected Versions:
Ballerina SwanLake 2201.3.0

Issue reopened as the fixes need to be sent to 2201.3.x branches as well


update-report: check migration symlinks.

Check if HOMEBREW_CELLAR/old_name is a symlink. If so, it's already been migrated so can be skipped.

🎊

@DomT4 should be fixed now.

Looks like it. Thanks folks 🙇